B4J Question Inaccurate Drawing of Text using BCTextEngine

xulihang

Well-Known Member
Licensed User
Longtime User
Using the example here: https://www.b4x.com/android/forum/t...-image-with-bctextengine.168974/#post-1035768

We can see the text (我爱我的祖国!) is being cut. I think this means inaccurate measuring of text?

1760251017395.png
 

xulihang

Well-Known Member
Licensed User
Longtime User
I increased the font size to 50. This looks good.

1760251492357.png


But it does not look good if the size is 15. See the bottom part of the text.

1760251536749.png
 
Upvote 0

xulihang

Well-Known Member
Licensed User
Longtime User
Here is another example. It will be easier to notice the text being cut if I zoom in the text image.

1760252443515.png
 
Upvote 0

xulihang

Well-Known Member
Licensed User
Longtime User
The scale is 100%.

If it only has one line, then SpaceBetweenLines will not help with it.
 
Upvote 0
Top