Skip to content

Latest commit

 

History

History
31 lines (25 loc) · 1.2 KB

gasp.md

File metadata and controls

31 lines (25 loc) · 1.2 KB

gasp table - Grid Fitting and Scan-Conversion Procedure Table

Introduced 1.0
Deprecated
Will be removed
Originator
Requirement status Optional
Dependencies

This table describes hints to the rasterizer for rendering glyphs at particular pixel-per-em sizes.

path: idl/gaspTable.md
rangeGaspBehavior
A bit mask of flags:
  • **0x1**: use grid-fitting.
  • **0x2**: use grayscale rendering.
  • **0x4**: use grid-fitting with ClearType symmetric smoothing
  • **0x8**: use ClearType smoothing
Implementation notes for font producers
  • {{GaspRange}} records should be ordered in increasing value of {{GaspRange/rangeMaxPPEM}}.
  • The final {{GaspRange}} record must have a {{GaspRange/rangeMaxPPEM}} of 0xFFFF, specifying behaviour for all sizes above the previous record.