Printing chinese character in PDF file

Dirk Hünniger dirk.hunniger at googlemail.com
Sun Jul 21 18:05:31 CEST 2024


Hi Haines,

I think you need to tell LaTeX to change the font. I am doing it like 
this on Ubuntu:

\setmainfont{wqy-zenhei.ttc}[Path=/usr/share/fonts/truetype/wqy/]\setmonofont{wqy-zenhei.ttc}[Path=/usr/share/fonts/truetype/wqy/]义

Yours Dirk

On 21.07.24 17:52, Haines Brown via texhax wrote:
> I am working with a document in which a series of Chinese charaters is
> pasted. Emacs has no problem with them.
>
> I then lualatex construct from it a PDF file. Three of the characters
> appear in it but not one (义, hex 4E49). The code \symbol{"4E49}
> appears in the PDF as �, whether the PDF is displayed with atril or
> xpdf. Albatross tells me that the BabelStone Han font has the glyph,
> but that does not help in this case.
>
> If one is prepareing a PDF for publication, how does one work around
> this?


More information about the texhax mailing list.