Module: Mathtype5
- Defined in:
- lib/records5/line.rb,
lib/records5/char.rb,
lib/records5/mtef.rb,
lib/records5/pile.rb,
lib/records5/size.rb,
lib/records5/tmpl.rb,
lib/records5/color.rb,
lib/records5/embell.rb,
lib/records5/future.rb,
lib/records5/matrix.rb,
lib/records5/font_def.rb,
lib/records5/snapshot.rb,
lib/records5/color_def.rb,
lib/records5/eqn_prefs.rb,
lib/records5/encoding_def.rb,
lib/records5/font_style_def.rb
Overview
FONT_STYLE_DEF record (8): Consists of: record type (8)
- font_def_index
-
index of mtefFONT_DEF record (unsigned integer)
- char_style
-
character style bits
This record associates a character style with a font. See Definition records.
Defined Under Namespace
Modules: Snapshot Classes: Entry, Equation, NamedRecord, Payload, RecordChar, RecordColor, RecordColorDef, RecordEmbell, RecordEncodingDef, RecordEnd, RecordEqnPrefs, RecordFontDef, RecordFontStyleDef, RecordFull, RecordFuture, RecordLine, RecordMatrix, RecordNudge, RecordPile, RecordRuler, RecordSize, RecordSub, RecordSub2, RecordSubsym, RecordSym, RecordTmpl
Constant Summary collapse
- HALIGN =
Mathtype::HALIGN
- VALIGN =
Mathtype::VALIGN
- RECORD_NAMES =
{ 0 => "end", 1 => "slot", 2 => "char", 3 => "tmpl", 4 => "pile", 5 => "matrix", 6 => "embell", 7 => "ruler", 8 => "font_style_def", 9 => "size", 10 => "full", 11 => "sub", 12 => "sub2", 13 => "sym", 14 => "subsym", 15 => "color", 16 => "color_def", 17 => "font_def", 18 => "eqn_prefs", 19 => "encoding_def", 100 => "future" }
- OPTIONS =
{ # value => symbol # description # Option flag values for all equation structure records: "mtefOPT_NUDGE" => 0x08, # nudge values follow tag # Option flag values for CHAR records: "mtefOPT_CHAR_EMBELL" => 0x01, # character is followed by an embellishment list "mtefOPT_CHAR_FUNC_START" => 0x02, # character starts a function (sin, cos, etc.) "mtefOPT_CHAR_ENC_CHAR_8" => 0x04, # character is written with an 8-bit encoded value "mtefOPT_CHAR_ENC_CHAR_16" => 0x10, # character is written with an 16-bit encoded value "mtefOPT_CHAR_ENC_NO_MTCODE" => 0x20, # character is written without an 16-bit MTCode value # Option flag values for LINE records: "mtefOPT_LINE_NULL" => 0x01, # line is a placeholder only (i.e. not displayed) "mtefOPT_LINE_LSPACE" => 0x04, # line spacing value follows tag # Option flag values for LINE and PILE records: "mtefOPT_LP_RULER" => 0x02, # RULER record follows LINE or PILE record # Option flag values for COLOR_DEF records: "mtefCOLOR_CMYK" => 0x01, # color model is CMYK, else RGB "mtefCOLOR_SPOT" => 0x02, # color is a spot color, else a process color "mtefCOLOR_NAME" => 0x04, # color has a name, else no name }