View Single Post
Old 05-11-2010, 12:10 PM   #45
ackc
Junior Member
ackc began at the beginning.
 
Posts: 8
Karma: 12
Join Date: May 2010
Device: kobo
Quote:
Originally Posted by chalimac View Post
Ok. Thanks for testing it.

If you rename the epub to zip and open it with winrar o winzip you can see how the trick works. There are 2 key files inside the epub:

- style.css
- DroidSansFallback.ttf

If you open style.css with a text editor you can see it points to the font to use (DroidSansFallback.ttf) . This file can be more complex defining things like margins and line height... If you put this 2 files inside any epub and then zip it again you can display chinese text.

Now here I attach another epub with Chinese, Korean and Japanese in it. It uses the same method but the style.css is more complex, with more parameters such as line-spacing, indentation . Please tell me how it works and if it looks good (I don't have a Kobo).

http://ifile.it/he87awg
The CJK epub works beautifully as well. Thanks so much for your help!
ackc is offline   Reply With Quote