[XeTeX] using glyph from private use area

Jonathan Kew jfkthame at gmail.com
Tue Apr 6 18:47:59 CEST 2021


On 06/04/2021 17:39, François Patte wrote:
> Bonjour,
> 
> I want to reproduce a wrong(?) ligature in grantha characters.
> I use the  NotoSerifGrantha-Regular.otf font and would like to use the 
> glyph "yaPhalaa_gran" which has no unicode id. I can see this glyph, 
> using fontforge and it is reported as: 151 0x97 u+???? "yaPhalaa_gran"
> 
> Is this possible and how?
> 
> Thank you for any help.

You need \XeTeXglyph.

There's also \XeTeXglyphindex to look up the glyph ID by name.

Putting these together, \XeTeXglyph\XeTeXglyphindex "yaPhalaa_gran" 
should do what you want.

JK


More information about the XeTeX mailing list.