friendly font operations on top of fontTools.
MIT License
Bot releases are hidden (Show)
get_svg
method.is_color
method.is_monospace
method accuracy by adding threshold
option.Published by fabiocaccamo 4 months ago
get_format
with .otf
fonts with CFF2
table.pre-commit
hooksPublished by fabiocaccamo 4 months ago
get_family_classification
and set_family_classification
methods.slugify
utility function.pre-commit
hooksPublished by fabiocaccamo 4 months ago
is_monospace
method.mypy
to pre-commit
.pyproject
Ruff
conf warnings.pre-commit
hooksPublished by fabiocaccamo 5 months ago
is_monospace
method.mypy
to pre-commit
.pyproject
Ruff
conf warnings.pre-commit
hooksPublished by fabiocaccamo 8 months ago
pre-commit
hooksPublished by fabiocaccamo 9 months ago
units_per_em
, y_max
, y_min
, ascent
, descent
, line_gap
, typo_ascender
, typo_descender
, typo_line_gap
, cap_height
, x_height
, win_ascent
, win_descent
.Published by fabiocaccamo 9 months ago
get_vertical_metrics
and set_vertical_metrics
methods. (#150)Published by fabiocaccamo 10 months ago
sanitize
method.Published by fabiocaccamo 10 months ago
TypeError
: '<' not supported between instances of 'NoneType' and 'int'.Published by fabiocaccamo 10 months ago
get_variable_instance_by_style_name
method.Published by fabiocaccamo 11 months ago
Python 3.12
support.get_family_name
/ set_family_name
methods.get_filename
method.get_style_name
/ set_style_name
methods.save_variable_instances
method. #116rename
method: rename style_flags
argument to update_style_flags
.save
method: output font filename is generated using get_filename
method when target path is a directory.to_static
method: add support to update_names
(default True) and update_style_flags
(default True) arguments.to_static
method: set italic
style flag based on ital
/ slnt
coordinates values.get_variable_instance_closest_to_coordinates
: if coordinates do not specify some axes, axes default value is used for lookup.to_static
method: prevent inplace
option override.Ruff
formatter instead of Black
and isort
.fonttools
, pillow
and python-fsutil
).Published by fabiocaccamo about 1 year ago
Font.from_collection
class method. #49fontbro.Font
/ fontTools.ttLib.TTFont
objects.clone
method on a Font
object created using a fileobject. #118Published by fabiocaccamo about 1 year ago
fonttools
, pillow
and tox
).Published by fabiocaccamo over 1 year ago
filepath
of type pathib.Path
in constructor. #83 (#84)style_name
instead of coordinates
. #82 (#85)slugify
string.get_euclidean_distance
function to fontbro.math
module.fonttools[pathops,unicode,woff]
from 4.39.3
to 4.39.4
. (#79)pre-commit
hooks. (#80)Published by fabiocaccamo over 1 year ago
Font Bakery
error: "Verify that each group of fonts with the same nameID 1 has maximum of 4 fonts".Published by fabiocaccamo over 1 year ago
Font Bakery
error: "font name does not begin with the font family name".Published by fabiocaccamo over 1 year ago
Published by fabiocaccamo over 1 year ago
family_name
name record renaming."