View Single Post
Old 01-14-2012, 09:02 PM   #285
Phil_C
Addict
Phil_C has much to be proud ofPhil_C has much to be proud ofPhil_C has much to be proud ofPhil_C has much to be proud ofPhil_C has much to be proud ofPhil_C has much to be proud ofPhil_C has much to be proud ofPhil_C has much to be proud ofPhil_C has much to be proud ofPhil_C has much to be proud ofPhil_C has much to be proud of
 
Phil_C's Avatar
 
Posts: 234
Karma: 27924
Join Date: Oct 2009
Location: Chicago, IL USA
Device: Sony PRS-350; Kobo Clara HD; Kobo Clara 2E
@jackie_w

This for a PRS-350.
The Amasis fonts are in the proper folder on the Reader. Extra CSS is:

Code:
@font-face {
 font-family: AmasisMT;
 font-weight: normal;
 font-style: normal;
 src: url(res:///Data/fonts/Amasis-MT.ttf);
}
@font-face {
 font-family: AmasisMT;
 font-weight: bold;
 font-style: normal;
 src: url(res:///Data/fonts/Amasis-MT-Bold.ttf);
}
@font-face {
 font-family: AmasisMT;
 font-weight: normal;
 font-style: italic;
 src: url(res:///Data/fonts/Amasis-MT-Italic.ttf);
}
@font-face {
 font-family: AmasisMT;
 font-weight: bold;
 font-style: italic;
 src: url(res:///Data/fonts/Amasis-MT-Bold-Italic.ttf);
}
body {
 font-family: AmasisMT;
}
The only other things I use in Look & Feel are line height, base font size, and font size key. Those work fine.

Yes, the GeorgiaEInk15 is referenced only once in the html (zip) file.

I just found that I can use Search & Replace during the Calibre conversion to change that one instance of the font name. The book seems to look OK. I'll have to take a closer look. An added step that I'd like to eliminate, though.

(BTW, you got me on the right track in another recent thread regarding RegEx and TOCs. I since have expanded and refined the expressions to do even more. Thanks!)
Phil_C is offline   Reply With Quote