* Re: No em/en dashes (was: define font | font with name Delicious-Roman is not found)
@ 2009-05-28 16:47 Nicolas Girard
2009-05-28 17:01 ` Wolfgang Schuster
0 siblings, 1 reply; 3+ messages in thread
From: Nicolas Girard @ 2009-05-28 16:47 UTC (permalink / raw)
To: mailing list for ConTeXt users
2009/5/28 Wolfgang Schuster <schuster.wolfgang@googlemail.com>:
>
Hi Wolfgang,
thanks for such a fast answer !
> Am 28.05.2009 um 17:59 schrieb Nicolas Girard:
>
>>
>> \starttext
>> \font\Myfont=Delicious-Roman at 24pt
>> \Myfont Hello, world
>> \stoptext
>
>
> Please don't use \font, use ConTeXt's \definefont instead:
>
OK, but why ? Reading the list, I see that you were still using it six
months ago ; is is deprecated now ?
> \definefont[Myfont][name:Delicious-Roman][features=default]
This indeed let me get the font. But then, I can't get any en/em
dashes when typing -- / ---.
I have:
$ mtxrun --script fonts --list --info --pattern="delicious*roman"
MTXrun | fontname: deliciousroman
MTXrun | fullname: Delicious-Roman
MTXrun | filename: /usr/local/share/fonts/d/delicious_roman.otf
MTXrun |
MTXrun | gpos features:
MTXrun |
MTXrun | feature script languages
MTXrun |
MTXrun | kern latn dflt
MTXrun |
MTXrun | gsub features:
MTXrun |
MTXrun | feature script languages
MTXrun |
MTXrun | tlig all all
MTXrun | trep all all
but none of the following tests did succeed:
%=====
\starttext
\definefont[Myfont][name:Delicious-Roman][features=default]
\Myfont Goodbye --- cruel -- world
\stoptext
%=====
\starttext
\definefontfeature[default][mapping=tex-text]
\definefont[Myfont][name:Delicious-Roman][features=default]
\Myfont Goodbye --- cruel -- world
\stoptext
%=====
\starttext
\definefontfeature[default][tlig=yes,mapping=tex-text]
\definefont[Myfont][name:Delicious-Roman][features=default]
\Myfont Goodbye --- cruel -- world
\stoptext
%=====
\starttext
\definefontfeature[default][tlig=yes,script=latn,mapping=tex-text]
\definefont[Myfont][name:Delicious-Roman][features=default]
\Myfont Goodbye --- cruel -- world
\stoptext
Any thoughts ?
--
Nicolas
___________________________________________________________________________________
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://tex.aanhet.net
archive : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: No em/en dashes (was: define font | font with name Delicious-Roman is not found)
2009-05-28 16:47 No em/en dashes (was: define font | font with name Delicious-Roman is not found) Nicolas Girard
@ 2009-05-28 17:01 ` Wolfgang Schuster
2009-05-28 17:27 ` Nicolas Girard
0 siblings, 1 reply; 3+ messages in thread
From: Wolfgang Schuster @ 2009-05-28 17:01 UTC (permalink / raw)
To: mailing list for ConTeXt users
Am 28.05.2009 um 18:47 schrieb Nicolas Girard:
>> Please don't use \font, use ConTeXt's \definefont instead:
>
> OK, but why ? Reading the list, I see that you were still using it six
> months ago ; is is deprecated now ?
It's not ConTeXt style.
>> \definefont[Myfont][name:Delicious-Roman][features=default]
>
> This indeed let me get the font. But then, I can't get any en/em
> dashes when typing -- / ---.
Sorry, my fault, the correct setup is:
\definefont[Myfont][name:Delicious-Roman*default]
Wolfgang
___________________________________________________________________________________
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://tex.aanhet.net
archive : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: No em/en dashes (was: define font | font with name Delicious-Roman is not found)
2009-05-28 17:01 ` Wolfgang Schuster
@ 2009-05-28 17:27 ` Nicolas Girard
0 siblings, 0 replies; 3+ messages in thread
From: Nicolas Girard @ 2009-05-28 17:27 UTC (permalink / raw)
To: mailing list for ConTeXt users
2009/5/28 Wolfgang Schuster <schuster.wolfgang@googlemail.com>:
>
> Am 28.05.2009 um 18:47 schrieb Nicolas Girard:
>
>>> Please don't use \font, use ConTeXt's \definefont instead:
>>
>> OK, but why ? Reading the list, I see that you were still using it six
>> months ago ; is is deprecated now ?
>
> It's not ConTeXt style.
>
oh, sure ; agreed.
>>> \definefont[Myfont][name:Delicious-Roman][features=default]
>>
>> This indeed let me get the font. But then, I can't get any en/em
>> dashes when typing -- / ---.
>
> Sorry, my fault, the correct setup is:
>
> \definefont[Myfont][name:Delicious-Roman*default]
>
thanks, this works !
--
Nicolas
___________________________________________________________________________________
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://tex.aanhet.net
archive : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2009-05-28 17:27 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-05-28 16:47 No em/en dashes (was: define font | font with name Delicious-Roman is not found) Nicolas Girard
2009-05-28 17:01 ` Wolfgang Schuster
2009-05-28 17:27 ` Nicolas Girard
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).