ARM version: broken editor font renreding

Solved bugs are moved into this topic...
somewhat
Posts: 18
Joined: 13.11.2021 10:39

ARM version: broken editor font renreding

Post by somewhat »

Tried using it in Raspbian (Raspberry Pi OS) and the UI looks like this (see attached image):

Menus seems ok, but editor looks totally zoomed out, maybe like 1%. Changing font type or size does not help.

CudaText 1.148.5.0
Raspberry Pi 4 model B,
uname -r
5.10.63-v7l+
(no similar problem with other apps spotted)

Thanks, Adam
Attachments
cudaText arm.png
main Alexey
Posts: 2265
Joined: 25.08.2021 18:15

Post by main Alexey »

What is the content of user.json ? Did you try to write there:
"font_size__linux": 12
or
"font_size__linux": 22
?
somewhat
Posts: 18
Joined: 13.11.2021 10:39

Post by somewhat »

I had it (after playing with GUI settings):

{
"font_name__linux" : "FreeMono",
"font_size__linux" : 72,
"ui_theme" : "",
"ui_theme_syntax" : ""
}

Now I have it:

{
"font_name__linux" : "DejaVu Sans Mono",
"font_size__linux" : 12,
}

and it looks the same (also 22). Doesn't make any difference. Even without font_name__linux specified.
main Alexey
Posts: 2265
Joined: 25.08.2021 18:15

Post by main Alexey »

Since RPi 4 is 64 bit, can you try these versions?:

CudaText linux aarch64
CudaText linux aarch64 qt5 - see https://wiki.freepascal.org/CudaText#Linux_Qt5_build
somewhat
Posts: 18
Joined: 13.11.2021 10:39

Post by somewhat »

While RPi 4 CPU is aarch64, my Rasbian is v7l+ so it doesn't work there (tried that).
The Raspberry OS aarch64 version is still beta and I also use v7l version because aarch64 libwidevine version isn't available (need that library for playing DRM protected media).
I'll try installing CudaText to another board with aarch64 Ubuntu Mate and tell you if it worked or not.
somewhat
Posts: 18
Joined: 13.11.2021 10:39

Post by somewhat »

Posted from another board - Banana Pi M64 with Ubuntu Mate (4.4.89-BPI-M64-Kernel).

CudaText linux aarch64 version seems ok.

CudaText linux aarch64 qt5 version (after installing libQt5Pas) seems also ok.

CudaText linux arm version doesn't start at all (No such file or directory).
main Alexey
Posts: 2265
Joined: 25.08.2021 18:15

Post by main Alexey »

I don't underrstand the problem with missing text (tiny font), sorry, cannot help yet. If you need it, I may prepare the ARM Qt5 version (needs libQt5pas).
somewhat
Posts: 18
Joined: 13.11.2021 10:39

Post by somewhat »

The arm (v7l) build is probably problematic while aarch64 builds look fine.
I could also try compiling CudaText from sources directly on my RPi 4 B board...
main Alexey
Posts: 2265
Joined: 25.08.2021 18:15

Post by main Alexey »

>I could also try compiling CudaText from sources

It's not needed, you won't get new result.
somewhat
Posts: 18
Joined: 13.11.2021 10:39

Post by somewhat »

So if it won't take you too much time and you can prepare that Arm v7l Qt5 build, I could test it.
I'm not in a hurry. Thanks.
Post Reply