ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* question about Linux Libertine
@ 2017-05-06 22:44 kaddour kardio
  2017-05-06 23:15 ` Hans Hagen
  0 siblings, 1 reply; 5+ messages in thread
From: kaddour kardio @ 2017-05-06 22:44 UTC (permalink / raw)
  To: mailing list for ConTeXt users


[-- Attachment #1.1: Type: text/plain, Size: 189 bytes --]

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.

[-- Attachment #1.2: Type: text/html, Size: 503 bytes --]

[-- Attachment #2: Type: text/plain, Size: 492 bytes --]

___________________________________________________________________________________
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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: question about Linux Libertine
  2017-05-06 22:44 question about Linux Libertine kaddour kardio
@ 2017-05-06 23:15 ` Hans Hagen
  2017-05-07 22:20   ` kaddour kardio
  0 siblings, 1 reply; 5+ messages in thread
From: Hans Hagen @ 2017-05-06 23:15 UTC (permalink / raw)
  To: ntg-context

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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: question about Linux Libertine
  2017-05-06 23:15 ` Hans Hagen
@ 2017-05-07 22:20   ` kaddour kardio
  2017-05-08 17:52     ` Hans Hagen
  0 siblings, 1 reply; 5+ messages in thread
From: kaddour kardio @ 2017-05-07 22:20 UTC (permalink / raw)
  To: mailing list for ConTeXt users


[-- Attachment #1.1: Type: text/plain, Size: 2392 bytes --]

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 Hagen <pragma@wxs.nl> wrote:

> 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.

[-- Attachment #1.2: Type: text/html, Size: 5356 bytes --]

[-- Attachment #2: Type: text/plain, Size: 492 bytes --]

___________________________________________________________________________________
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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: question about Linux Libertine
  2017-05-07 22:20   ` kaddour kardio
@ 2017-05-08 17:52     ` Hans Hagen
  2017-05-09 19:26       ` kaddour kardio
  0 siblings, 1 reply; 5+ messages in thread
From: Hans Hagen @ 2017-05-08 17:52 UTC (permalink / raw)
  To: ntg-context

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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: question about Linux Libertine
  2017-05-08 17:52     ` Hans Hagen
@ 2017-05-09 19:26       ` kaddour kardio
  0 siblings, 0 replies; 5+ messages in thread
From: kaddour kardio @ 2017-05-09 19:26 UTC (permalink / raw)
  To: mailing list for ConTeXt users


[-- Attachment #1.1: Type: text/plain, Size: 2443 bytes --]

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 <pragma@wxs.nl> 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 : 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.

[-- Attachment #1.2: Type: text/html, Size: 4163 bytes --]

[-- Attachment #2: Type: text/plain, Size: 492 bytes --]

___________________________________________________________________________________
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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2017-05-09 19:26 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-05-06 22:44 question about Linux Libertine kaddour kardio
2017-05-06 23:15 ` Hans Hagen
2017-05-07 22:20   ` kaddour kardio
2017-05-08 17:52     ` Hans Hagen
2017-05-09 19:26       ` kaddour kardio

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).