Integers

RoboFont Forums Help / General Integers

Tagged: 

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

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

    Bas
    Participant

    While scaling (through script), nodes are not integers anymore, also not the sidebearings. I’m not sure, but ‘somehow I think I remember’ that the Type 1 spec only allows integers for point coordinates. No?

    #4230

    frederik
    Keymaster

    It true that scaling would result in floating coordinates. But I would rather see advantages in keeping the coordinates with floating numbers. If one has a set of transformations the result would be much better if floating numbers are used instead round the coordinates after each step.

    use glyph.round()

    Output will always round all coordinates.

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

You must be logged in to reply to this topic.