Raspberry PI 3 font problem

5 posts / 0 new
Last post
AA6KJ
Raspberry PI 3 font problem

Hi,

I am running Fedora 26 beta (had the same issue also with 25) with fpc 3.0.2 and lazarus 1.6.4. Both the system version of cqrlog and the one built from the current git repository have a problem with certain fonts. Both the dx cluster window and the window showing recent changes (when running cqrlog for the first time) have extremely small font size (unreadable). I have tried all the font settings (including deselect default fonts in prefs) but nothing seems to help. Whenever a problematic window opens, I see the following message on the terminal window where I started cqrlog:

(cqrlog:19163): GLib-GObject-WARNING **: value "-nan" of type 'gdouble' is invalid or out of range for property 'page-size' of type 'gdouble'

This message does not show up on intel (where the fonts work correctly).

Any ideas what could be wrong?

Thanks,

Jussi Eloranta
AA6KJ

AA6KJ
more...

OK, this also happens on official Fedora 26. I also tried compiling cqrlog from the git repo with Lazarus 1.8 RC3 (and fpc 3.0.3 that was supplied with it) - these are the latest and greatest. Took some effort to get everything compiled... Unfortunately, no change - the fonts are still messed up. My guess is that this is an issue with lazarus on arm... However, I wonder if it is possible to get cqrlog working on arm at all? Any RASPI 3 owners out there who have correctly functioning cqrlog? If anyone does, I would like to try out your cqrlog executable to see if that works.

Jussi Eloranta
AA6KJ

AA6KJ
found a solution...

Hi,

Kind of talking to myself here but perhaps this will help someone...

If I set the dx cluster window font size to zero, the text starts displaying! Also, the reverse beacon window started working - I had unchecked "use default fonts" in font preferences and checking this fixed this window. Bandmap display working too - although there is still something funny behavior. The down side is that there is no way to adjust the font size but it seems to be readable. I have no idea why setting the font size to 0 fixes the problem though.

I am ready to throw my intel box out of the window and switch to raspi 3 ;-)

Jussi (AA6KJ)

AA6KJ
...

Sorry, forgot. I also had to set font size to zero for bandmap for it to display correctly.

AA6KJ
Problem solved!

Hi,

OK, I figured out why cqrlog does not work on 32bit arm Fedora (raspi 3). The key to this finding was to test the two arm cqrlog binaries from Debian, which are compiled for hard and soft floating point. One of them behaves exactly like I was seeing under Fedora and the other one works correctly. With the latter no font problems, no crashing, no warnings in the terminal window etc. These problems were, by the way, also present in the Lazarus development graphical application (lazarus-ide)! So, it seems that the version of arm fpc that is distributed with Fedora is not compatible with all the other libraries in the system (in terms of floating point operations). I have reported the problem and hopefully they will fix it soon.

Jussi