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.

[varLib] warn when using rvrn substitution for glyphs without codepoint?

See original GitHub issue

Given how rvrn is misdesigned to go first instead of last, it can as far as I understand only sensibly be used for glyphs with a Unicode codepoint, i.e. something that is not the result of another substitution. Maybe varLib should log a warning about this when encountering an input glyph without a codepoint and suggest to either use rclt or manually write out the variation substitution chains in the feature file?

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:6 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
madigcommented, Feb 18, 2021

Already done in a certain PR in a certain secret repo.

1reaction
justvanrossumcommented, Feb 1, 2021

While I agree that rvrn is close to useless for real use, I have since learned that its mere existence is due to the specced behavior: without early processing (“before anything else”), there would be no need for rvrn at all, as the remaining behavior can be done via rclt or rlig. (Paraphrasing John Hudson, who explained it to me patiently while I was still foaming with rage 😃 )

That said, maybe indeed such a warning would be good.

(Note that rclt still doesn’t work in most Adobe apps, another thing worthy of some foaming rage.)

Read more comments on GitHub >

github_iconTop Results From Across the Web

Why does changing the encoding not work in pdfTeX for ...
To me, reencoding is replacing glyph->codepoint mapping which is in Type1 font by default with new glyph->codepoint mapping, where order of ...
Read more >
fonttools/NEWS.rst at main
A library to manipulate font files from Python. Contribute to fonttools/fonttools development by creating an account on GitHub.
Read more >
Source code for fontTools.subset - Read the Docs
--no-harfbuzz-repacker Always use the pure-python serializer even if uharfbuzz is ... Substitute, indices) # Now drop rules generating glyphs we don't want ...
Read more >
FontLab 7 Release Notes Part 4
The Alternative names use hyphens more often than the Friendly names. ... red lines in Font window glyph cells when no Unicode codepoint...
Read more >
unicode - Is there a "glyph not found" character?
No, there is no “glyph not found” character. Different programs use different graphic presentations. An empty narrow rectangle is a common rendering, ...
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