[XeTeX] Fontspec: Dingbats

Fr. Michael Gilmary FrMichaelGilmary at MaroniteMonks.org
Sun May 23 16:09:26 CEST 2010


Cole Leahy wrote:

> Using fontspec, can I access the ornamental dingbat glyphs in Adobe Garamond
> Premier Pro? The full glyph complement is here:
>
> http://store1.adobe.com/type/browser/pdfs/1737.pdf




Hi Cole:

I didn't look at the sample pdf of your link --- but we have Garamond PP 
version 2.000;PS 2.000;hotconv 1.0.50;makeotf.lib2.0.16970

which has the ornament glyphs at Glyph IDs 347--360. You can check your 
IDs with the sample xetex file attached below (note, it runs with XeTeX 
*not* XeLaTeX).

What I've done before is to make a new command like this:

\documentclass[11pt]{memoir}

\usepackage[no-math]{fontspec}
\usepackage{xltxtra}
\usepackage[nolocalmarks]{polyglossia}
\setdefaultlanguage[variant=american]{english}
\defaultfontfeatures{Mapping=tex-text,Ligatures=Common}
\setmainfont[Numbers={OldStyle,Proportional}]{Garamond Premier Pro}


\pagestyle{empty}


\newcommand\ornrleaf{\XeTeXglyph347}
\newcommand\ornlleaf{\XeTeXglyph348}
\newcommand\orndleaf{\XeTeXglyph349}
\newcommand\ornuleaf{\XeTeXglyph350}


\begin{document}
\ornrleaf\qquad\ornlleaf\qquad\orndleaf\qquad\ornuleaf

\end{document}


HTH.

-- 
United in adoration of Jesus, 



fr. michael gilmary, mma

Most Holy Trinity Monastery
67 Dugway Road
Petersham, MA 01366-9725

www.MaroniteMonks.org


-------------- next part --------------
A non-text attachment was scrubbed...
Name: glyphlist.tex
Type: application/x-tex
Size: 799 bytes
Desc: not available
URL: <http://tug.org/pipermail/xetex/attachments/20100523/29c76401/attachment.tex>


More information about the XeTeX mailing list