question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

"Indic" glyph separation breaks mkmk

See original GitHub issue

In the mark feature writer, marks belonging to Indic glyphs are placed in abvm/blwm features and other marks are positioned using mark/mkmk.

However… the Sharada script (which goes through the USE and is not considered “Indic” by ufo2ft) uses the Devanagari udatta (U+0951). When a Sharada font is compiled with ufo2ft, all the Sharada mark positioning rules go into mark/mkmk and the “Indic” rules (containing udatta) go into abvm. The glyphs are separated out into Indic/non-Indic before creating these rules, and this means there is no interaction between Sharada marks and Devanagari marks; i.e. there is no way to place a udatta on a Sharada mark such as a Candrabindu.

I don’t know if that’s linguistically something that you might want to do, but e.g. Noto Sans Sharada allows it, positioning all marks in the mkmk feature.

I don’t know how best to fix this:

  • Add USE scripts to the indicScripts list?
  • Provide a way of opting out of the abvm/blwm writer?

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:5 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
simoncozenscommented, Dec 13, 2021

I’ll do a PR in a minute.

0reactions
anthrotypecommented, Dec 13, 2021

yes that one. Let’s add them all then

Read more comments on GitHub >

github_iconTop Results From Across the Web

Glyphs 3 Handbook
Glyphs 3 is a professional Mac application for creating OpenType fonts. It allows you to draw, edit and test letter shapes in a...
Read more >
Creating and supporting OpenType fonts for the Universal ...
This document presents information that will help font developers in creating OpenType fonts for complex scripts included in the Unicode ...
Read more >
Diff - 1924134^! - platform/external/freetype - Git at Google
A solution for standard build mode will be delayed until HarfBuzz gets split into two libraries to avoid mutual dependencies between FreeType and...
Read more >
Typographic character units in complex scripts - W3C
The glyph used for the consonant 'r' in Malayalam has an inherent ... to split apart the consonants that make up a cluster...
Read more >
Example usage for com.facebook.react.bridge ReadableMap hasKey
public ReadableMap getGlyphFont() { String fontFamily = null;//from w w w . j a v a 2 s ... thus, characters separated by...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found