Fonts

DefineFont

<DefineFont ID>
Parent node: SWF
Item Type Required Default value Description, remark
ID int +    
Glyph subnodes +    

Glyph

<Glyph Num>
Parent node: DefineFont
Item Type Required Default value Description, remark
Num int +    
edge records subnodes +    

DefineFontInfo, DefineFontInfo2

<DefineFontInfo ID Name FontFlagsSmallText FontFlagsShiftJIS FontFlagsANSI [FontFlagsItalic] [FontFlagsBold] [FontFlagsWideCodes] [LanguageCode] >
Parent node: SWF
Item Type Required Default value Description, remark
ID int +    
Name string +    
FontFlagsSmallText bool +    
FontFlagsShiftJIS bool +    
FontFlagsANSI bool +    
FontFlagsItalic bool   false  
FontFlagsBold bool   false  
FontFlagsWideCodes bool   false true for DefineFontInfo2
LanguageCode int DefineFontInfo2    
Glyph subnodes +    

Glyph

<Glyph Num Code />
Parent node: DefineFontInfo
Item Type Required Default value Description, remark
Num int +    
Code int +    

DefineFont2, DefineFont3

<DefineFont2 ID Name FontFlagsSmallText FontFlagsShiftJIS FontFlagsANSI [FontFlagsItalic] [FontFlagsBold] [FontFlagsWideCodes] [LanguageCode] [FontAscent FontDescent FontLeading] [File FileType] >
Parent node: SWF
Item Type Required Default value Description, remark
ID int +    
Name string +    
FontFlagsSmallText bool +    
FontFlagsShiftJIS bool +    
FontFlagsANSI bool   true  
FontFlagsItalic bool   false  
FontFlagsBold bool   false  
LanguageCode int if DefineFontInfo2    
File string      
FileType string     AC, bytecode
Glyph subnodes +    

Glyph

<Glyph Num Code [Advance] [[XMin YMin] XMax YMax] [FontKerningCode1 FontKerningCode2 FontKerningAdjustment]>
Parent node: DefineFont2
Item Type Required Default value Description, remark
Num int +    
Code int +    
Advance int +    
XMin int   0  
YMin int   0  
XMax int      
YMax int      
FontKerningCode1 int      
FontKerningCode2 int      
FontKerningAdjustment int      
edge records subnodes +    

DefineFontAlignZones

<DefineFontAlignZones ID CSMTableHint>
Parent node: SWF
Item Type Required Default value Description, remark
ID int +    
CSMTableHint int +    
ZoneRecord subnodes +    

ZoneRecord

<ZoneRecord MaskX MaskY Align

n

Range

n

/>

 

Parent node: DefineFontAlignZones

Item Type Required Default value Description, remark
MaskX int +    
MaskY int +    
Alignn int +    
Rangen int +