Don't see diference when use loadImageFont
BlitzMax Forums/BlitzMax Programming/Don't see diference when use loadImageFont
| ||
Hi I'm using the function loadImageFont and setting some value to the style field of function for example: Local font:TImageFont=LoadImageFont("C:\WINDOWS\Fonts\arial.ttf",36, BOLDFONT) And I no see diference when use BoldFont and when set ITALICFONT the text look always the same way, no variations when changing the style of font. Some idea? |
| ||
Are you sure the font loaded properly? |
| ||
Yes the font loaded properly, and the text display properly i use this example Graphics 320 , 240 Local font:TImageFont=LoadImageFont("C:\WINDOWS\Fonts\arial.ttf", 36) SetImageFont(font) DrawText "Hello World",20,20 Flip Repeat Until KeyDown(KEY_ESCAPE) Or AppTerminate() But I se the style value using the constant declaration that the help say. I working on Windows XP Sp3 |
| ||
Try ariali.ttf and arialbd.ttf for italic and bold versions. |
| ||
Ok thats work, thanks. |