View Single Post
Old 02-27-2015, 12:51 PM   #754
barobach_so
Connoisseur
barobach_so knows what's going on.barobach_so knows what's going on.barobach_so knows what's going on.barobach_so knows what's going on.barobach_so knows what's going on.barobach_so knows what's going on.barobach_so knows what's going on.barobach_so knows what's going on.barobach_so knows what's going on.barobach_so knows what's going on.barobach_so knows what's going on.
 
Posts: 76
Karma: 25460
Join Date: Feb 2015
Device: kobo h2o
Quote:
Originally Posted by Doitsu View Post
AFAIK, KOReader uses K2pdfopt as the reflow engine, which treats PDF files like images and doesn't require character shaping.


Since sdcv is a command line program and the KOReader code only returns text, you can't use dictionaries with pictures in them.


You could convert the .bgl file to a .babylon (GLS) file with StarDict Editor, edit the .babylon file and finally compile it to a StarDict dictionary, however, character shaping and RTL handling isn't exactly a trivial matter.
hi
I have a txt glossary of en 2 persian dic that i reversed with arabshaping ( convert to srt then use arabshaping convert to txt )
but when I try to convert it to stardict format ( ifo ) in PyGlossary in ubuntu
it shows this error

usr/share/pyglossary/src/interface.py:88: DeprecationWarning: os.popen3 is deprecated. Use the subprocess module.
p3 = os.popen3('dictzip')
/usr/share/pyglossary/src/interface.py:98: DeprecationWarning: os.popen3 is deprecated. Use the subprocess module.
p3 = os.popen3("%s '%s.dict'"%(dictzipCmd,filename))

and the output file ( have a size e.g. 26 mb ) doesnt show in koreader

any idea ?
barobach_so is offline   Reply With Quote