MPEGGroup / OpenFontFormat

Official MPEG repository to discuss issues on Open Font Format (ISO/IEC 14496-22)
31 stars 6 forks source link

[AMD2 WD: COLR v1] Add discussion of bounding box and transformation in variable fonts #44

Closed PeterConstable closed 3 years ago

PeterConstable commented 3 years ago

In the January working draft for AMD 2, it is noted that implementations can use the base glyph bounding box to allocate memory for the bitmap in which to composed the colour glyph. Something that is not called out, however, is that the colour glyph description can include transformations that may be variable (in a variable font), and that variation of the transformation could cause portions of the colour glyph to go outside the bounding box of the default glyph.

Some content should be added to call out this issue for implementers.

PeterConstable commented 3 years ago

The draft in the Google Fonts repo has been updated to address this issue. The following is the main pull request for that change:

vlevantovsky commented 3 years ago

Proposed changes have been incorporated as part of the input contribution m56342.