Optional
alphaPre multiply the image alpha. Note: for MSDF/SDF fonts, alphaMode is not supported.
Optional
anisotropicAnisotropic filtering level of texture.
Optional
charsCharacters included in the font set. You can also use ranges.
For example, [['a', 'z'], ['A', 'Z'], "!@#$%^&*()~{}[] "]
.
Don't forget to include spaces ' ' in your character set!
Optional
mipmapIf mipmapping is enabled for texture. For instance, by default PixiJS only enables mipmapping on Power-of-Two textures. If your textureWidth or textureHeight are not power-of-two, you may consider enabling mipmapping to get better quality with lower font sizes. Note: for MSDF/SDF fonts, mipmapping is not supported.
Optional
paddingPadding between glyphs on texture atlas. Lower values could mean more visual artifacts and bleeding from other glyphs, larger values increase the space required on the texture.
Optional
resolutionRender resolution for glyphs.
Optional
scaleDefault scale mode, linear, nearest. Nearest can be helpful for bitmap-style fonts.
Optional
skipSkip generation of kerning information for the BitmapFont. If true, this could potentially increase the performance, but may impact the rendered text appearance.
Optional
textureOptional height of atlas, smaller values to reduce memory.
Optional
textureOptional width of atlas, smaller values to reduce memory.
Memberof
PIXI