¿ªÔÆÌåÓý

ctrl + shift + ? for shortcuts
© 2025 Groups.io

Re: Pango error messages #fldigi


 

Hi Dave,

It's an old Dell Intel laptop repurposed with Debian bookworm. I use the default window manager. I built the latest FLTK git using default configuration so Wayland and pango are enabled.

From what I understand from the FLTK forum having had similar problems in my app, pango expects UTF8 characters. It's what draws characters on screen which are not specified in the supplied font.

I will understand if you don't want to support this yet.

73 Phil GM3ZZA



On 30 March 2024, at 17:28, "Dave, W1HKJ" <w1hkj@...> wrote:


Phil,

I have a brand new Pi5 running PiOS Bookworm with one of several desktop managers (preference is Mate Desktop).? I am not seeing the errors you report.? What processor for the target build.? Is the OS install a base Debian or a derivative?

David

On 3/30/24 11:31, Philip Rose, GM3ZZA via wrote:
I had a quick look. There are quite a lot of degree signs coded in string literals and these will be the extended ASCII 0xB0 rather than the UTF-8 U+00B0 ("\302\260"). One of the files was "coordinates.cxx" (IIRC) in the << operator. The others were large menu_items as part of a special character list.

Phil.

From: [email protected] <[email protected]> on behalf of Philip Rose, GM3ZZA via <gm3zza@...>
Sent: Friday, March 29, 2024 11:02 PM
To: [email protected] <[email protected]>
Subject: [linuxham] Pango error messages #fldigi
?
I compiled fldigi from 4.2.04.05 using the then latest fltk 1.4 on debian bookworm and I keep getting the following warning:

(process:21094): Pango-WARNING **: 22:50:00.323: Invalid UTF-8 string passed to pango_layout_set_text()

>From my own experience this is when an extended ASCII character is used rather than its UTF-8 equivalent. I noticed today as I hovered over a callsign the tooltip window came up and displayed latitude and longitude with the degree symbol replaced by the black diamond used for an unprintable character. At the same time the pango warning came up.

If you want I can look at the fldigi code tomorrow.

73 Phil.






Join [email protected] to automatically receive all group messages.