View Single Post
Old 08-24-2014, 07:56 AM   #1559
chrox
Zealot
chrox ought to be getting tired of karma fortunes by now.chrox ought to be getting tired of karma fortunes by now.chrox ought to be getting tired of karma fortunes by now.chrox ought to be getting tired of karma fortunes by now.chrox ought to be getting tired of karma fortunes by now.chrox ought to be getting tired of karma fortunes by now.chrox ought to be getting tired of karma fortunes by now.chrox ought to be getting tired of karma fortunes by now.chrox ought to be getting tired of karma fortunes by now.chrox ought to be getting tired of karma fortunes by now.chrox ought to be getting tired of karma fortunes by now.
 
Posts: 144
Karma: 405567
Join Date: Nov 2012
Device: K3 KPW PB840
Quote:
Originally Posted by ywq111 View Post
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.
chrox is offline   Reply With Quote