fontmgr¶
fontmgr - Wrapped MacOS APIs
- class fontmgr.FMetricRec¶
A uctypes structure
- ascent: Fixed¶
- descent: Fixed¶
- leading: Fixed¶
- widMax: Fixed¶
- wTabHandle: Handle¶
- class fontmgr.WidthTable¶
A uctypes structure
- tabData: Fixed[256]¶
- tabFont: Handle¶
- fHand: Handle¶
- usedFam: Boolean¶
- aFace: Byte¶
- class fontmgr.FMOutput¶
A uctypes structure
- fontHandle: Handle¶
- bold: Byte¶
- italic: Byte¶
- ulOffset: Byte¶
- ulShadow: Byte¶
- ulThick: Byte¶
- shadow: Byte¶
- extra: SignedByte¶
- ascent: Byte¶
- descent: Byte¶
- widMax: Byte¶
- leading: SignedByte¶
- unused: Byte¶
- class fontmgr.FontRec¶
A uctypes structure
- fontmgr.GetFNum(fnam: ConstStringPtr, fnum: array.array['h']) None¶
- fontmgr.FontMetrics(metrp: FMetricRec) None¶
- fontmgr.GetOutlinePreferred() Boolean¶
- fontmgr.OutlineMetrics(byte_count: int16_t, text: Ptr, numer: Point, denom: Point, y_max: int16_t, y_min: int16_t, aw_array: Fixed, lsb_array: Fixed, bounds_array: Rect) OSErr¶
- fontmgr.GetPreserveGlyph() Boolean¶
- fontmgr.FlushFonts() OSErr¶