[XeTeX] solved partially

Janusz S. Bień jsbien at mimuw.edu.pl
Mon Oct 17 07:39:18 CEST 2022


On Sun, Oct 16 2022 at 21:25 +02, Ulrike Fischer wrote:

Thank you very much for your comments!

> 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]

Or

\setmainfont[RawFeature={-invisible}]{Noto Sans Manichaean}

(pointed to me by Frank Mittelbach)

which refers directly to the Unicode character property discussed in
L2/02-368 (http://www.unicode.org/L2/L2002/02368-default-ignorable.pdf)
and https://github.com/latex3/luaotfload/issues/63.

> \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

That's the command I need! Either I haven't noticed it at all or forgot
about it :-(

>
> \end{document}
>
> The number 58 is font dependant (I found this one by looking in the
> font cache file created by  lualatex) 

Looks like it can be found in the ttx output in *.GlyphOrder.ttx,
e.g. <GlyphID id="58" name="uniFE00"/>.

Thanks once again!

Best regards

Janusz

-- 
             ,   
Janusz S. Bien
emeryt (emeritus)
https://sites.google.com/view/jsbien



More information about the XeTeX mailing list.