Separate metrics for layers?

RoboFont Forums Features Separate metrics for layers?

Tagged: 

This topic contains 2 replies, has 2 voices, and was last updated by  Niels 5 years, 7 months ago.

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #6108

    Niels
    Participant

    At the API it looks like glyph.getLayer() has its own ‘width’ attribute.

    However, in the UI the width is grayed out when a layer is activated, and programmatically setting a layer width doesn’t seem to stick, that is, either gets lost or overwrites the ‘foreground’ layer width.

    I’m working around by doing glyph.getLayer().lib[‘layer.advance’] = dict(width=some_number) but perhaps it useful to implement a ‘layers have separate metrics’ behavior just as FontLab did with its ‘mask’ layer?

    :-)

    #6112

    frederik
    Keymaster

    As the current implementation layers glyph.width is synced across all layers.
    This will change when UFO3 is fully implemented

    thanks for understanding

    #6113

    Niels
    Participant

    Okay. I think I do understand.

    So thank you for pointing out and thanks in [hopefully not indefinite] advance for doing that UFO3 implementation :D

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

You must be logged in to reply to this topic.