I'm having some sort of weird problem after using Skia in my project.
When enabling Skia and after drawing some text (Test Text, Hello World) in a VirtualListView
that text will appear like this:
Test Tex...
Hello wor...
Why there is some dots at the end of text?
And why the rest letters of the text is not finished but replaced with dots?
Example:
I'm missing something?
Compiling the project in Windows 32/64 is working fine but this problem persists in any Android build Debug/Release.
I've managed to temporary fix this issue by declaring the ksVirtualListView before the Skia.FMX in the Uses list (Inside the project file)
program ExampleApp;
uses
System.StartUpCopy,
ksVirtualListView,
Skia.FMX,
FMX.Forms,
....
Drawing the text is now fine but the program started being slower, buggy and crashes sometimes!! Any solution is appreciated. thanks in advance.
How it appear in Windows:
How it appear in Android:
Using ksVirtualListView that came with Pentire: https://github.com/gmurt/PentireFMX/blob/master/ksVirtualListView.pas
TksVListItemTextObject.Create
setsFAutoSize := True;
.