|
From: Mauro S. <mau...@ic...> - 2026-08-25 17:07:47
|
I've never used Python scripts; I'm curious where I could find some examples, especially for managing composite glyphs. Or should I create one myself? Because I don't know Python. :( I opened the file you indicated, but I don't understand anything... Il 24/08/26 17:04, Thales Martins ha scritto: > I'm sorry. I wrote a reply earlier that didn't pass through the > moderation because I attached a file. What I said was that I would > move to the Python's scripting functionality of FontForge to resolve > this issue. I'm pretty sure it delivers access to all the variables > required to do any type of composite generation. And, if you want, you > can go to FontForge's source code and look into the file > "fvcomposite.c", because that's probably where the bug you are > referring to can be found. > > There's one more hack that you can try. You could get a professional > font that already contains all the small caps that you want in > composite form, and then replace the splines of that with your splines > by copying and pasting(open both fonts through the same instance of > FontForge, otherwise the copying and pasting won't work). > |