View Single Post
Old 08-27-2024, 05:43 PM   #27
BeckyEbook
Guru
BeckyEbook ought to be getting tired of karma fortunes by now.BeckyEbook ought to be getting tired of karma fortunes by now.BeckyEbook ought to be getting tired of karma fortunes by now.BeckyEbook ought to be getting tired of karma fortunes by now.BeckyEbook ought to be getting tired of karma fortunes by now.BeckyEbook ought to be getting tired of karma fortunes by now.BeckyEbook ought to be getting tired of karma fortunes by now.BeckyEbook ought to be getting tired of karma fortunes by now.BeckyEbook ought to be getting tired of karma fortunes by now.BeckyEbook ought to be getting tired of karma fortunes by now.BeckyEbook ought to be getting tired of karma fortunes by now.
 
BeckyEbook's Avatar
 
Posts: 846
Karma: 3341026
Join Date: Jan 2017
Location: Poland
Device: Various
I don't know if I understood correctly that you want to scale all these shown values. Because just changing those two (sTypoLineGap in the OS2 table and lineGap in the hhea table) is unlikely to work, or at least I haven't seen any difference.

In addition, the code now changes the internal name of the font by adding a scale to it, which is very useful for choosing your favorite spacing.

The attached code scales all the elements you mentioned.
Attached Files
File Type: py ChangeMonoFont-v2.py (1.4 KB, 103 views)
BeckyEbook is offline   Reply With Quote