Quote:
Originally Posted by kongzifan
As can be seen from attached photo, the article titles are truncated on the "Sections and Articles" page of zaobao.com. Take the one that is selected in the picture for example, six characters were missing from the first line, even though there is enough space left in the second line. Is this a bug in the recipe?
|
I think it is related to how kindle display titles in the "Sections and Articles" view. It happens in other CJK periodicals as well.
Quote:
Originally Posted by kongzifan
Also, as can be seen from the picture, the name of the newspaper is a mess (which has been discussed in a previous thread). kovidgoyal mentioned this is because the font used by calibre for this part does not support Chinese characters. Is there anyway to specify our own font that does support Chinese characters?
Thanks!
|
This problem actually happens in other recipes using CJK characters as periodical title. It is because the font used by Kindle devices to display that title does not show CJK characters properly. A workaround is to set a mastheadurl in the recipe class, so it displays an image rather than text. An example is shown below.
Code:
class MPRecipe(BasicNewsRecipe):
....
masthead_url = 'http://news.mingpao.com/image/portals_top_logo_news.gif'
....
For zaobao.com recipe, I would suggest
http://www.zaobao.com/ssi/images1/zblogo_original.gif