Hello all,
I have an issue, in a widget i must write numbers on a bitmap with the canvas command 'DrawText'. The widget contains a clock and the widgets doesn't support to change the font of text, only the size & the color.
But if i want give the choice to the user to change the font i don't find the good way for write the numbers on the bitmap with a good alignment.
I have continuously some difference of height alignment between the numbers, that depends the font.
That's due to the true type fonts ?
And if you had a simple sample of code about it, that would be nice.
Any help will be appreciated thanks a lot.
Regards.
I have an issue, in a widget i must write numbers on a bitmap with the canvas command 'DrawText'. The widget contains a clock and the widgets doesn't support to change the font of text, only the size & the color.
But if i want give the choice to the user to change the font i don't find the good way for write the numbers on the bitmap with a good alignment.
I have continuously some difference of height alignment between the numbers, that depends the font.
That's due to the true type fonts ?
And if you had a simple sample of code about it, that would be nice.
Any help will be appreciated thanks a lot.
Regards.