Copies the data from the defaults to the instance
The options for this font
Protected
_Any styles needed for the font
Data about the characters used (for adaptive CSS)
A prefix to use for explicit font-family CSS settings
Protected
cssThe data to use to make variants to default fonts and css for unknown characters
The prefix to use for font names (e.g., 'TEX')
Protected
delimitersThe actual delimiter information for this font
Data about the delimiters used (for adpative CSS)
New styles since last update
Protected
newNumber of new @font-face entries that have been processed
Protected
optionsThe font options
The actual font parameters for this font
Protected
remapThe character maps
Protected
sizeThe actual size variants to use for this font
Factor by which to multiply italic correction for computation of delta in munderover
Protected
stretchThe actual stretchy variants to use for this font
Protected
variantThe actual variant information for this font
Protected
Static
combiningThe combining character ranges
Static
defaultThe default remappings
Protected
Static
defaultThe default character data
Protected
Static
defaultThe default prefix for explicit font-family settings
Static
defaultThe family, style, and weight to use for each variant (for unknown characters) The 'unknown' family is replaced by options.unknownFamily
Protected
Static
defaultThe default delimiter data
Protected
Static
defaultThe default @font-face declarations with %%URL%% where the font path should go
Protected
Static
defaultDefault map for characters inside
Protected
Static
defaultDefault map for characters inside
Static
defaultThe default font parameters for the font
Protected
Static
defaultThe default variants for the fixed size stretchy delimiters
Protected
Static
defaultThe default variants for the assembly parts for stretchy delimiters
Protected
Static
defaultThe CSS styles needed for this font.
Protected
Static
defaultThe default font letter to use for each variant
Static
defaultThe standard variants to define
Static
dynamicThe font extension dynamic data
Protected
Static
dynamicThe dynamic file data
Static
JAXStatic
NAMEThe name of the font that is being defined (used by extensions)
Static
OPTIONSDefault options
Static
SmpCharacter ranges to remap into Math Alphanumerics
Static
SmpCharacters to map back to other Unicode positions (holes in the Math Alphanumeric ranges)
Static
SmpGreek lower-case variants
Static
SmpGreek upper-case variants
Static
VariantVariant locations in the Math Alphabnumerics block: [upper-alpha, lower-alpha, upper-Greek, lower-Greek, numbers]
The constructor for this object
The (computed) styles for this font
Whether to use adaptive CSS or not
Protected
addThe style object to add styles to
The variant class letter (e.g., B
, SS
) where this character is being defined
The unicode character being defined
The bounding box data and options for the character
Protected
addThe style object to add styles to
The vertical character whose part is being added
The name of the part (beg, ext, end, mid) that is being added
The unicode character to use for the part
The variant for the character
The height-depth-width data for the stretchy character
The width of the character
Protected
addThe style object to add styles to
The delimiter unicode number
The delimiter character string
The data for the delimiter whose CSS is to be added
Protected
addThe style object to add styles to
The unicode character number of the delimiter
The data for the delimiter whose CSS is to be added
Protected
addThe style object to add styles to
The vertical character whose part is being added
The name of the part (beg, ext, end, mid) that is being added
The unicode character to use for the part
The variant for the character
The height-depth-width data for the stretchy delimiter
The total height of the character
Protected
addThe style object to add styles to
The delimiter unicode number
The delimiter character string
The data for the delimiter whose CSS is to be added
Protected
allThe style list to add characters to
A unicode code point to be converted to a selector for use with the CSS rules for fonts
The character as a selector value.
Protected
checkThe character options
The style object to adjust
Clear the cache of which characters have been used
Create a collection of variants
Array of [name, inherit?, link?] values for the variants to define
Defined the mapping of variants to CSS fonts for unknown characters in each variant.
The variants to define and their properties
Defines stretchy delimiters
The delimiters to define
Set up the dynamic characters to point to the proper dynamic data object
The data objects to process
Defines a character remapping map
The name of the map to define or augment
The characters to remap
Protected
dynamicThe data for the dynamic file
The prefixed name for the file
The number of ems
The string representing the number with units of "em"
The number of ems (will be restricted to non-negative values)
The string representing the number with units of "em"
The number of ems (will be restricted to non-negative values, with .1px rather than 0em)
The string representing the number with units of "em"
Protected
flattenTurn a DynamicRange into a mapping of character number to DynamicFile.
The ranges to be flattened
The DynamicFile to tie to the ranges
The map from character positions to dynamic file
The variant whose character data is being querried
The unicode number for the character to be found
The data for the given character (or undefined)
The name of the variant whose data is to be obtained
The CSS data for the requested variant
The delimiter character number whose data is desired
The data for that delimiter (or undefined)
The font camily to use
The family with the css prefix
The name of the map to query
The character to remap
The remapped character (or the original)
The delimiter character number whose variant is needed
The index in the size array of the size whose variant is needed
The variant of the i-th size for delimiter n
The delimiter character number whose variant is needed
The index in the stretch array of the part whose variant is needed
The variant of the i-th part for delimiter n
The delimiter character number whose variants are needed
The variants for the parts of the delimiter
The name of the variant whose data is to be obtained
The data for the requested variant (or undefined)
Load the data for the character from the proper file, and do any associated setup that needs access to the FontData instance.
The data for the file to load
The promise that is resolved when the file is loaded
Load all dynamic files.
A promise that is resolved after all the dynamic files are loaded.
Load all dynamic files synchronously, using mathjax.asyncLoad, when it is set to a synchronous loading function, as in util/asyncLoad/node.ts.
The dynamic file to load
The [h, d, w] data for the character
The (optional) italic correction value
The padding string for the h, d, w.
Protected
remapCreate the mapping from Basic Latin and Greek blocks to the Math Alphanumeric block for a given variant.
The character mapping to fill.
The new variant name.
The options to merge into the font options
Protected
smpMath Alphanumerics position for this remapping
The character data for the remapping
Get the styles for dynamically loaded fonts since the last CSS update
The updated style list
Static
addThe style object to add styles to
The IDs for the fonts to add CSS for
The root URL for the fonts (can be set by extensions)
Static
addStatic
addProtected
Static
adjustThe list of numbers to adjust
The pivot number
The list of adjusted numbers
Static
adjustThe delimiter list to modify
The ids of the delimiters to check
The original number of size variants
The original number ot stretch variants
Static
charStatic
defineDefine the dynamic file information.
The definitions to make
The name of the extension for this file (or empty)
The object of dynamic file data
Static
dynamicCreate the setup function for a given dynamically loaded file
The CharOptions type
The DelimiterData type
The name of the font extension for this file
The file being loaded
The character data to be added
The delimiter data to be added
The fonts to add CSS to
The CHTML FontData class