フィールド | 型 | コメント |
Header | RECORDHEADER | タグタイプ = 10 |
FontID | UI16 | ID for this font character |
OffsetTable | UI16[nGlyphs] | Array of shape offsets |
GlyphShapeTable | SHAPE[nGlyphs] | Array of shapes |
フィールド | 型 | コメント |
Header | RECORDHEADER | タグタイプ = 13. |
FontID | UI16 | Font ID this information is for. |
FontNameLen | UI8 | Length of font name. |
FontName | UI8[FontNameLen] |
Name of the font (see following). |
FontFlagsReserved | UB[2] | Reserved bit fields. |
FontFlagsSmallText | UB[1] |
SWF 7 file format or later: Font is small. Character glyphs are aligned on pixel boundaries for dynamic and input text. |
FontFlagsShiftJIS | UB[1] | ShiftJIS character codes. |
FontFlagsANSI | UB[1] | ANSI character codes. |
FontFlagsItalic | UB[1] | Font is italic. |
FontFlagsBold | UB[1] | Font is bold. |
FontFlagsWideCodes | UB[1] |
If 1, CodeTable is UI16 array; otherwise, CodeTable is UI8 array. |
CodeTable |
If FontFlagsWideCodes, UI16[nGlyphs] Otherwise, UI8[nGlyphs] |
Glyph to code table, sorted in ascending order. |
フィールド | 型 | コメント |
Header | RECORDHEADER | タグタイプ = 62. |
FontID | UI16 | Font ID this information is for. |
FontNameLen | UI8 | Length of font name. |
FontName | UI8[FontNameLen] | Name of the font. |
FontFlagsReserved | UB[2] | Reserved bit fields. |
FontFlagsSmallText | UB[1] |
SWF 7 or later: Font is small. Character glyphs are aligned on pixel boundaries for dynamic and input text. |
FontFlagsShiftJIS | UB[1] | Always 0. |
FontFlagsANSI | UB[1] | Always 0. |
FontFlagsItalic | UB[1] | Font is italic. |
FontFlagsBold | UB[1] | Font is bold. |
FontFlagsWideCodes | UB[1] | Always 1. |
LanguageCode | LANGCODE | Language ID. |
CodeTable | UI16[nGlyphs] |
Glyph to code table in UCS-2, sorted in ascending order. |
フィールド | 型 | コメント |
Header | RECORDHEADER | タグタイプ = 48. |
FontID | UI16 | ID for this font character. |
FontFlagsHasLayout | UB[1] |
Has font metrics/layout information. |
FontFlagsShiftJIS | UB[1] | ShiftJIS encoding. |
FontFlagsSmallText | UB[1] |
SWF 7 or later: Font is small. Character glyphs are aligned on pixel boundaries for dynamic and input text. |
FontFlagsANSI | UB[1] | ANSI encoding. |
FontFlagsWideOffsets | UB[1] | If 1, uses 32 bit offsets. |
FontFlagsWideCodes | UB[1] |
If 1, font uses 16-bit codes; otherwise font uses 8 bit codes. |
FontFlagsItalic | UB[1] | Italic Font. |
FontFlagsBold | UB[1] | Bold Font. |
LanguageCode | LANGCODE |
SWF 5 or earlier:always 0 SWF 6 or later: language code |
FontNameLen | UI8 | Length of name. |
FontName | UI8[FontNameLen] |
Name of font (see DefineFontInfo). |
NumGlyphs | UI16 |
Count of glyphs in font. May be zero for device fonts. |
OffsetTable |
If FontFlagsWideOffsets, UI32[NumGlyphs] Otherwise UI16[NumGlyphs] |
Same as in DefineFont. |
CodeTableOffset |
If FontFlagsWideOffsets, UI32 Otherwise UI16 |
Byte count from start of OffsetTable to start of CodeTable. |
GlyphShapeTable | SHAPE[NumGlyphs] | Same as in DefineFont. |
CodeTable |
If FontFlagsWideCodes, UI16[NumGlyphs] Otherwise UI8[NumGlyphs] |
Sorted in ascending order. Always UCS-2 in SWF 6 or later. |
FontAscent | If FontFlagsHasLayout, SI16 | Font ascender height. |
FontDescent | If FontFlagsHasLayout, SI16 | Font descender height. |
FontLeading | If FontFlagsHasLayout, SI16 |
Font leading height (see following). |
FontAdvanceTable |
If FontFlagsHasLayout, SI16[NumGlyphs] |
Advance value to be used for each glyph in dynamic glyph text. |
FontBoundsTable |
If FontFlagsHasLayout, RECT[NumGlyphs] |
Not used in Flash Player through version 7 (but must be present). |
KerningCount | If FontFlagsHasLayout, UI16 |
Not used in Flash Player through version 7 (always set to 0 to save space). |
FontKerningTable |
If FontFlagsHasLayout, KERNINGRECORD [KerningCount] |
Not used in Flash Player through version 7 (omit with KerningCount of 0). |
フィールド | 型 | コメント |
Header | RECORDHEADER | タグタイプ = 75. |
FontID | UI16 | ID for this font character. |
FontFlagsHasLayout | UB[1] |
Has font metrics/layout information. |
FontFlagsShiftJIS | UB[1] | ShiftJIS encoding. |
FontFlagsSmallText | UB[1] |
SWF 7 or later: Font is small. Character glyphs are aligned on pixel boundaries for dynamic and input text. |
FontFlagsANSI | UB[1] | ANSI encoding. |
FontFlagsWideOffsets | UB[1] | If 1, uses 32 bit offsets. |
FontFlagsWideCodes | UB[1] | Must be 1. |
FontFlagsItalic | UB[1] | Italic Font. |
FontFlagsBold | UB[1] | Bold Font. |
LanguageCode | LANGCODE |
SWF 5 or earlier: always 0 SWF 6 or later: language code |
FontNameLen | UI8 | Length of name. |
FontName | UI8[FontNameLen] |
Name of font (see DefineFontInfo). |
NumGlyphs | UI16 |
Count of glyphs in font. May be zero for device fonts. |
OffsetTable |
If FontFlagsWideOffsets, UI32[NumGlyphs] Otherwise UI16[NumGlyphs] |
Same as in DefineFont. |
CodeTableOffset |
If FontFlagsWideOffsets, UI32 Otherwise UI16 |
Byte count from start of OffsetTable to start of CodeTable. |
GlyphShapeTable | SHAPE[NumGlyphs] | Same as in DefineFont. |
CodeTable | UI16[NumGlyphs] |
Sorted in ascending order. Always UCS-2 in SWF 6 or later. |
FontAscent | If FontFlagsHasLayout, SI16 | Font ascender height. |
FontDescent | If FontFlagsHasLayout, SI16 | Font descender height. |
FontLeading | If FontFlagsHasLayout, SI16 |
Font leading height (see following). |
FontAdvanceTable |
If FontFlagsHasLayout, SI16[NumGlyphs] |
Advance value to be used for each glyph in dynamic glyph text. |
FontBoundsTable | If FontFlagsHasLayout,RECT[NumGlyphs] |
Not used in Flash Player through version 7 (but must be present). |
KerningCount | If FontFlagsHasLayout, UI16 |
Not used in Flash Player through version 7 (always set to 0 to save space). |
FontKerningTable |
If FontFlagsHasLayout, KERNINGRECORD [KerningCount] |
Not used in Flash Player through version 7 (omit with KerningCount of 0). |
フィールド | 型 | コメント |
Header | RECORDHEADER | タグタイプ = 73. |
FontID | UI16 |
ID of font to use, specified by DefineFont3. |
CSMTableHint | UB[2] |
Font thickness hint. Refers to the thickness of the typical stroke used in the font. 0 = thin 1 = medium 2 = thick Flash Player maintains a selection of CSM tables for many fonts. However, if the font is not found in Flash Player's internal table, this hint is used to choose an appropriate table. |
Reserved | UB[6] | Must be 0. |
ZoneTable | ZONERECORD[GlyphCount] |
Alignment zone information for each glyph. |
フィールド | 型 | コメント |
NumZoneData | UI8 |
Number of ZoneData entries. Always 2. |
ZoneData | ZONEDATA[NumZoneData] |
Compressed alignment zone information. |
Reserved | UB[6] | Must be 0. |
ZoneMaskY | UB[1] |
Set if there are Y alignment zones. |
ZoneMaskX | UB[1] |
Set if there are X alignment zones. |
フィールド | 型 | コメント |
AlignmentCoordinate | FLOAT16 |
X (left) or Y (baseline) coordinate of the alignment zone. |
Range | FLOAT16 |
Width or height of the alignment zone. |
フィールド | 型 | コメント |
FontKerningCode1 |
If FontFlagsWideCodes, UI16 Otherwise UI8 |
Character code of the left character. |
FontKerningCode2 |
If FontFlagsWideCodes, UI16 Otherwise UI8 |
Character code of the right character. |
FontKerningAdjustment | SI16 |
Adjustment relative to left character’s advance value. |
フィールド | 型 | コメント |
Header | RECORDHEADER | タグタイプ = 88 |
FontID | UI16 |
ID for this font to which this refers |
FontName | STRING |
Name of the font. For fonts starting as Type 1, this is the PostScript FullName. For fonts starting in sfnt formats such as TrueType and OpenType, this is name ID 4, platform ID 1, language ID 0 (Full name, Mac OS, English). |
FontCopyright | STRING |
Arbitrary string of copyright information |