thank you for this comprehensive explanation. i digged a little bit in your previous answer, and i found it perfect for using alternative glyphs like oldstyle ones.
On Mon, May 8, 2017 at 6:52 PM, Hans Hagen <[email protected]> wrote: > On 5/8/2017 12:20 AM, kaddour kardio wrote: > >> i managed to get the ornaments from Linux Libertine by using a rather >> low-level command >> >> \definesymbol >> [leaf] >> [\getnamedglyphdirect >> {kad} >> {ampersand.alt}] >> >> >> But for other symbols i have to use another command like that: >> >> \definesymbol[orn1][\getglyph{kad}{\char9753}] >> >> >> because using \getnamedglyphdirect{kad}{uni2619} doesn't work. >> >> Did i miss a thing ? >> > > it has no name in the font > > you can add this to symb-ini.mkvi: > > \unexpanded\def\resolvedglyphstyled#fontname#character% > {{\setstyledsymbolicfont{#fontname}\clf_tochar{#character}}} > \unexpanded\def\resolvedglyphdirect#fontname#character% > {{\setdirectsymbolicfont{#fontname}\clf_tochar{#character}}} > > and remake the format and then say: > > \definesymbol > [leaf] > [\resolvedglyphdirect > {name:linuxlibertine}{n:ampersand.alt}] > > \definesymbol > [orn1] > [\resolvedglyphdirect > {name:linuxlibertine}{x:2619}] > > valid prefixes are: > > e entity > x hexadecimal unicode > d decimal unicode > s hexadecimal index (slot) > i decimal index > n name > u unicode description (synonym) > a namd or description > c char (name itself) > > Hans > > > ----------------------------------------------------------------- > Hans Hagen | PRAGMA ADE > Ridderstraat 27 | 8061 GH Hasselt | The Netherlands > tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl > ----------------------------------------------------------------- > ____________________________________________________________ > _______________________ > If your question is of interest to others as well, please add an entry to > the Wiki! > > maillist : [email protected] / http://www.ntg.nl/mailman/list > info/ntg-context > webpage : http://www.pragma-ade.nl / http://context.aanhet.net > archive : https://bitbucket.org/phg/context-mirror/commits/ > wiki : http://contextgarden.net > ____________________________________________________________ > _______________________ > -- Dr YAHYAOUI Mohamed Kaddour, cardiologue.Clinique EL ABRAR.
___________________________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki! maillist : [email protected] / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___________________________________________________________________________________
