Changes

Jump to navigation Jump to search
New XeTeX feature: Using named glyphs
\fi
</texcode>
 
== Named glyphs ==
 
If you know the name of the glyphs, but not their exact location (for example, these could be glyphs in private area of Unicode, which is not standardized), <code>\XeTeXglyphindex</code> can help you.
 
<texcode>
\XeTeXglyphindex "glyphname"
</texcode>
returns glyph ID of a named glyph.
 
You can (hopefully) use it like that <i>(to be tested once XeTeX 0.993 for Linux is out!!!)</i>:
 
<texcode>
\def\ubreveinvertedlow{%
\char{\XeTeXglyphindex "ubreveinvertedlow"}}
</texcode>
 
<i>(Works with [[XeTeX]] >= 0.993 and [[Latin Modern]] >= 1.0.)</i>
[[Category:XeTeX]]
[[Category:Fonts]]

Navigation menu