You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Suddenly a lot of text printed on BGRAbitmaps was gone.
As sometimes there were little lines at the right border I could find out that error quick:
taCenter as parameter for the TextOut is the reason.
The text is not printed in the center of the bitmap but starts at the right edge - sometimes leaving a little bit "dirt" at the border. The rest is writen into nowhere.
Just test:
tmp: TBGRABitmap;
tmp.TextOut(tmp.width div 2, y, MyText, color, taCenter);
You see that you see nothing....
Would be nice if you correct this!
Now I made some additional tests:
If I add a renderer and a shader to the BGRAbitmap then there is no problem with taCenter
With TextOutAngle there is no problem with taCenter
So it seems that only the plain textOut without renderer and without an angle has this problem.
Winni
The text was updated successfully, but these errors were encountered:
https://forum.lazarus.freepascal.org/index.php/topic,47527.0.html
I just updated BGRAbitmap from 9.9.3 --> 10060400
Suddenly a lot of text printed on BGRAbitmaps was gone.
As sometimes there were little lines at the right border I could find out that error quick:
taCenter as parameter for the TextOut is the reason.
The text is not printed in the center of the bitmap but starts at the right edge - sometimes leaving a little bit "dirt" at the border. The rest is writen into nowhere.
Just test:
You see that you see nothing....
Would be nice if you correct this!
Now I made some additional tests:
So it seems that only the plain textOut without renderer and without an angle has this problem.
Winni
The text was updated successfully, but these errors were encountered: