View Single Post
Old 04-15-2011, 10:13 PM   #137
luyt
Member
luyt began at the beginning.
 
Posts: 10
Karma: 10
Join Date: Dec 2010
Device: Kindle 3
Quote:
Originally Posted by h1uke View Post
a simpler, and, probably, better alternative is to point the Program to the directory
where your system fonts reside. This can be accomplished by editing the goqt.sh script
sitting in a root directory of fbKindle/FBReader. Find the line
Code:
export QT_QWS_FONTDIR=`pwd`/qtKindle/lib/fonts
and replace it with
Code:
export QT_QWS_FONTDIR=/usr/java/lib/fonts
BTW, if we're discussing the goqt.sh ...
fbKindle/FBreader is capable of showing dialogs and menus in many native languages:
in goqt.sh find the line
Code:
./"$1" -qws
and replace it with
Code:
./"$1" -qws -lang <your_preferred_language_code>
langage code is a two-letter sequence representing the language.
Default is en which stands for English. Following interface languages are currently supported:
Code:
[root@kindle fbKindle]# ls share/FBReader/resources/
ar.xml  de.xml  es.xml  fr.xml  id.xml  lt.xml  ru.xml  uk.xml  zh.xml
cs.xml  en.xml  fi.xml  hu.xml  itxml  nl.xml  sv.xml  vi.xml
[root@kindle fbKindle]#
(uk stands for Ukrainian...)
this method for font by editing the goqt.sh script is great. For DX user, this solves the support of CJK (Chinese, Japanese and Korean) problem.
Thanks all.

BTW, is it possible one day the FbKindle support bookmark/annotation of epub reading?
luyt is offline   Reply With Quote