adobe-type-tools / drawbotproofing Goto Github PK
View Code? Open in Web Editor NEWLicense: MIT License
License: MIT License
When the textProof
script is presented with the task of finding example sentences for every character in a large character set (-a
or --full
option) (AL5, AC3, etc.), the following Traceback occurs:
File "textProof.py", line 127, in consume_charset
paragraph_pick, remaining_charset = consume_charset(
[Previous line repeated 993 more times]
File "textProof.py", line 121, in consume_charset
character = random.choice(list(charset))
File "python3.10/random.py", line 378, in choice
return seq[self._randbelow(len(seq))]
File "python3.10/random.py", line 245, in _randbelow_with_getrandbits
k = n.bit_length() # don't use (n-1) here because n can be 1
RecursionError: maximum recursion depth exceeded while calling a Python object
This has to do with the fact that it is quite difficult to find in-use examples for some characters.
f.glyphOrder
is not required to contain all glyphs in the UFO, so we may end up missing some in the proof (to-do)
For the text proofs (all proofs?) it would be nice to have a command line option to turn off kerning.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.