> Am 16.10.2022 um 21:25 schrieb Ulrike Fischer <ne...@nililand.de>: > > Am Sun, 16 Oct 2022 18:47:30 +0200 schrieb Janusz S. Bień: > >> On Sun, Oct 16 2022 at 17:56 +02, Janusz S. Bień wrote: >> >> Frank Mittelbach was kind enough to provide me with the relevant information: >> >> On Sun, Oct 16 2022 at 9:21 -07, Frank Mittelbach wrote: >>> I checked. In Unicode this slot is default-ignorable and both XeTeX >>> and LuaTeX do not print glyphs with that attribute (probably because >>> the aren't not meant for printing). >>> >>> In luaTeX (but not in XeTeX I think) you can change this behavior. >> >> So the questions left are: >> >> Is it really impossible to do it in XeTeX? > > With lualatex you can force the glyph with Renderer=base: > > \documentclass{article} > \usepackage{fontspec} > \setmainfont{Noto Sans Manichaean}[Renderer=Base] > \begin{document} > \thispagestyle{empty} > > \char"FE00 > > \end{document} > > With xelatex you can use the glyph slot: > > \documentclass{article} > \usepackage{fontspec} > \setmainfont{Noto Sans Manichaean}\begin{document} > \thispagestyle{empty} > > \XeTeXglyph58 > > \end{document} > > The number 58 is font dependant (I found this one by looking in the > font cache file created by lualatex) > > -- > Ulrike Fischer > http://www.troubleshooting-tex.de/
Hi, In XeTeX, you can also use \XeTeXcharglyph to get the (font dependant) glyph number for the character code. \newcount\buffer {% \font\1="[./NotoSansManichaean-Regular.ttf] :script=mani"\1 \global\buffer\XeTeXcharglyph"FE00\relax \XeTeXglyph\buffer\relax % prints the glyph } \number\buffer % prints the glpyh number {% short \font\1="[./NotoSansManichaean-Regular.ttf] :script=mani"\1 \XeTeXglyph\XeTeXcharglyph"FE00\relax }