Changelog¶
All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
Unreleased¶
Nothing yet.
v2.1.0 - 2025-02-12¶
Added:
Complete type annotations for the whole library.
effects.expand()for increasing the resolution of a font, along with thebdflib-expandcommand-line tool to wrap it.A new
bdflib-validatecommand-line tool to exercise the rewritten parser (described below).Font.get()to match the existingFont.__getitem__()method.
Changed:
reader.read_bdf()is much more robust, reports errors with a well-definedreader.ParseErrorclass (instead of randomAssertionErrorandValueErrorexceptions), and can report warnings as well as errors. If your code did not check exceptions too closely (and it probably shouldn’t have), it should still work just fine.
Fixed:
Font.new_glyph_from_data()now raisesGlyphExistsbefore adding the glyph to the font, rather than after.
v2.0.1 - 2022-01-14¶
Fixed:
Fixed the v2.0.0 changelog entry.
v2.0.0 - 2022-01-14¶
Added:
This changelog!
Documentation for the
FontFiller.missing_charsandFontFiller.unknown_classesattributes.Fontnow stores the standard BDF fields as attributes (name,ptSize,xdpi,ydpi).bdflib.xlfdmakes it easy to check whether a font conforms to the X Logical Font Descriptor conventions, and to automatically fix many conformance problems.
Changed:
Now that
Fontstores BDF fields in standard attributes, and now thatbdflib.xlfdexists, theFontclass no longer needs to assume BDF custom properties are used for anything in particular. In particular, the standard BDF fields are no longer mirrored to XLFD-style properties, there’s no special property names that cannot be overwritten, and XLFD properties will no longer be automatically synthesised when writing out a BDF font.The
Glyphconstructor (and thereforeFont.new_glyph_from_data()) now takes bitmap data in the form of a list of integers, not the hex-encoded string used in the BDF on-disk format.
Removed:
Support for Python 2.x
Support for fonts whose point-size (the first parameter to the SIZE field in the font header) is a non-integer. I don’t know why I ever thought this was a good idea.
v1.1.3 - 2019-04-23¶
Fixed:
We now support BDF comments in more places (although all the comments in a file are still concatenated)
We now support values being separated from keywords by more than a single space.
v1.1.2 - 2019-04-22¶
Added:
The examples in the API reference and tutorial are now automatically tested.
Fixed:
The documentation now includes the tutorial.bdf file used by the tutorial.
v1.1.1 - 2018-11-19¶
Changed:
Set the package long description to the README contents.
v1.1.0 - 2018-11-19¶
Added:
Standalone documentation, including a tutorial
The
Glyph.iter_pixels()method, making it easier to get at the glyph bitmap data.
Fixed:
FontFillernow supports supports generating spacing characters made from only combining characters.
v1.0.4 - 2016-10-19¶
Added:
Support for Python 3.
v1.0.3 - 2016-09-25¶
Fixed:
No longer breaks on BDF files containing blank lines.
v1.0.2 - 2016-03-27¶
Added:
a README
Support for running tests with Tox
Fixed:
No longer requires to be installed from a Git checkout.
v1.0.1 - 2015-04-06¶
Changed:
Repository moved from Gitorious to GitLab
v1.0.0 - 2009-03-22¶
Initial release.