View Single Post
Old 03-16-2023, 08:10 PM   #1
tatagi
Connoisseur
tatagi began at the beginning.
 
Posts: 52
Karma: 10
Join Date: Oct 2022
Device: none
I never realized I could have system font referenced for epub!

I did a quick experiment yesterday just out of curiosity.

I replaced an embedded font with system one by specifying its full path

for example : open style.css and replace "src: url(../Fonts/nameofembeddedfont.ttf)" with "src: url(C:/Windows/Fonts/nameofsystemfont.ttf) for the font family you want to use and it will do the trick.

bear in mind that you have to use forward slash as path separator, like web address.

this is useful when you use an app or device that doesn't have an option to choose the default font. and you can even set different fonts for different parts of the document(like TNR for header, Arial for body etc)

you can install just any 3rd party fonts to your system and use it if the device's offered fonts don't meet your requirement.

if anyone knows about which font is used for which part in a more graphical way, please let me know.

Last edited by tatagi; 03-16-2023 at 08:15 PM.
tatagi is offline   Reply With Quote