ufoProcessor
ufoProcessor copied to clipboard
Python package based on fontTools.designSpaceLib for processing and generating UFO files.
These are my notes for the work that needs to be done to support [DS5](https://fonttools.readthedocs.io/en/latest/designspaceLib/index.html#version-5-0). Please discuss. ## Read and write designspace 5 * Work with the fonttools designspace descriptors,...
Hello, The function `getUFOVersion(ufoPath)` in ufoProcessor.__init__py (line 126) tries to open "metainfo.plist" as plain file. This fails if ufoPath points to a zip compressed UFO. Best Eigi
I am trying to turn the the UFOs plus Designspace at https://gitlab.gnome.org/GNOME/cantarell-fonts/tree/ufo-conversion/src into static instances, using varLib. This fails because `VariationModelMutator._normalize` does not take the axis mapping into consideration, it...
The designspace file supports [localisation of some of the names](https://github.com/fonttools/fonttools/tree/master/Doc/source/designspaceLib#localisation). These should find their way to the right nametables in the generated instances. This requires a conversion between [xml:lang codes](https://www.w3.org/International/articles/language-tags/)...
I’ve run into this issue again, and had to look it up: https://github.com/LettError/ufoProcessor/issues/53 If I understand correctly, this is caused by a basic `pip install -U ufoProcessor` grabbing an older/outdated...
I'm trying to create a UFOOperator on the fly using fonts that are open in RoboFont. I'm adding sources with `addSource` with the font object set in the SourceDescriptor. However,...
Under some conditions it should be possible to calculate meaningful values for openTypeOS2WidthClass and openTypeOS2WeightClass, when generating instances. ### openTypeOS2WidthClass `wdth` conditions: * https://learn.microsoft.com/en-us/typography/opentype/spec/os2#uswidthclass * value between 50 - 120...
Create a mutator for values in com.typemytype.robofont.italicSlantOffset. Calculate the value when making an instance UFO. + getItalicSlantOffsetMutator() collects the values from the relevant sources. + only add the value to...
If the sources have an entry for `com.typemytype.robofont.italicSlantOffset`, it would be convenient to copy this value to instances. Arguments: * the glyphs will be drawn with this offset. * RF...
I encountered an issue with ufoOperator when I started using a virtual environment and installed the package via pip. Previously, the script ran without problems outside the venv. It appears...