* preventing ligatures in Type1 fonts under MKIV
@ 2011-02-09 17:03 Mojca Miklavec
2011-02-09 18:30 ` Wolfgang Schuster
0 siblings, 1 reply; 5+ messages in thread
From: Mojca Miklavec @ 2011-02-09 17:03 UTC (permalink / raw)
To: mailing list for ConTeXt users
Dear Hans,
How can I disable fi ligatures and endashes in Lucida Typewriter?
Minimal example:
\setupbodyfont[lucida]
\starttext
{\tt fif\/i}
\type{first-setup.sh --extras=t-vim}
\stoptext
Mojca
___________________________________________________________________________________
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 : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: preventing ligatures in Type1 fonts under MKIV
2011-02-09 17:03 preventing ligatures in Type1 fonts under MKIV Mojca Miklavec
@ 2011-02-09 18:30 ` Wolfgang Schuster
2011-02-09 19:22 ` Mojca Miklavec
0 siblings, 1 reply; 5+ messages in thread
From: Wolfgang Schuster @ 2011-02-09 18:30 UTC (permalink / raw)
To: mailing list for ConTeXt users
Am 09.02.2011 um 18:03 schrieb Mojca Miklavec:
> Dear Hans,
>
> How can I disable fi ligatures and endashes in Lucida Typewriter?
Load the font with texnansi encoding.
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 : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: preventing ligatures in Type1 fonts under MKIV
2011-02-09 18:30 ` Wolfgang Schuster
@ 2011-02-09 19:22 ` Mojca Miklavec
2011-02-09 19:38 ` Wolfgang Schuster
0 siblings, 1 reply; 5+ messages in thread
From: Mojca Miklavec @ 2011-02-09 19:22 UTC (permalink / raw)
To: mailing list for ConTeXt users
On Wed, Feb 9, 2011 at 19:30, Wolfgang Schuster wrote:
>
> Am 09.02.2011 um 18:03 schrieb Mojca Miklavec:
>
>> Dear Hans,
>>
>> How can I disable fi ligatures and endashes in Lucida Typewriter?
>
> Load the font with texnansi encoding.
How exacly do you mean that; or rather - may I ask for an example? The
current typescript is defined in type-one.mkiv:
\starttypescript [mono] [lucida]
\definefontsynonym [LucidaTypewriter]
[\s!name:LucidaTypewriter]
\definefontsynonym [LucidaTypewriterBold]
[\s!name:LucidaTypewriterBold]
\definefontsynonym [LucidaTypewriterOblique]
[\s!name:LucidaTypewriterOblique]
\definefontsynonym [LucidaTypewriterBoldOblique]
[\s!name:LucidaTypewriterBoldOblique]
\stoptypescript
I could in principle use
\definefontsynonym [LucidaTypewriter] [hlcrt8y] [encoding=texnansi]
but that is probably not what you meant, or at least not something
that would make much sense in the spirit of MKIV "guidelines".
Mojca
___________________________________________________________________________________
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 : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: preventing ligatures in Type1 fonts under MKIV
2011-02-09 19:22 ` Mojca Miklavec
@ 2011-02-09 19:38 ` Wolfgang Schuster
2011-02-09 22:38 ` Hans Hagen
0 siblings, 1 reply; 5+ messages in thread
From: Wolfgang Schuster @ 2011-02-09 19:38 UTC (permalink / raw)
To: mailing list for ConTeXt users
Am 09.02.2011 um 20:22 schrieb Mojca Miklavec:
> On Wed, Feb 9, 2011 at 19:30, Wolfgang Schuster wrote:
>>
>> Am 09.02.2011 um 18:03 schrieb Mojca Miklavec:
>>
>>> Dear Hans,
>>>
>>> How can I disable fi ligatures and endashes in Lucida Typewriter?
>>
>> Load the font with texnansi encoding.
>
> How exacly do you mean that; or rather - may I ask for an example? The
> current typescript is defined in type-one.mkiv:
Sorry, i missed the mkiv in the header and thought you have a mkii problem.
> I could in principle use
> \definefontsynonym [LucidaTypewriter] [hlcrt8y] [encoding=texnansi]
> but that is probably not what you meant, or at least not something
> that would make much sense in the spirit of MKIV "guidelines".
To prevent ligatures for a font you use the “none” font feature but it doesn’t seem to work here.
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 : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: preventing ligatures in Type1 fonts under MKIV
2011-02-09 19:38 ` Wolfgang Schuster
@ 2011-02-09 22:38 ` Hans Hagen
0 siblings, 0 replies; 5+ messages in thread
From: Hans Hagen @ 2011-02-09 22:38 UTC (permalink / raw)
To: mailing list for ConTeXt users
On 9-2-2011 8:38, Wolfgang Schuster wrote:
>
> Am 09.02.2011 um 20:22 schrieb Mojca Miklavec:
>
>> On Wed, Feb 9, 2011 at 19:30, Wolfgang Schuster wrote:
>>>
>>> Am 09.02.2011 um 18:03 schrieb Mojca Miklavec:
>>>
>>>> Dear Hans,
>>>>
>>>> How can I disable fi ligatures and endashes in Lucida Typewriter?
>>>
>>> Load the font with texnansi encoding.
>>
>> How exacly do you mean that; or rather - may I ask for an example? The
>> current typescript is defined in type-one.mkiv:
>
> Sorry, i missed the mkiv in the header and thought you have a mkii problem.
>
>> I could in principle use
>> \definefontsynonym [LucidaTypewriter] [hlcrt8y] [encoding=texnansi]
>> but that is probably not what you meant, or at least not something
>> that would make much sense in the spirit of MKIV "guidelines".
>
> To prevent ligatures for a font you use the “none” font feature but it doesn’t seem to work here.
Ah, this is an interesting ... we supported afm before we had otf
support and this is the reason why ligatures are enabled by default
(after all, they are in regular tex fonts). There is no reason to do
that now, so I'll change that default behaviour.
(maybe some day I'll provide node mode support for afm as well, but the
code originates from the early days so then I need to rewrite a couple
of things)
Hans
-----------------------------------------------------------------
Hans Hagen | PRAGMA ADE
Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com
| 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://tex.aanhet.net
archive : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2011-02-09 22:38 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-02-09 17:03 preventing ligatures in Type1 fonts under MKIV Mojca Miklavec
2011-02-09 18:30 ` Wolfgang Schuster
2011-02-09 19:22 ` Mojca Miklavec
2011-02-09 19:38 ` Wolfgang Schuster
2011-02-09 22:38 ` Hans Hagen
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).