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.

restrict kern groups to those beginning with public.kern{1,2} prefix?

See original GitHub issue

The UFO3 spec is clear about this point:

  1. Kerning group names must begin with the appropriate prefix.

http://unifiedfontobject.org/versions/ufo3/groups.plist/

However, in our kernFeatureWriter we consider a group as a kerning group if it used in kerning.plist, either as left, right or both position.

https://github.com/googlei18n/ufo2ft/blob/b3cdd768f7d67d5f8a7e74b57fd4e28c97b40042/Lib/ufo2ft/featureWriters/kernFeatureWriter.py#L262-L277

Why is that? Is for backward compatibility with some previous UFO1-2 conventions?

Should we bother restricting the valid kerning groups to those with the right public.kern prefix only when the UFO formatVersion is 3?

Actually, i’m not even sure defcon provides a public api to retrieve the original UFO’s format. The UFOReader knows that, of course, but defcon Font hides it in a _ prefixed attribute (_ufoFormatVersion).

Issue Analytics

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

github_iconTop GitHub Comments

1reaction
adrientetarcommented, Jan 11, 2018

Sure. defcon is always ufo3 internally.

0reactions
anthrotypecommented, Jun 12, 2018

the only supported kerning groups are those prefixed with public.kern1. and public.kern2. as in UFO3 spec.

Read more comments on GitHub >

github_iconTop Results From Across the Web

groups.plist - Unified Font Object
Kerning groups must begin with standard prefixes. The prefix for groups intended for use in the first side of a kerning pair is...
Read more >
Untitled
373 caboto tr, Letters flitsen kern 12, Hr3 madhouse 80er, Lori walking dead ... We play the music ed solo mp3, Albemarle county...
Read more >
Untitled
Prea tarziu pentru noi doi, Diggin in the charts playlist, Cite the niv bible apa? ... Dr. niels biethahn, Notary public services in...
Read more >
A torture test for TEX - Public Mirror Index
Parameters that are normally positive are set negative or zero; borderline cases are pushed to the limit; deliberate errors are made in hopes...
Read more >
Net-Net® OS-E Objects and Properties Reference Guide ...
and adds the sip-fault-groups and sip-dead-groups properties. ... Procs: 75 Interval: 2 CPUs: 4 Mem: 4053M Swap: 0M Kern: 12% CPU: 0%.
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