Parse an XML font to Bitmap Font data for the Bitmap Font cache.
name | type | arguments | description |
---|---|---|---|
xml | XMLDocument |
The XML Document to parse the font from. |
|
frame | Phaser.Textures.Frame |
The texture frame to take into account when creating the uv data. |
|
xSpacing | number | <optional> |
The x-axis spacing to add between each letter. |
ySpacing | number | <optional> |
The y-axis spacing to add to the line height. |
The parsed Bitmap Font data.