Re: [NTG-context] question about Linux Libertine
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 Hagenwrote: > 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 : ntg-context@ntg.nl / 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 : ntg-context@ntg.nl / 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 ___
Re: [NTG-context] question about Linux Libertine
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 : ntg-context@ntg.nl / 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 ___
Re: [NTG-context] question about Linux Libertine
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 ? On Sun, May 7, 2017 at 12:15 AM, Hans Hagenwrote: > On 5/7/2017 12:44 AM, kaddour kardio wrote: > >> Hi, i would ask you a stupid question: how to get ornaments from Linux >> Libertine font in ConTeXT/mkiv ? >> > > it's probably a stylistic alternate so some ssNN feature that you need to > enable > > as a test you can try > > \definefontfeature[default][default][ss01=yes] > > before loading (or some other ss number) > > Thnk you in advance >> >> -- >> 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 : ntg-context@ntg.nl / 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 >> >> ___ >> >> > > -- > > - > 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 : ntg-context@ntg.nl / 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 : ntg-context@ntg.nl / 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 ___
Re: [NTG-context] question about Linux Libertine
On 5/7/2017 12:44 AM, kaddour kardio wrote: Hi, i would ask you a stupid question: how to get ornaments from Linux Libertine font in ConTeXT/mkiv ? it's probably a stylistic alternate so some ssNN feature that you need to enable as a test you can try \definefontfeature[default][default][ss01=yes] before loading (or some other ss number) Thnk you in advance -- 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 : ntg-context@ntg.nl / 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 ___ -- - 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 : ntg-context@ntg.nl / 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 ___
[NTG-context] question about Linux Libertine
Hi, i would ask you a stupid question: how to get ornaments from Linux Libertine font in ConTeXT/mkiv ? Thnk you in advance -- 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 : ntg-context@ntg.nl / 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 ___