Printing chinese character in PDF file
okumura at okumuralab.org
okumura at okumuralab.org
Mon Jul 22 01:03:32 CEST 2024
I use SourceHanSerif or SourceHanSans, e.g.
```
\documentclass{article}
\usepackage{fontspec}
\begin{document}
\verb|\symbol{"4E49}| appears as
{\fontspec{SourceHanSerif-Medium} \symbol{"4E49}}.
\end{document}
```
-------------- next part --------------
A non-text attachment was scrubbed...
Name: PastedGraphic-1.png
Type: image/png
Size: 25171 bytes
Desc: not available
URL: <https://tug.org/pipermail/texhax/attachments/20240722/ac4ad635/attachment-0001.png>
-------------- next part --------------
Haruhiko Okumura
> 2024/07/22 0:52?Haines Brown via texhax <texhax at tug.org>????:
>
> 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?
> --
>
> Haines Brown
More information about the texhax
mailing list.