Method | Description |
AddGlyphToFullBitmap | Add a glyph to the font system AddGlyphToFullBitmap simply add the glyph in the internal representation of the font. |
Create | Creates and initializes a TBDF_Font. |
Destroy | Destroys an instance of TBDF_Font. |
DrawText | Draw a string on the Canvas at position (X,Y) To call the Draw method, the BDFfont must be initialized, by LoadFromFile method. Canvas drawing method can be configured as standard canvas routine. Beware that some character may not be defined ih the BDF font file you load ! |
InitFullBitmap | |
LoadFromFile | Load a BDF font from a file The file is load as CSV file (in fact, a text file separated by space). When loading very large file, use OnProgressLoading to be aware of progress loading. |
SaveToBitmap | Save the font to BMP file The BDF font is export in BMP file, 1bit for color. All the glyphs are inside, from left to right |
SetPixelSpaceChar | Change pixel space between two char (glyph) When the font is created, the value is set by default at 2 pixels, but can be changed with this method. A negative value will be converted to 0. |