|
MakeBitmapFont | ||
MakeBitmapFont FontIndex, RGB, [Format = 2] | ||
Parameters: FontIndex = The index identifier of the font you wish to convert RGB = The Colour of the bitmap font in RGB format [Format = 2] = Optional format to convert to, defaults to 2 (Video bitmap) |
||
Returns: NONE | ||
MakeBitmapFont converts a windows font to an internal bitmap version. Bitmap fonts render faster, and can even be pre-blended with other images to created custom character sets. [ Format Flags ] 2= Video Bitmap Font The format flags allow us set the type of bitmap font that PB should convert the current font into. The conversion engine supports converting between most of the formats, but not every combination is supported. Windows True Type/Bitamps Fonts FACTS: * Fonts converted to CRF format generally render faster and support real time Ink colouring. * Fonts that are converted to bitmap format (FX.AFX) are not affected by changes to the current ink colour. Mini Tutorial: This simple example loads the windows Arial font, one loaded it then converts this font to bitmap version
This example would output.
|
Related Info: | BlendBitmapFont | CreateBitmapFont | CreateFXFont | GetFontChr | LoadFont | LoadNewFont | PrepareFXFont | SaveFont : |
|
|||||||||||||||||||||||||||||||||||||||
(c) Copyright 2002 - 2024 - Kevin Picone - PlayBASIC.com |