B4J Question Changing the Y-origin of a text

Erel

B4X founder
Staff member
Licensed User
Longtime User
 
Upvote 0

wimpie3

Well-Known Member
Licensed User
Longtime User
I get strange values like 3.1999998 for the width or height. I thought that on Java pixels were used as units. Am I wrong?

Also, for pixel precise measurement on fonts with symbols, the anti aliasing seems to be taken into account with the measurement. Hence my other question if it's possible to disable the anti aliasing to get a pixel perfect measurement.
 
Last edited:
Upvote 0
Top