Thread: Font problem
View Single Post
Old 12-15-2017, 03:41 PM   #17
Pablo
Guru
Pablo ought to be getting tired of karma fortunes by now.Pablo ought to be getting tired of karma fortunes by now.Pablo ought to be getting tired of karma fortunes by now.Pablo ought to be getting tired of karma fortunes by now.Pablo ought to be getting tired of karma fortunes by now.Pablo ought to be getting tired of karma fortunes by now.Pablo ought to be getting tired of karma fortunes by now.Pablo ought to be getting tired of karma fortunes by now.Pablo ought to be getting tired of karma fortunes by now.Pablo ought to be getting tired of karma fortunes by now.Pablo ought to be getting tired of karma fortunes by now.
 
Pablo's Avatar
 
Posts: 973
Karma: 4999999
Join Date: Mar 2009
Location: Rosario, Argentina
Device: SONY PRS-T2, Kindle Paperwhite 11th gen
Quote:
Originally Posted by speaknut View Post
Yes. Thank you for your help sir. I had already downloaded, and I will read the book no matter what. But, did you do any changes in Style>font.css? I don't understand what do you mean by changing in body part? or, if you can give me the steps, I think I can follow up. for instance;

1. go to font folder, right click> add font> select the font you want to
embedded.
2. click on Plugin>Edit>CSSfromfonts and so on so forth...
Steps:

1. Create a blank epub in Sigil
2. Fonts, right click > Add existing files > ZawgyiOne.ttf
3. Styles, right click > Add blank Stylesheet (Style0001.css is created)
4. Edit Style0001.css as follows:

Code:
@font-face {
  font-family: "ZawgyiOne";
  font-weight: normal;
  font-style: normal;
  src: url(../Fonts/ZawgyiOne.ttf);
}

body {  font-family: "ZawgyiOne", serif; }
5. Text > Section0001.xhtml, right click > Link Stylesheets... > Select Style0001.css > Ok
6. Type some text inside <p> and </p> tags in Section0001.xhtml. I just copied and pasted some text in Burmese from a website.
Pablo is offline   Reply With Quote