Comments (5)
I think you are using an older version of ttxn.py, with a recent version of the GitHub FontTools Python module. In the current version , the 'buildClasses()' function starts at line 1617, the call to self.classHandlers.get() is at line 1631, and looks like:
handler = self.classHandlers.get( (lookup.LookupType, format), None)
I had to make changes in this function when building the latest public FDK release, as the FontTools changed so that the earlier version did not work, in exactly the way that you report.
Please the download the latest FDK, and run the 'FinishInstallOSX' script.
from afdko.
Solved it! Thanks
from afdko.
@readroberts Humm, is that something I need to fix in fonttools? I don't fully understand. What did you have to change? Thanks.
from afdko.
This is a bug in the FDK program ttxn, not in fontTools. ttxn reaches deep into the fontTools internals, and was using an object attribute that was removed sometime in the last several years. The latest FDK release is now up to date with the current version of fontTools.
from afdko.
Thanks Read.
from afdko.
Related Issues (20)
- [otfstemhist] – barfs w/o any arguments HOT 1
- [otfstemhist] cannot specify glyphs with dashes in name HOT 4
- [otfstemhist] cannot specify glyphs via GID HOT 1
- [otfstemhist] cannot specify glyphs via external glyph list
- [otfstemhist] -h reports unrelated options, wrong tool name HOT 1
- Unify format of external glyph names files across AFDKO tools
- [otfautohint/otfstemhist] Add tests
- use TTX tools to compile a otf file HOT 10
- [spot] alternate metrics ignored in class kern proof
- [otfautohint] (minor) outdated tool names
- [otfautohint] points “optimized away” in flex-like scenario (print only) HOT 15
- [tx] Crashing without error when using -decid option in -t1 mode
- Reordering of ligature substitution rules is considered harmful HOT 10
- [otfautohint] Mishinting of glyph? HOT 7
- [otfautohint] Consider adding flag to selectively skip overlap processing for some glyphs
- [makeotf] silently fails when GOADB has unexpected data
- [makeinstancesufo] & [checkoutlinesufo] multiprocessing vs progress bar, output improvement
- building fails on manjaro HOT 2
- [makeotf] substitution without target item does not fail HOT 8
- Pytest Error Encountered During AFDKO Compilation on Arch Linux HOT 6
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 afdko.