Quote:
Originally Posted by ywq111
How to Use the font fallbacks ?
I want to display tibetan and chinese char together in epub page. I have put one tibet font file "himalaya.ttf" in ".kobo/koreader/fonts/tibetfont" path ,
and then edit the file ".kobo/koreader/frontend/ui/font.lua",
and set the fallbacks like this below:
fallbacks = {
[1] ="droid/DroidSansFallback.ttf",
[2] = "noto/NotoSans-Regular.ttf",
[3] = "droid/DroidSans.ttf",
[4] = "tibetfont/himalaya.ttf", },
but it can not to display tibetan char .
Can any one help me ?
|
This fallback is for the UI only, if there is no Tibeten translation of Koreader it will be of no use. EPUB document has a fallback font of "Droid Sans Fallback" which can display Chinese chars you only need to select "Tibetfont" on the "Choose font" menu entry. If it does not help, you may need to disable embedded style of your EPUB document.