Skip to content

descent attributes are always multiplied by 2 #1

Description

@tx46
for prop in ["os2_windescent", "os2_typodescent", "hhea_descent"]:
    adjust(font, prop, args["factor"] * 2)

I don't think this is correct. Either way, I get more consistent and better results when changing it to:

for prop in ["os2_windescent", "os2_typodescent", "hhea_descent"]:
    adjust(font, prop, args["factor"])

Using your absolutely lovely script to patch fonts for Emacs.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions