Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Readers > Kobo Reader

Notices

Reply
 
Thread Tools Search this Thread
Old 10-23-2022, 12:01 AM   #1
vinhattieu
Member
vinhattieu began at the beginning.
 
Posts: 10
Karma: 10
Join Date: Jul 2011
Device: Kindle Paperwhite, Kindle Voyage, Kobo Forma
Display Chinese and Vietnamese in epub file

Hi everyone,

I am having a problem with an epub which includes both Chinese and Vietnamese.

I can sideload fonts to display either Chinese or Vietnamese correctly, but I only find one font (Arial MS Unicode) that supports both Chinese and Vietnamese, and I hate reading in Arial because it's a sans serif.

Is there any way to use two separate fonts for two languages in the same epub file?

I guess that should be done in the epub file itself, i.e. adding some tag to each block of text to specify the font that should be used?

Thanks in advance for your help.
vinhattieu is offline   Reply With Quote
Old 10-23-2022, 04:58 PM   #2
Barty
doofus
Barty ought to be getting tired of karma fortunes by now.Barty ought to be getting tired of karma fortunes by now.Barty ought to be getting tired of karma fortunes by now.Barty ought to be getting tired of karma fortunes by now.Barty ought to be getting tired of karma fortunes by now.Barty ought to be getting tired of karma fortunes by now.Barty ought to be getting tired of karma fortunes by now.Barty ought to be getting tired of karma fortunes by now.Barty ought to be getting tired of karma fortunes by now.Barty ought to be getting tired of karma fortunes by now.Barty ought to be getting tired of karma fortunes by now.
 
Barty's Avatar
 
Posts: 2,548
Karma: 13089041
Join Date: Sep 2010
Device: Kobo Libra 2, Kindle Voyage
You have to tell the reader which font you want to be used for which. I don't know how you'd do that except by editing the markup

One possibility is you can embed a font that supports only Chinese and set that as default font for the book (this requires editing the book, obviously), and let the reader use the font you select in the reader UI as fall back font for Vietnamese. Or vice versa
Barty is offline   Reply With Quote
Advert
Old 10-23-2022, 08:45 PM   #3
vinhattieu
Member
vinhattieu began at the beginning.
 
Posts: 10
Karma: 10
Join Date: Jul 2011
Device: Kindle Paperwhite, Kindle Voyage, Kobo Forma
Quote:
Originally Posted by Barty View Post
You have to tell the reader which font you want to be used for which. I don't know how you'd do that except by editing the markup

One possibility is you can embed a font that supports only Chinese and set that as default font for the book (this requires editing the book, obviously), and let the reader use the font you select in the reader UI as fall back font for Vietnamese. Or vice versa
Thanks. That do sound complicated. For the Kindles I have been using, there is absolutely no problem with the same epub file. The Vietnamese is displayed properly with Bookerly, and the Chinese characters are also displayed using Kindle's default Chinese font.
vinhattieu is offline   Reply With Quote
Old 10-24-2022, 11:54 AM   #4
DNSB
Bibliophagist
DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.
 
DNSB's Avatar
 
Posts: 45,961
Karma: 168961900
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
One possible solution is to send the epub as a Kobo epub (either use the KoboTouchExtended driver to send kepub or use geek1011's kepubify to convert to epub before sending to your Kobo. This should allow your Kobo to search for missing glyphs though the font may have the same issue you are seeing with Arial MS Unicode.
DNSB is offline   Reply With Quote
Old 10-24-2022, 11:58 AM   #5
Barty
doofus
Barty ought to be getting tired of karma fortunes by now.Barty ought to be getting tired of karma fortunes by now.Barty ought to be getting tired of karma fortunes by now.Barty ought to be getting tired of karma fortunes by now.Barty ought to be getting tired of karma fortunes by now.Barty ought to be getting tired of karma fortunes by now.Barty ought to be getting tired of karma fortunes by now.Barty ought to be getting tired of karma fortunes by now.Barty ought to be getting tired of karma fortunes by now.Barty ought to be getting tired of karma fortunes by now.Barty ought to be getting tired of karma fortunes by now.
 
Barty's Avatar
 
Posts: 2,548
Karma: 13089041
Join Date: Sep 2010
Device: Kobo Libra 2, Kindle Voyage
Quote:
Originally Posted by vinhattieu View Post
Thanks. That do sound complicated. For the Kindles I have been using, there is absolutely no problem with the same epub file. The Vietnamese is displayed properly with Bookerly, and the Chinese characters are also displayed using Kindle's default Chinese font.
The Kobo doesn't do that? Use a font that supports Vietnamese (side load bookerly if you like) and let it use a fall back for Chinese
Barty is offline   Reply With Quote
Advert
Old 10-24-2022, 12:00 PM   #6
DNSB
Bibliophagist
DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.
 
DNSB's Avatar
 
Posts: 45,961
Karma: 168961900
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
Quote:
Originally Posted by Barty View Post
The Kobo doesn't do that? Use a font that supports Vietnamese (side load bookerly if you like) and let it use a fall back for Chinese
As mentioned, the webkit based renderer used to display kepubs will do that. The Adobe RMSDK renderer used to display epubs does not.
DNSB is offline   Reply With Quote
Old 10-25-2022, 12:09 AM   #7
agugu
Enthusiast
agugu began at the beginning.
 
agugu's Avatar
 
Posts: 36
Karma: 10
Join Date: Nov 2021
Device: Kobo Sage
Even try to use FrontCreator to combine two Fonts.
This is what i usually do,make your own font
agugu is offline   Reply With Quote
Old 10-25-2022, 08:44 AM   #8
lensmann
Zealot
lensmann ought to be getting tired of karma fortunes by now.lensmann ought to be getting tired of karma fortunes by now.lensmann ought to be getting tired of karma fortunes by now.lensmann ought to be getting tired of karma fortunes by now.lensmann ought to be getting tired of karma fortunes by now.lensmann ought to be getting tired of karma fortunes by now.lensmann ought to be getting tired of karma fortunes by now.lensmann ought to be getting tired of karma fortunes by now.lensmann ought to be getting tired of karma fortunes by now.lensmann ought to be getting tired of karma fortunes by now.lensmann ought to be getting tired of karma fortunes by now.
 
lensmann's Avatar
 
Posts: 142
Karma: 821920
Join Date: Sep 2014
Device: Clara BW, Aura One, Aura HD, Boox Max 2, ThinkBook Plus Gen 2
Quote:
Originally Posted by vinhattieu View Post
Thanks. That do sound complicated. For the Kindles I have been using, there is absolutely no problem with the same epub file. The Vietnamese is displayed properly with Bookerly, and the Chinese characters are also displayed using Kindle's default Chinese font.
As DNSB points out, if the file is DRM-free then the easiest thing to do is to convert it to a kobo epub. You can do this using Patrick Gaskin's 'kepubify' web app:

https://pgaskin.net/kepubify/

Alternatively, there are a small number of serif fonts that support Vietnamese and Chinese. Here's one example (CyberCJK):

http://ftp.vim.org/netscape/communic...fonts/windows/
lensmann is offline   Reply With Quote
Old 10-28-2022, 02:36 AM   #9
vinhattieu
Member
vinhattieu began at the beginning.
 
Posts: 10
Karma: 10
Join Date: Jul 2011
Device: Kindle Paperwhite, Kindle Voyage, Kobo Forma
Quote:
Originally Posted by Barty View Post
The Kobo doesn't do that? Use a font that supports Vietnamese (side load bookerly if you like) and let it use a fall back for Chinese
I have used Bookerly but it only displayed Vietnamese and did not display Chinese characters at all.

Thanks to all of you for your advices. I'll try the kepub solution.
vinhattieu is offline   Reply With Quote
Old 10-28-2022, 02:12 PM   #10
momijizukamori
Member
momijizukamori doesn't littermomijizukamori doesn't littermomijizukamori doesn't litter
 
Posts: 12
Karma: 210
Join Date: Sep 2018
Device: Nook Simple Touch (rooted), Kobo Glo
Quote:
Originally Posted by Barty View Post
You have to tell the reader which font you want to be used for which. I don't know how you'd do that except by editing the markup

One possibility is you can embed a font that supports only Chinese and set that as default font for the book (this requires editing the book, obviously), and let the reader use the font you select in the reader UI as fall back font for Vietnamese. Or vice versa
I've done this before with Chinese in English texts (as part of footnotes in books translated from Chinese to English, primarily), and if you go this route, you should absolutely subset the embedded font to only contain the characters you need - because of the large number of glyphs in Chinese fonts, the file sizes are waaaay bigger (for example, basic Noto Serif is ~200kb for each weight. Noto CJK is around 5mb for each weight).
momijizukamori is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Kindle DX 2.5.8 Chinese mobi file content display issue kindleDXB009 Amazon Kindle 0 07-02-2018 05:18 PM
PRS-T3 how to simply display chinese characters in Epub and txt? sbwtxj Sony Reader 9 11-14-2013 09:27 AM
Kobo can not display vietnamese language dinhquanbm Kobo Reader 5 07-20-2011 06:18 AM
Convert Chinese pdf file to epub aspfun Conversion 1 02-08-2011 11:40 PM


All times are GMT -4. The time now is 03:46 PM.


MobileRead.com is a privately owned, operated and funded community.