Thread: RTF, EPUB & LRF
View Single Post
Old 04-02-2009, 12:39 PM   #18
pepak
Guru
pepak has a spectacular aura aboutpepak has a spectacular aura aboutpepak has a spectacular aura aboutpepak has a spectacular aura aboutpepak has a spectacular aura aboutpepak has a spectacular aura aboutpepak has a spectacular aura aboutpepak has a spectacular aura aboutpepak has a spectacular aura aboutpepak has a spectacular aura aboutpepak has a spectacular aura about
 
Posts: 610
Karma: 4150
Join Date: Mar 2008
Device: Sony Reader PRS-T3, Kobo Libra H2O
Verified: If you properly define custom fonts, EPUB implementation on PRS-505 does render proper italics.



Code:
@font-face { font-family: "Times CE", serif; font-weight: normal; font-style: normal; font-variant: normal, small-caps; src: url(res:///Data/fonts/times.ttf); }
@font-face { font-family: "Times CE", serif; font-weight: bold; font-style: normal; font-variant: normal, small-caps; src: url(res:///Data/fonts/timesbd.ttf); }
@font-face { font-family: "Times CE", serif; font-weight: normal; font-style: italic; font-variant: normal, small-caps; src: url(res:///Data/fonts/timesi.ttf); }
@font-face { font-family: "Times CE", serif; font-weight: bold; font-style: italic; font-variant: normal, small-caps; src: url(res:///Data/fonts/timesbi.ttf); }

Last edited by pepak; 04-02-2009 at 12:42 PM.
pepak is offline   Reply With Quote