Initial, medial, and final ligatures not working outside of Font Creator

Get help with FontCreator here. Please do not post feature requests or bug reports here.
Post Reply
Niko Kontovas
Posts: 3
Joined: Fri Sep 16, 2022 2:33 pm
Location: Haarlem, Netherlands
Contact:

Initial, medial, and final ligatures not working outside of Font Creator

Post by Niko Kontovas »

I've created a font for the new Old Uyghur unicode block. Like the Arabic script, letters in the Old Uyghur script usually have initial, medial, final, and isolated forms:

Image

In addition to the standard initial, medial, final, and isolated forms for each letter, I have implemented a number of ligatures as Contextual Alternates. These also have initial, medial, isolated, and final forms:

Image

As you can see above, these work just fine in Font Creator. The issue arises when I try to use the font in other places. Here, positional variants of base glyphs work fine, but only the medial forms of ligatures work. Here is an example generated in XeLaTeX:

Image

... and another as a website with the font added in CSS:

Image

Curiously, I get the same issue whether I use OTF, TTF, WOFF or WOFF2 formatting.

Does anyone have a clue how to get the positional variants of ligatures working?

Thanks in advance, and forgive me if I haven't used the lingo quite right -- this is my first time interacting with other human beings about font creation :)
PJMiller
Top Typographer
Top Typographer
Posts: 977
Joined: Tue Jun 16, 2015 8:12 pm
Location: Sheffield, South Yorkshire
Contact:

Re: Initial, medial, and final ligatures not working outside of Font Creator

Post by PJMiller »

The applications which use your font will use a rendering engine to render the text, something like Uniscribe or HarfBuzz. These rendering engines have a file of information on how to render the Initial, Medial and Final forms in Arabic. That is why the Initial, Medial and Final forms work in Arabic but don't work in Latin or Cyrillic.

Without a corresponding file for the language you are trying to reproduce the Initial, Medial and Final forms won't work.
Niko Kontovas
Posts: 3
Joined: Fri Sep 16, 2022 2:33 pm
Location: Haarlem, Netherlands
Contact:

Re: Initial, medial, and final ligatures not working outside of Font Creator

Post by Niko Kontovas »

Thanks very much for your reply!

Perhaps I didn't communicate my issue properly. The initial, medial, final, and isolated forms actually work fine for the base glyphs; it's the positional variants of the ligatures that don't work.

(The positional variants of the base glyphs don't work in Word for the reason you mention, but that's not a big deal for me.)
Erwin Denissen
Moderator
Moderator
Posts: 11108
Joined: Fri Oct 04, 2002 12:41 am
Location: Bilthoven, The Netherlands
Contact:

Re: Initial, medial, and final ligatures not working outside of Font Creator

Post by Erwin Denissen »

Niko Kontovas wrote: Fri Sep 16, 2022 3:08 pm As you can see above, these work just fine in Font Creator.
For FontCreator to behave like a regular shaping engine, only enable the "_shaper". How does that turn out?
Erwin Denissen
High-Logic
Proven Font Technology
Niko Kontovas
Posts: 3
Joined: Fri Sep 16, 2022 2:33 pm
Location: Haarlem, Netherlands
Contact:

Re: Initial, medial, and final ligatures not working outside of Font Creator

Post by Niko Kontovas »

Bedankt voor je reactie ;)

Turning on the _shaper does indeed produce the same result as the XeLaTeX & web examples! That is, all the base glyphs work fine in all positions, but the ligatures only work medially.

I am working on alternative form of the font where the positional variants are handled by calt, which fixes this specific issue, but I will need to modify all the other transformations that currently target medial forms (which are the default forms the way I've designed it). Having the fina, init, and isol features work out of the box on ligatures as well would still save a bunch of hassle.
Post Reply