View Single Post
Old 05-07-2011, 12:41 AM   #13
cybmole
Wizard
cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.
 
Posts: 3,720
Karma: 1759970
Join Date: Sep 2010
Device: none
Quote:
Originally Posted by crutledge View Post
Has anyone written a "how to" for properly inserting fonts in sigil?
i see no user preferences to tweak. I would open a book wheich has a font set & copy the css from that . e.g. the book I am proofing just now has this:
.calibre {
display: block;
font-family: "Times New Roman", Times, serif;
font-size: 1em;
line-height: 1.2;
margin-bottom: 0;
margin-left: 5pt;
margin-right: 5pt;
margin-top: 0;
padding-left: 0;
padding-right: 0
}

the padding settings are superfluous, I guess.

now here's one from a book that presents with artifacts. the differences seem to be
1. no font specified.
2 font-size set

.calibre {
display: block;
font-size: 1em;
margin-bottom: 0;
margin-left: 5pt;
margin-right: 5pt;
margin-top: 0;
padding-left: 0;
padding-right: 0;
page-break-before: always
}

the font-size seem irrelevent in this latter example though - I see no difference in book view if I remove that line from CSS

it would be good to see documented a table of defaults. ie what does sigil use when no value is specified, for each of the above css lines ?
cybmole is offline   Reply With Quote