Changes

Jump to navigation Jump to search
\XeTeXglyphindex
--[[User:Adam|Adam]] 02:39, 26 Nov 2004 (CET)
 
==Accessing glyphs from OpenType fonts by name==
 
<code>\XeTeXglyphindex returns the index of a named glyph from (an OpenType) font.</code>
 
<texcode>
\def\getglyph#1{\XeTeXglyph\XeTeXglyphindex "#1"} % getglyph is already taken in ConTeXt!!!
 
\definedfont['Antykwa Torunska']
 
I \getglyph{heart} this feature!
</texcode>
 
''(An image will be put here as soon as XeTeX will be anabled on contextgarden.)''
[[Category:Fonts]]

Navigation menu