ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Dumb question about ligatures
@ 2021-09-21  1:47 Bruce Horrocks via ntg-context
  2021-10-01 22:35 ` Bruce Horrocks via ntg-context
  0 siblings, 1 reply; 5+ messages in thread
From: Bruce Horrocks via ntg-context @ 2021-09-21  1:47 UTC (permalink / raw)
  To: ntg-context; +Cc: Bruce Horrocks

I'm using a TTF file that has no ligature capability as a built-in feature. It does however have glyphs for fi and fl but ConTeXt isn't substituting them.

So the question is: what do I need to do to persuade ConTeXt to do fi & fl ligature substitution?
—
Bruce Horrocks
Hampshire, UK

___________________________________________________________________________________
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: Dumb question about ligatures
  2021-09-21  1:47 Dumb question about ligatures Bruce Horrocks via ntg-context
@ 2021-10-01 22:35 ` Bruce Horrocks via ntg-context
  2021-10-01 23:46   ` Hans Hagen via ntg-context
  0 siblings, 1 reply; 5+ messages in thread
From: Bruce Horrocks via ntg-context @ 2021-10-01 22:35 UTC (permalink / raw)
  To: mailing list for ConTeXt users; +Cc: Bruce Horrocks

On 21 Sep 2021, at 02:47, Bruce Horrocks via ntg-context <ntg-context@ntg.nl> wrote:
> 
> I'm using a TTF file that has no ligature capability as a built-in feature. It does however have glyphs for fi and fl but ConTeXt isn't substituting them.
> 
> So the question is: what do I need to do to persuade ConTeXt to do fi & fl ligature substitution?

Any suggestions please? Is a font features file the 'right' way? I would have thought that there was a more traditional solution
—
Bruce Horrocks
Hampshire, UK

___________________________________________________________________________________
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: Dumb question about ligatures
  2021-10-01 22:35 ` Bruce Horrocks via ntg-context
@ 2021-10-01 23:46   ` Hans Hagen via ntg-context
  2021-10-02 23:34     ` Bruce Horrocks via ntg-context
  0 siblings, 1 reply; 5+ messages in thread
From: Hans Hagen via ntg-context @ 2021-10-01 23:46 UTC (permalink / raw)
  To: mailing list for ConTeXt users; +Cc: Hans Hagen

On 10/2/2021 12:35 AM, Bruce Horrocks via ntg-context wrote:
> On 21 Sep 2021, at 02:47, Bruce Horrocks via ntg-context <ntg-context@ntg.nl> wrote:
>>
>> I'm using a TTF file that has no ligature capability as a built-in feature. It does however have glyphs for fi and fl but ConTeXt isn't substituting them.
>>
>> So the question is: what do I need to do to persuade ConTeXt to do fi & fl ligature substitution?
> 
> Any suggestions please? Is a font features file the 'right' way? I would have thought that there was a more traditional solution
you can write your own feature (examplex in test suite and manuals) 
where you map f + f onto ff

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: Dumb question about ligatures
  2021-10-01 23:46   ` Hans Hagen via ntg-context
@ 2021-10-02 23:34     ` Bruce Horrocks via ntg-context
  2021-10-03  9:33       ` Hans Hagen via ntg-context
  0 siblings, 1 reply; 5+ messages in thread
From: Bruce Horrocks via ntg-context @ 2021-10-02 23:34 UTC (permalink / raw)
  To: mailing list for ConTeXt users; +Cc: Bruce Horrocks

On 2 Oct 2021, at 00:46, Hans Hagen <j.hagen@xs4all.nl> wrote:
> 
> On 10/2/2021 12:35 AM, Bruce Horrocks via ntg-context wrote:
>> On 21 Sep 2021, at 02:47, Bruce Horrocks via ntg-context <ntg-context@ntg.nl> wrote:
>>> 
>>> I'm using a TTF file that has no ligature capability as a built-in feature. It does however have glyphs for fi and fl but ConTeXt isn't substituting them.
>>> 
>>> So the question is: what do I need to do to persuade ConTeXt to do fi & fl ligature substitution?
>> Any suggestions please? Is a font features file the 'right' way? I would have thought that there was a more traditional solution
> you can write your own feature (examplex in test suite and manuals) where you map f + f onto ff

Thanks Hans - I keep forgetting about the test suite.

For the benefit of those coming here via the mail archive, I found what I needed in the cont-tst.zip test suite in the file fonts/extensions-001.tex
<http://www.pragma-ade.com/context/latest/cont-tst.zip>

Now my problem is that the font only has ligatures for fi and fl which is making my life di-ffi-cult. <groan>
—
Bruce Horrocks
Hampshire, UK

___________________________________________________________________________________
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: Dumb question about ligatures
  2021-10-02 23:34     ` Bruce Horrocks via ntg-context
@ 2021-10-03  9:33       ` Hans Hagen via ntg-context
  0 siblings, 0 replies; 5+ messages in thread
From: Hans Hagen via ntg-context @ 2021-10-03  9:33 UTC (permalink / raw)
  To: mailing list for ConTeXt users; +Cc: Hans Hagen

On 10/3/2021 1:34 AM, Bruce Horrocks via ntg-context wrote:
> On 2 Oct 2021, at 00:46, Hans Hagen <j.hagen@xs4all.nl> wrote:
>>
>> On 10/2/2021 12:35 AM, Bruce Horrocks via ntg-context wrote:
>>> On 21 Sep 2021, at 02:47, Bruce Horrocks via ntg-context <ntg-context@ntg.nl> wrote:
>>>>
>>>> I'm using a TTF file that has no ligature capability as a built-in feature. It does however have glyphs for fi and fl but ConTeXt isn't substituting them.
>>>>
>>>> So the question is: what do I need to do to persuade ConTeXt to do fi & fl ligature substitution?
>>> Any suggestions please? Is a font features file the 'right' way? I would have thought that there was a more traditional solution
>> you can write your own feature (examplex in test suite and manuals) where you map f + f onto ff
> 
> Thanks Hans - I keep forgetting about the test suite.
> 
> For the benefit of those coming here via the mail archive, I found what I needed in the cont-tst.zip test suite in the file fonts/extensions-001.tex
> <http://www.pragma-ade.com/context/latest/cont-tst.zip>
> 
> Now my problem is that the font only has ligatures for fi and fl which is making my life di-ffi-cult. <groan>
Then forget abnout the ligatures ... these two were probably only added 
because of 'habbit'. Most people won't notice.

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

end of thread, other threads:[~2021-10-03  9:33 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-09-21  1:47 Dumb question about ligatures Bruce Horrocks via ntg-context
2021-10-01 22:35 ` Bruce Horrocks via ntg-context
2021-10-01 23:46   ` Hans Hagen via ntg-context
2021-10-02 23:34     ` Bruce Horrocks via ntg-context
2021-10-03  9:33       ` Hans Hagen via ntg-context

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