Jump to content
MikeMon

Andoid TLabels Have Lines on the Letters

Recommended Posts

Hi

 

I'm using Delphi 10.3.3.

 

I have a problem with TLabels on Android. There are horizontal or vertical lines on some letters in the TLabel. As you can see on the attached image, the "d", "y" and "A" of the label "Cloudy Apple Juice" have lines on them. So do the "h", "O", "u", "c" and "e" of the label "Fresh Orange Juice". I'm using Java JDK version 1.8.0_261. I don't know if this has anything to do with it, but lately I had to uninstall the JDK (of which I don't remember what the version was) and reinstall it (version 1.80._261).

 

Has anyone encountered this before?

 

And what is the default version installed by Delphi 10.3.3.

 

 

Android TLabel.jpg

Share this post


Link to post
6 hours ago, eivindbakkestuen said:

Does this happen on several different devices?

On all devices. Most of the times.

Share this post


Link to post

This is an FMX issue, not related to Java. On mobile platforms FMX use own text rendering - glyphs are rasterized to (cached) bitmaps and these bitmaps are drawn to openGL textures. This code is not perfect and sometimes (depending on screen resolution and scaling) produce lines on bitmap edges.

Share this post


Link to post
54 minutes ago, Alexander Sviridenkov said:

This is an FMX issue, not related to Java. On mobile platforms FMX use own text rendering - glyphs are rasterized to (cached) bitmaps and these bitmaps are drawn to openGL textures. This code is not perfect and sometimes (depending on screen resolution and scaling) produce lines on bitmap edges.

Hi Alexander

 

Thank you for your input.

 

That's weird because this just started happening lately with the latest app we are developing.

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×