xulihang Well-Known Member Licensed User Longtime User Sunday at 7:38 AM #1 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?
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?
Erel B4X founder Staff member Licensed User Longtime User Sunday at 7:40 AM #2 Where is it cut? Upvote 0
xulihang Well-Known Member Licensed User Longtime User Sunday at 7:45 AM #3 I increased the font size to 50. This looks good. But it does not look good if the size is 15. See the bottom part of the text. Upvote 0
I increased the font size to 50. This looks good. But it does not look good if the size is 15. See the bottom part of the text.
Erel B4X founder Staff member Licensed User Longtime User Sunday at 7:53 AM #4 B4X: BBCodeView1.Text = $"[TextSize=15]我爱我的祖国! 我爱我的祖国! 我爱我的祖国![/TextSize]"$ This is what I get: Upvote 0
xulihang Well-Known Member Licensed User Longtime User Sunday at 8:02 AM #5 Here is another example. It will be easier to notice the text being cut if I zoom in the text image. Upvote 0
Erel B4X founder Staff member Licensed User Longtime User Today at 6:36 AM #6 This is what I get: It might be a rounding error related to the monitor DPI setting. What is the output of Log(TextEngine.mScale)? Try to increase TextEngine.SpaceBetweenLines or MinGapBetweenLines. Upvote 0
This is what I get: It might be a rounding error related to the monitor DPI setting. What is the output of Log(TextEngine.mScale)? Try to increase TextEngine.SpaceBetweenLines or MinGapBetweenLines.