May 30, May 24, May 18, Apr 14, Mar 5, Feb 11, Feb 6, Jan 30, Jan 26, Dec 21, Dec 2, Nov 24, Nov 3, Nov 2, Sep 27, Download the file for your platform. If you're not sure which to choose, learn more about installing packages. Warning Some features may not work without JavaScript. Please try enabling it if you encounter problems.
Search PyPI Search. Latest version Released: Dec 19, Tools to manipulate font files. Navigation Project description Release history Download files. Project links Homepage.
Maintainers anthrotype davelab6 just mmmmmm moyogo xen. The project has an MIT open-source licence. Installation FontTools requires Python 3. Optional Requirements The fontTools package currently has no required external dependencies besides the modules included in the Python Standard Library.
To use the latest available data, you can install: unicodedata2 : unicodedata backport for Python 2. Note this is not necessary if you use Python 3. Write a changelog entry for each PR, with one or two short sentences summarizing it, as well as links to the PR and relevant issues addressed by the PR.
Run python setup. This bumps the package version string, extracts the changes since the latest version from NEWS. It also commits an additional version bump which opens the main branch for the subsequent developmental cycle Push both the tag and commit to the upstream repository, by running the command git push --follow-tags.
This way, the release notes are nicely formatted as markdown, and users watching the repo will get an email notification. One day we shall automate that too. Changelog 4. Upon compile, reuse offsets to SVG documents that are identical This is experimental and subject to change until it is finalized in the Adobe FEA spec Make TTFont. PLUS operator Similar to transformPoint but ignore the translation part FontTools will require Python 3.
In particular: define COLR. They are now treated as if they are closed, like with the TTGlyphPen , Fixed call to math. Sync the code with fontPens The compaction can be run on existing fonts with fonttools otlLib. XAdvDevice without XAdvance. When not explicitly set, the latter are assumed to be 0 The Format attribute was removed in v4. Fixed two instances of DeprecationWarning: invalid escape sequence This also fixes an AttributeError while generating aalt feature , Format enum class outside of Paint class definition, now named PaintFormat.
AxisDescriptor objects. Added new setupAvar method. Support localised names for axes and named instances Requires pyobjc Add HashPointPen adapted from psautohint.
With this pen, a hash value of a glyph can be computed, which can later be used to detect glyph changes It requires the skia-pathops module. Note that removing overlaps invalidates the TrueType hinting The latter is equivalent to calling removeOverlaps on the generated static instance. The option continues to accept bool value for backward compatibility.
Set up mypy static typechecker to run automatically on CI Annotate the ttx output for a lookup with the information from the Debg table Only attempt to recovered malformed UTF data from a bytes string, not from unicode str , The regression was introduced with 4. Make them accept either list of lookups or list of lists of lookups No changes in reading or writing UFOs until an upcoming non-0 minor update of the UFO specification is published List all utilities and sub-modules with brief descriptions.
Ensure all fonttools CLI tools have help documentation The subsetter no longer drops FeatureVariationRecords that have empty substitutions as that will keep the search going and thus change the logic.
It will only drop empty records that occur at the end of the FeatureVariationRecords array Use --traceback option to show Thanks to Chris Simpkins!
No change in functionality The cu2qu. The optional cu2qu extension module can be compiled by installing Cython before installing fonttools from source i. The wheel package that is published on PyPI i. The table is required according to the OpenType spec , More color font formats will follow See They will now inherit the current lookupflag of the feature. This is what Adobe makeotf also does in this case If a single substitution involved a glyph class, we were incorrectly using only the first glyph in the class The feature index need to be remapped to point to index of the remaining features , This is a shorthand for calling featureVars.
RoundingPointPen : like the above, but using PointPen protocol. FilterPointPen : base class for filter point pens; transformPen. TransformPointPen : filter point pen to apply affine transform; recordingPen.
RecordingPointPen : records and replays point-pen commands. Note that changing the default axis position is not supported yet. The command-line script also accepts axis ranges in the form of colon-separated float values, e. Bumped format version to 4.
Fixed values e. Only the first rule per glyph is used, additional ones are ignored You can keep using fonttools 3. Also, allow the glyf table to be incomplete when dumping to XML The upcoming fonttools v4. This extends and will eventually replace varLib. Also available from the command-line as fonttools varLib. The PrivateDict data from the first region font was incorrecty used for all subsequent fonts. The bug would only affect variable CFF2 fonts with hinting , Also, fixed a merging bug when VF masters have no blends or marking glyphs , Before, the process could introduce rogue kerning values and variations for random classes against class zero everything not otherwise classed.
GlyphClassDef were being dropped when generating instance via varLib. In cffLib. Added otlLib. Calculate it automatically when compiling features with feaLib. NOTE: Windows users will have slightly fewer scripts available to them; some existing scripts written for Mac may fail due to dependencies on the Vanilla module. Did you find it helpful? Yes No. Support Apps Buy! Home Solutions. Enter your search term here Login or Signup to submit a new ticket.
Check ticket status. Viewed 2k times. I wrote a program in python 3. Improve this question. Download it from here , install the whl file with pip and use it for windows. Hope this helps — Tanmaya Meher. Very briefly, the repositories you search with pip do not include a fontTools package that is compatible with your present Python installation.
First, try installing fonttools note the lower-case. If that fails, try searching for on-line sources for the package with something like "download fonttools" and look for your Python configuration. Add a comment. Active Oldest Votes. As the documentation states : pip install fonttools It's all lowercase. Improve this answer. You can use following command as below: pip install --user fonttools.
0コメント