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.

deprecate collecting kern classes from features.fea?

See original GitHub issue

The KernFeatureWriter has a _collectFeaClasses that uses a regular expression to parse the features.fea text and collect all the @MMK_L_ and @MMK_R_ prefixed glyph classes. Apart from the problem that this doesn’t take into account include statements… why do that when UFO has groups.plist, where one can define public.kern1 and public.kern2 classes?

Do people actually use this feature? If so, why don’t they use groups.plist to store their kerning classes and instead write them as FEA classes?

I can’t remember the original purpose of this feature. Was it because some kerning tool (Metrics Machine?) used to do that?

I would like to simplify the API of the kern feature writer (before it actually gets more complex as we add more feature to it, e.g. dist, or refactoring RTL support), so I was thinking of dropping this.

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:10 (7 by maintainers)

github_iconTop GitHub Comments

1reaction
moyogocommented, Jan 11, 2018

@anthrotype I think it’s fine to not collect even if there is a kern feature in the features file. UFOs should use the standard UFO kerning groups for simple kerning.

0reactions
anthrotypecommented, May 23, 2018

only UFO3 style kerning (public.kern1.* and public.kern2.* prefixes in groups.plist and kerning.plist) is now supported.

Read more comments on GitHub >

github_iconTop Results From Across the Web

mekkablue/Glyphs-Scripts: Python scripts for the ... - GitHub
Import Kerning from .fea File: Choose an .fea file containing a kern feature in AFDKO code, and this script will attempt to import...
Read more >
An overview of the Feature Class toolset—ArcGIS Pro
ArcGIS geoprocessing toolset containing tools designed to perform basic feature class management including creating, appending, integrating, and updating ...
Read more >
DTL OTMaster Manual - FontLab Help Center
With OpenType fonts, kerning information better be provided by way of a kern feature in the GPOS table. This can deal with 'normal'...
Read more >
Generalization error of random features and kernel methods
hypercontractivity and kernel matrix concentration. Song Mei ... We define the random features function class to be. FRF,N (Θ) =.
Read more >
Absolute Calibration Strategies for the Hydrogen Epoch of ...
This means that each antenna's gain kernel, or the gain's footprint in delay ... Furthermore, the larger collecting area provided by a dish,...
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