View Single Post
Old 12-27-2009, 04:38 AM   #63
ericshliao
Guru
ericshliao will become famous soon enoughericshliao will become famous soon enoughericshliao will become famous soon enoughericshliao will become famous soon enoughericshliao will become famous soon enoughericshliao will become famous soon enough
 
Posts: 976
Karma: 687
Join Date: Nov 2007
Device: Dell X51v; iLiad v2
I guess the cause of the problem is non-English string in font-familiy property. If I select some other font (Chinese font with English font-family name), Atlantis can embed the font into epub.

This is the correct "style.css":
Code:
@font-face{font-family:"Wingdings";font-style:normal;font-weight:normal;src:url(fonts/WINGDING.TTF)}
@font-face{font-family:"iLiHei";font-style:normal;font-weight:normal;src:url(fonts/iLiHei090611.ttf)}
body{margin-left:5%;margin-right:5%;margin-top:5%;margin-bottom:5%}
p{text-indent:0.61in;margin-left:0;line-height:26pt;margin-right:0;margin-top:0;margin-bottom:15pt;font-family:iLiHei;font-size:200%}
.p0{text-indent:0;margin-left:0;line-height:1}
.p2{text-indent:0;margin-left:0;line-height:1;page-break-before:always}
.t0{font-family:Wingdings;font-size:1.27em}
.t1{font-size:1.27em}
.t2{font-family:Wingdings;font-size:1.09em}
.t3{font-size:1.09em}
.t6{font-size:1.09em}
.t7{font-size:1.27em}

Last edited by ericshliao; 12-27-2009 at 04:44 AM.
ericshliao is offline   Reply With Quote