RSS/Atom feed Twitter
Site is read-only, email is disabled

empty PDFs for CJK languages

This discussion is connected to the gimp-docs-list.gnome.org mailing list which is provided by the GIMP developers and not related to gimpusers.com.

This is a read-only list on gimpusers.com so this discussion thread is read-only, too.

1 of 1 message available
Toggle history

Please log in to manage your subscriptions.

empty PDFs for CJK languages Roman Joost 23 Jul 02:05
Roman Joost
2011-07-23 02:05:49 UTC (over 13 years ago)

empty PDFs for CJK languages

Hi,

so far I'm hitting a wall with the PDF creation of CJK languages of our documentation. Some of you may already found out that the Japanese or Korean versions of the manual have no text, other than the latin or untranslated sections.

It looks to me, that this is because the used font (free sans) simply does not provide the needed characters for this, which means we need a different font.

I tried Cyberbit (http://en.wikipedia.org/wiki/Cyberbit), which everyone of you can try. The Japanese and Korean now show text. The dblatex documentation says, it can use the CJK package, but in my opinion it is not in use as I switched to XeTeX, which supports UTF-8 and therefore no need for CJK and custom fonts.

Three unresolved issues:

* Cyberbit is not published under a free license * It is therefore not available under every system * The Japanese text is overflowing the right margin, making the PDF still not very useful.

If you want to try Cyberbit, download it:

http://aol-4.vo.llnwd.net/pub/communicator/extras/fonts/windows/

Install the font (I copied it into my ~/.fonts) and add:

\setmainfont{Bitstream Cyberbit}
\setsansfont{Bitstream Cyberbit}
\setmonofont{Bitstream Cyberbit}

to stylesheets/plainprint.xsl and rerun the pdf creation (eg. LINGUAS="ja" make pdf).

Now - what to do? Any ideas?

Cheers,

Roman Joost
www: http://www.romanofski.de
email: romanofski@gimp.org