# How to access fleurons?

I'm just wondering, how is it possible to access and use the fleurons coming with fonts like Garamond Premier Pro. For example, the MinionPro package, with pifont, gives a comfortable interface for this purpose:

``````\usepackage{pifont}
\Pisymbol{MinionPro-Extra}{110}
``````

What i have to do to display, for example, that beautyful leaf, located at U+E1C0 (Orn.01) in the GaramondPremrPro.otf? Is it related also somehow to the installation of the fonts (i used otftotfm)? Or is there a package providing an interface to access these symbols?

Any help would be appreciated!

-
For "normal" TeX fonts its `{\somefontcommand \char<number>}` (which is basically what `Pisymbol` does). But I'm not sure for fonts with more than 256 glyphs. –  Martin Scharrer Jul 7 '11 at 21:26
@Martin It works the same in XeTeX: `\char"E1C0` (the `"` is for hexadecimal). –  egreg Jul 7 '11 at 21:29
@egreg: I guessed so. Any chance to use that font with `pdflatex`? –  Martin Scharrer Jul 7 '11 at 21:44
@Martin: only via reencoding. –  egreg Jul 7 '11 at 21:52
@Martin: Have a look at autoinst. –  Michael Ummels Jul 7 '11 at 21:53

The following will work only with XeLaTeX or LuaLaTeX, with the fontspec package loaded.

If Garamond Premier is your main font you have to say simply

``````\symbol{\string"E1C0}
``````

Otherwise, you need to define a command for accessing that font

``````\newfontface{\fleurons}{Garamond Premier Pro}
``````

and use

``````{\fleurons\symbol{\string"E1C0}}
``````

There's no interface similar to pifont, at the moment.

Note. `\string` is used to avoid bad effects with some languages that may activate the double quote.

For traditional `pdflatex` one might go via reencoding, but this requires also making a TFM file, possibly with fontinst or, as Michael Ummels points out, with `otftotfm`, which has also options for extracting ornaments (see also the wrapper script `autoinst`).
Doesn't that require `fontspec`? –  ℝaphink Jul 7 '11 at 21:55