Firemonkey form displays TLabel, TEdit etc. text with no antialiasing on Android device


A simple Android app written in Delphi XE10.2 FireMonkey renders fonts really badly, with no (or faulty) antialiasing. This affects just the controls (buttons, labels, edits etc), the texts drawn directly on canvas are OK. The scale is not 1 and neither has to be (it’s actually 0.66), all controls are on a TLayout, the form’s native height is 600 pixels, and I compute the scale using the simple formula of

scale := Screen.Size.height / 600;

Setting the main form’s TForm.quality to TCanvasQuality.HighQuality doesn’t help either.

The Android device is an Android 8.0 car head unit (Based on PX5 mainboard) but this doesn’t have to matter too much. (Though on smartphones everything is OK.) Any idea, please?

Comments are closed.