Afdko

Latest version: v4.0.2

Safety actively analyzes 690739 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 10 of 18

2.5.63782

-------------------------------

- [tx] Fix bug in reading TTFs. Font version was taken from the name
table, which can include a good deal more than just the font
version. Changed to read fontRevision from the head table.
- [detype1] Changed to wrap line only after an operator name, so
that the coordinates for a command and the command name would stay
on one line.
- [otf2otc] Pad table data with zeros so as to align tables on a 4
boundary. Submitted by Cosimo Lupo.

2.5.63718

-------------------------------

- [ufoTools] Fixed a bug with processing flex hints that caused
outline distortion.
- [compareFamily] Fixed bug in processing hints: it would miss
fractional hints, and so falsely report a glyph as having no hints.
- [compareFamily] Support processing CFF font without a FullName
key.
- [checkOutlinesUFO] Coordinates are written as integers, as well as
being rounded.
- [checkOutlinesUFO] Changed save function so that only the
processed glyph layer is saved, and the default layer is not
touched.
- [checkOutlinesUFO] Changed so that XML type is written as
'UTF-8' rather than 'utf-8'. This was actually a change in the
FontTools xmlWriter.py module.
- [checkOutlinesUFO] Fixed typos in usage and help text.
- [checkOutlinesUFO] Fixed hash dictionary handling so that it will
work with autohint, when skipping already processed glyphs.
- [checkOutlinesUFO] Fixed false report of overlap removal when only
change was removing flat curve
- [checkOutlinesUFO] Fixed stack dump when new glyph is seen which
is not in hash map of previously processed glyphs.
- [checkOutlinesUFO] Added logic to make a reasonable effort to sort
the new glyph contours in the same order as the source glyph
contours, so the final contour order will not depend on (x,y)
position. This was needed because the pyClipper library (which is
used to remove overlaps) otherwise sorts the contours in (x,y)
position order, which can result in different contour order in
different instance fonts from the same set of master fonts.
- [makeInstancesUFO] Changed so that the option -i (selection of
which instances to build) actually works.
- [makeInstancesUFO] Removed dependency on the presence of
instance.txt file.
- [makeInstancesUFO] Changed to call checkOutlinesUFO rather than
checkOutlines
- [makeInstancesUFO] Removed hack of converting all file paths to
absolute file paths: this was a work-around for a bug in
robofab-ufo3k that is now fixed.
- [makeInstancesUFO] Removed all references to old instances.txt
meta data file.
- [makeInstancesUFO] Fixed so that current dir does not have to be
the parent dir of the design space file.
- Merged fixes from the GitHub AFDKO open source repo.
- Updated to latest version defcon, fontMath, robofab, and
mutatorMath.
- Fix for Yosemite (Mac OSX 10.10) in FDK/Tools/setFDKPaths. When an
AFDKO script is ran from another Python interpreter, such as the one
in RoboFont, the parent Python interpreter may set the Unix
environment variables PYTHONHOME and PYTHONPATH. This can cause the
AFDKO Python interpreter to load some modules from its own library,
and others from the parent interpreters library. If these are
incompatible, a crash ensues. The fix is to unset the variables
PYTHONHOME and PYTHONPATH before the AFDKO interpreter is called.
Note: As a separate issue, under Mac OSX 10.10, Python calls to FDK
commands will only work if the calling app is run from the
command-line (e.g: `open /Applications/RoboFont.app`), and the
argument `shell="True"` is added to the subprocess module call to
open a system command. I favor also adding the argument
`stderr=subprocess.STDOUT`, else you will not see error messages
from the Unix shell. Example:
`log = subprocess.check_output( "makeotf -u", stderr=subprocess.STDOUT, shell=True)`.

2.5.63408

-------------------------------

- [spot] Fixed error message in GSUB chain contextual 3 proof file
output; was adding it as a shell comment to the proof output,
causing conversion to PDF to fail.
- [makeotf] Increased the limit for glyph name length from 31 to 63
characters. This is not encouraged in shipping fonts, as there may
be text engines that will not accept glyphs with more than 31
characters. This was done to allow building test fonts to look for
such cases.

2.5.63209

-------------------------------

- [makeInstancesUFO] Added new script to build instance fonts from
UFO master design fonts. This uses the design space XML file
exported by Superpolator 3 in order to define the design space, and
the location of the masters and instance fonts in the design space.
The definition of the format of this file, and the library to use
the design space file data, is in the open source mutatorMath
library on GitHub, and maintained by Erik van Blokland. There are
several advantages of the Superpolator design space over the
previous **makeInstances** script, which uses the Type 1 Multiple
Master font format to hold the master designs. The new version a)
allows different master designs and locations for each glyph, and b)
allows master designs to be arbitrarily placed in the design space,
and hence allows intermediate masters. In order to use the
mutatorMath library, the AFDKO-supplied Python now contains the
robofab, fontMath, and defcon libraries, as well as mutatorMath.
- [ttx] Updated to the latest branch of the fontTools library as
maintained by Behdad Esfahbod on GitHub. Added a patch to cffLib.py
to fix a minor problem with choosing charset format with large glyph
sets.
- Updated four Adobe-CNS1-\* ordering files.

2.5.63164

-------------------------------

- [makeotf] Now detects `IsOS/2WidthWeightSlopeOnly` as well as the
misspelled `IsOS/2WidthWeigthSlopeOnly`, when processing the
fontinfo file.
- [makeotfexe] Changed behavior when 'subtable' keyword is used in
a lookup other than class kerning. This condition now triggers only
a warning, not a fatal error. Change requested by FontForge
developers.
- [makeotf] Fixed bug which prevented making TTF fonts under
Windows. This was a problem in quoting paths used with the 'ttx'
program.
- Fixed installation issues: removed old Windows install files from
the Windows AFDKOPython directory. This was causing installation of
a new AFDKO version under Windows to fail when the user's PATH
environment variable contained the path to the AFDKOPython
directory. Also fixed command file for invoking ttx.py.
- Updated files used for building ideographic fonts with Unicode IVS
sequences:
`FDK/Tools/SharedData/Adobe Cmaps/Adobe-CNS1/Adobe-CNS1_sequences.txt`
and `Adobe-Korea1_sequences.txt`.

2.5.62754

-------------------------------

- [IS/addGlobalColor] When using the '-bc' option, fixed bug with
overflow for CID value in dumping glyph header. Fixed bug in IS to
avoid crash when logic for glyphs \> 72 points is used.
- [makeotfexe] Fixed bug that applied '-gs' option as default
behavior, subsetting the source font to the list of glyphs in the
GOADB.

Page 10 of 18

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.