[lltx] lualatex and glyph names

M. Niedermair m_g_n at gmx.de
Sun Jun 6 18:41:37 CEST 2010


Hi,

> There is a lua function that takes either glyph name or id:
> \directlua{fonts.otf.char("Aacute")}
> \directlua{fonts.otf.char(193)}

Thanks, it works!

By
Michael

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\documentclass[ngerman]{article}
\usepackage{babel}
\usepackage{luaotfload}
\usepackage[EU2]{fontenc}

\usepackage{libertine}% 4.6.5b
\renewcommand\ttdefault{lmtt}

\usepackage{xunicode}

\begin{document}

\bigskip
{\Huge\libertineGlyph{Tux}}

\bigskip
{\Huge\fontfamily{fxl}\selectfont\directlua{fonts.otf.char("Tux")}
}

\end{document}




More information about the lualatex-dev mailing list