Strikeout values are not written to font

RoboFont Forums Bugs Strikeout values are not written to font

This topic contains 1 reply, has 2 voices, and was last updated by  frederik 6 years, 3 months ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #5920

    Jens K.
    Participant

    I noticed that the values in RFont.info.openTypeOS2StrikeoutSize and RFont.info.openTypeOS2StrikeoutPosition are not written into a generated OTF. Instead, the openTypeOS2StrikeoutSize is always the same as the postscriptUnderlineThickness and the openTypeOS2StrikeoutPosition is set to the x-height * 0.6, it looks like some kind of FDK fallback is taking place there.

    #5921

    frederik
    Keymaster

    hm, weird

    ufo2fdk adds those value correctly into the source .otf before sending it to fdk
    see https://github.com/typesupply/ufo2fdk/blob/master/Lib/ufo2fdk/outlineOTF.py#L321-L329

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.