Comments (5)
Ah yep this is out of date I since made a version with a kerning group dictionary... will upload eventually
from wei-glyphs-scripts.
Trying these scripts again for G3 – 3.0.3 (3091)
First ran into this error:
AttributeError: 'NSKVONotifying_GSFont' object has no attribute 'kerningDict'
Adding this code removed the error:
if Glyphs.versionNumber >= 3.0:
kernDict = thisFont.kerning
else:
kernDict = thisFont.kerningDict()
However, now I am getting this:
File "objc/_convenience_mapping.pyc", line 19, in __getitem__objectForKey_
File "objc/_convenience.pyc", line 118, in container_unwrap
The related Show Kerning Pairs as Left/Right Glyphs are also not working. They run but the result is an empty tab.
Would it be possible to update these scripts? Or, any suggestions on how to solve these errors?
from wei-glyphs-scripts.
Ok interesting, do you get the same error when you run "Show Kerning Pairs Context.py" ? Because I don't get the error. BUT if I copy the same code to another file with a different menu title, I do... strange. Going to look into it.
from wei-glyphs-scripts.
Ok these should work! Try these...
from wei-glyphs-scripts.
The "Show Kerning Pairs" seems to be semi-working now. For some reason, it is working for Latin but when I try it for Armenian the right pair is blank.
I was fiddling around with this more yesterday. Using Toshi's "New Tab with Unlocked Kerning Pairs" as a reference...I got something working. Haven't had ample time to test it or clean up but the code but feel free to check it out.
Show Kerning Pairs – GJ (draft).py.zip
from wei-glyphs-scripts.
Related Issues (2)
- Compare Fonts script? HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from wei-glyphs-scripts.