🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: adobe.opentype.developers.fdk
3 messages
3 total messages Started by John_D._Smith Mon, 12 Jan 2009 07:30
Zero Width Joiner in ligatures
#64
Author: John_D._Smith
Date: Mon, 12 Jan 2009 07:30
9 lines
1606 bytes
Some fonts I am working on contain a number of digraphs with diacriticals applying to the digraph as a whole. For example, one glyph consists of a "k" followed immediately by an "h", with an underscore running under both letters. As far as I can see, the best way to represent this in Unicode is "k" + Zero Width Joiner (uni200D) + "h" + combining macron below (uni0331). (The choice of uni0331 rather than, say, combining low line (uni0332) is not in my hands.) But when I place things like this in my liga file, nothing happens:

sub k uni200D h uni0331 by k_uni200D_h_uni0331

I have tried various approaches to work round this, but without success. It almost seems as if ligatures containing Zero Width Joiner have been disabled. Can anyone help/enlighten me? I am running the latest makeOTF on a MacBook Pro.

By the way, I am currently in India, and it will be difficult to consult this forum frequently. It would be a great kindness if any replies could be copied to my email address: jds10 AT cam DOT ac DOT uk.

John Smith
Re: Zero Width Joiner in ligatures
#69
Author: Read_Roberts
Date: Thu, 15 Jan 2009 19:01
24 lines
1815 bytes
Hi John;

An engineer from the InDesign team responded, and said that in Adobe InDesign, such ligatures would not work, and made an alternate suggestion:

      In InDesign specifically, we will strip the joiner before composition
      and therefore it won't be assigned a glyph or participate in the ligature
      substitution. This is how we handle zero-width spaces, joiner, discretionary
      hyphens, etc. <k, U+035F &#9676;&#863; COMBINING DOUBLE MACRON BELOW,
      h> is probably a much better choice and in fact is much more likely to
      work (assuming the font ligates all that) with vanilla layout engines.
      Look for "double diacritics" in the index of The Unicode Standard, 5.0
      for all the details.




See ' <http://www.unicode.org/versions/Unicode5.1.0/>".

Double diacritics are referenced on pages 113, 146, 255.
P 113 in Chapter 3 Conformance., section 3.11 Canonical Ordering Behavior.
P 146 in Chapter 4 Character Properties, section 4.12 Characters with Unusual Properties.
P 225 in Chapter 7 European Alphabetic Scripts, section 7.9 Combining Marks.

- Read Roberts
Re: Zero Width Joiner in ligatures
#72
Author: John_D._Smith
Date: Sat, 17 Jan 2009 10:20
3 lines
809 bytes
This is extremely helpful -- it explains why things weren't working, and gives a much better approach. I've tried it, and it works. Thanks from a very satisfied customer.

John Smith
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads