Code Monkey home page Code Monkey logo

glyphs-plugin-sync-metrics-keys's People

Watchers

 avatar  avatar  avatar

Forkers

schriftgestalt

glyphs-plugin-sync-metrics-keys's Issues

Sync Metrics Keys causes a glyph's info panel to reflect incorrect values

in my Glyphs 3.0.5 (3124), the first move of a point reliably fails to reflect its correct value in the info panel, but second move always reflects accurately.

less reliably: switching to another glyph leaves the wrong info window will be active (see screenshot).

I uninstalled and reinstalled every extension one-by-one. the culprit was “Sync Metrics Keys." not sure why. this isn't specific to this version of glyphs; I’ve been seeing it for the last few cutting edge versions.

Screen Shot 2022-04-11 at 9 28 32 AM

React to setting sidebearings in the main overview window

Right now the plugin only responds to updates in the editor. However, the main view also affords changing the sidebearing of glyphs. Equally, Scripts might alter the sidebearings, but that might be hard to detect without too much overhead.

Cache metrics keys and values

A major performance improvement would be to cache all metrics keys and values. When an key-glyph is updated, retrieving affected glyphs wouldn't require iterating the entire font, but could reference the glyphs requiring updating from the cache.

Perpetuate changes iteratively

Say for some reason:
n: LSB 40 RSB 40
h: LSB =n RSB =n
l: LSB =h RSB = 20

While it would be desirable for the designer to specify l's LSD directly to n, it would be great that a change to n triggers an update to h, then iteratively checks if any glyphs link to h, etc.

Syncing issue with nested components

Hello

I am running into an issue with the metric keys syncing to glyphs that have nested components. I don't think I've noticed the issue before because I may have been using automatic alignment.

I am attaching a screen recording of an example.
In the top line, the "զ" is comprised of two components (automatic alignment disabled).
In the bottom line, there is an alternate "զ" which references the զ in the top line as a component (automatic alignment disabled).
The LSB of both զS are synced with օ.

When changing the LSB of օ the LSBs of both զs change, however, the issue is that RSB of the զ in the bottom line doesn't retain the original RSB as it does in the top line.

I can counter this by locking in the RSB using "==30", however, it seems strange that it would behave differently from the top line.

The example is from Glyphs 3 – 3.0.2 (3042) but I check in G2 and it is the same.

Sidenote: The plugin is incredibly helpful and I use it constantly. Thank you for making it!

sync_metric_keys_issue.mov.zip

Syncing issue in G2

Hello again,

Following the latest plugin update (v 0.2.0), there now seems to be an issue with syncing in G2.
I've attached a simple test comparing G2 – 2.6.6 (1352) and G3 – 3.0.2 (3053)

metric_sync_plugin_issue_g2.mov

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.