Font.Common

Struct containing common information about the font used for rendering

Members

Variables

alphaChnl
ChannelType alphaChnl;

What information the alpha channel holds

base
ushort base;

The number of pixels from the absolute top of the line to the base of the characters

bitField
ubyte bitField;

bits 0-6: reserved, bit 7: packed

blueChnl
ChannelType blueChnl;

What information the blue channel holds

greenChnl
ChannelType greenChnl;

What information the green channel holds

lineHeight
ushort lineHeight;

This is the distance in pixels between each line of text

pages
ushort pages;

The number of texture pages included in the font

redChnl
ChannelType redChnl;

What information the red channel holds

scaleH
ushort scaleH;

The height of the texture, normally used to scale the y pos of the character image

scaleW
ushort scaleW;

The width of the texture, normally used to scale the x pos of the character image

Meta