Skip to content

Metrics View does not show curs correctly (perhaps only for RTL scripts?) #3837

Closed

Description

@ctrlcctrlv

Microsoft distributes an interesting font which they call «Al Dhabi».

It's similar to Noto Nastaliq Urdu in how it works. The curs table is most important.

Let's use as an example the text النوع المفتوح.

Below image shows Noto Sans Arabic, Noto Nastaliq Urdu and Aldhabi rendered correctly.

2019-07-30-151319_872x1083_scrot

FontForge however cannot understand Aldhabi at all!

2019-07-30-151302_1876x911_scrot

The curs table does appear in GPOS though, and to my (perhaps ignorant) eyes even looks complete.

At the risk of angering Microsoft, (they distribute this font for free with their operating system,) I upload it also here to be sure if anyone looks into this that they are considering the same version of Aldhabi that I've considered.
aldhabi.zip

Activity

  1. changed the title [-]FontForge fails to understand Aldhabi.ttf[/-] [+]FontForge fails to understand Aldhabi.ttf `curs` table[/+] on Jul 30, 2019
  2. khaledhosny commented on Jul 30, 2019

    @khaledhosny
    Contributor

    Does FontForge render any Arabic fonts with cursive anchors correctly? Noto Nastaliq Urdu and Aref Ruqaa use them, if you need free fonts to test (can type Arabic on my FontForge for some reason so can’t test).

  3. ctrlcctrlv commented on Jul 31, 2019

    @ctrlcctrlv
    MemberAuthor

    I don't know why I thought Noto Urdu worked, it doesn't. Does Metrics View simply not support cursive attachment?

  4. khaledhosny commented on Jul 31, 2019

    @khaledhosny
    Contributor

    Probably, or it gets RTL positioning wrong which it almost always does. That beast should be ported to HarfBuzz, but I’m not volunteering that.

  5. changed the title [-]FontForge fails to understand Aldhabi.ttf `curs` table[/-] [+]Metrics View does not show `curs` correctly (perhaps only for RTL scripts?)[/+] on Jul 31, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions