V
V
Vadim Ushakov2022-02-27 11:58:19
Fonts
Vadim Ushakov, 2022-02-27 11:58:19

Working with fonts in python?

In general, there is a task to draw a character-by-character font with symbol markup. (borders, anchor point)

It turned out something like
621b3ccead2cd106946656.png

The minimum size of the character was guessed, but I don’t know how to get the point where the character starts. I'm using Fontforge under WSL to run. Does anyone have an option to get the beginning of a character for a box offset?

https://fontforge.org/docs/scripting/python/fontfo...

Let's say the font starts drawing from position zero. How to calculate the offset moment when exporting to an image?621b40c9efe94507176746.png

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question