Aspose::Font::TtfTables::TtfHeadTable 类
内容
[
隐藏
]TtfHeadTable class
表示 TTF Font 文件的 “head” 表。
class TtfHeadTable : public Aspose::Font::TtfTables::TtfTableBase
方法
| 方法 | 描述 |
|---|---|
| get_CheckSumAdjustment() const | 获取 uint32 checkSumAdjustment。计算方法:先将其设为 0,计算 ‘head’ 表的校验和并放入表目录,按 uint32 对整个字体求和,然后存储 B1B0AFBA - sum。‘head’ 表的校验和不会出错。这样即可。 |
| get_Created() const | 获取 longDateTime 创建的国际日期。 |
| get_Flags() const | 获取 uint16 flags。 |
| get_FontDirectionHint() const | 获取 int16 fontDirectionHint。0 混合方向字形;1 仅强左到右字形;2 同 1,但也包含中性字形;-1 仅强右到左字形;-2 同 -1,但也包含中性字形。 |
| get_FontRevision() const | 获取 由字体制造商设置的 fixed fontRevision。 |
| get_GlyphDataFormat() const | 获取 int16 glyphDataFormat,0 表示当前格式。 |
| get_IndexToLocFormat() const | 获取 int16 indexToLocFormat,0 表示短偏移,1 表示长偏移。 |
| get_LowestRecPPEM() const | 获取 uint16 lowestRecPPEM,像素单位的最小可读尺寸。 |
| get_MacStyle() const | 获取 uint16 macStyle。 |
| get_MagicNumber() const | 获取 uint32 magicNumber,设置为 0x5F0F3CF5。 |
| get_Modified() const | 获取 longDateTime 修改的国际日期。 |
| static get_Tag() | 获取表标签。 |
| get_UnitsPerEM() const | 获取 uint16 unitsPerEm,范围为 64 到 16384。 |
| get_Version() const | 固定版本 0x00010000(如果为版本 1.0)。 |
| get_XMax() const | 获取所有字形包围盒的 FWord xMax。 |
| get_XMin() const | 获取所有字形包围盒的 FWord xMin。 |
| get_YMax() const | 获取所有字形包围盒的 FWord yMax。 |
| get_YMin() const | 获取所有字形包围盒的 FWord yMin。 |
另见
- Class TtfTableBase
- Namespace Aspose::Font::TtfTables
- Library Aspose.Font for C++