Closed probonopd closed 4 years ago
When we add an empty lib.plist
inside the .ufo
directory
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
</plist>
then
tx -dump -0 /home/me/font-rotation/source/SeN-CB.ufo
now proceeds but later steps of the conversion fail. So it seems like we need a properly populated lib.plist
and especially a <key>public.glyphOrder</key>
.
For now being done using FontForge
Thanks to https://github.com/adobe-type-tools/afdko/issues/1130 we can now use afdko to convert ufo to otf:
/isodevice/Applications/python3.8.2-cp38-cp38-manylinux1_x86_64.AppImage -m pip install afdko
export PATH=/home/me/.local/bin/:$PATH
/isodevice/Applications/python3.8.2-cp38-cp38-manylinux1_x86_64.AppImage /home/me/.local/bin/makeotf -f /home/me/font-leutkirch/source/LeutkirchSans-Light.ufo/
ls source/LeutkirchSans-Light.otf
/isodevice/Applications/python3.8.2-cp38-cp38-manylinux1_x86_64.AppImage /home/me/.local/bin/otf2ttf /home/me/font-leutkirch/source/LeutkirchSans-Light.otf
ls source/LeutkirchSans-Light.ttf
afdko is now being used.
Adobe afdko can supposedly convert ufo to otf. Since it is a command line based tool, we could run it on Travis CI easily.
How?
What is
lib.plist
and where is it supposed to be coming from?