View Single Post
Old 08-07-2010, 07:18 PM   #1
Sylver
Addict
Sylver began at the beginning.
 
Posts: 234
Karma: 40
Join Date: Apr 2010
Device: The Nook, iPad
How to increase the line space in CSS

Hi, I am converting txt files to epub for reading on the nook using Calibre. As I need to use my own fonts for the Chinese, I put the following script into the .css box to have it use my own fonts that I put on the sd card. Everything works well except the space between the lines is to small (literally each line is followed immediately by another line without any space), I changed the font size in the nook and the space between lines does not change at all. I am sure it's a simple edit on the script that follows, but have no idea how to set it, can someone help? many thanks.

@font-face {
font-family: "MSYaHei";
font-weight: normal;
font-style: normal;
src: url(res:///sdcard/font/msyh.ttf);
}
@font-face {
font-family: "MSYaHei";
font-weight: bold;
font-style: normal;
src: url(res:///sdcard/font/msyhbd.ttf);
}

body { font-family: "MSYaHei", serif;}
Sylver is offline   Reply With Quote