Band Font Size error when trying to use Gambas IDE with QT5

Questions and info about the Gambas IDE itself and not what you are making with it.
(not bug reports)
Post Reply
JumpyVB
Posts: 75
Joined: Friday 11th September 2020 9:09am

Band Font Size error when trying to use Gambas IDE with QT5

Post by JumpyVB »

I get bad font size errors in Linux Mint if I start gambas3 using this command:

Code: Select all

$ env GB_GUI=gb.qt5 gambas3
Can a fellow Linux Mint user confirm if this error is present or absent on other Linux Mint installations and not just on mine?

Code: Select all

user@nuc ~ $ env GB_GUI=gb.qt5 gambas3
QFont::setPointSizeF: Point size <= 0 (-2147483648.000000), must be greater than 0
QFont::setPointSizeF: Point size <= 0 (-1.000000), must be greater than 0
QFont::setPointSizeF: Point size <= 0 (-1.000000), must be greater than 0
QFont::setPointSizeF: Point size <= 0 (-1.000000), must be greater than 0
QFont::setPointSizeF: Point size <= 0 (-1.000000), must be greater than 0
QFont::setPointSizeF: Point size <= 0 (-2147483648.000000), must be greater than 0
QFont::setPointSizeF: Point size <= 0 (-1.000000), must be greater than 0
QFont::setPointSizeF: Point size <= 0 (-1.000000), must be greater than 0
QFont::setPointSizeF: Point size <= 0 (-1.000000), must be greater than 0
QFont::setPointSizeF: Point size <= 0 (-1.000000), must be greater than 0
QFont::setPointSizeF: Point size <= 0 (-1.000000), must be greater than 0
QFont::setPointSizeF: Point size <= 0 (-1.000000), must be greater than 0
QFont::setPointSizeF: Point size <= 0 (-1.000000), must be greater than 0
QFont::setPointSizeF: Point size <= 0 (-1.000000), must be greater than 0
QFont::setPointSizeF: Point size <= 0 (-1.000000), must be greater than 0
QFont::setPointSizeF: Point size <= 0 (-1.000000), must be greater than 0
QFont::setPointSizeF: Point size <= 0 (-2147483648.000000), must be greater than 0
QFont::setPointSizeF: Point size <= 0 (-1.000000), must be greater than 0
QFont::setPointSizeF: Point size <= 0 (-2147483648.000000), must be greater than 0
User avatar
cogier
Site Admin
Posts: 1127
Joined: Wednesday 21st September 2016 2:22pm
Location: Guernsey, Channel Islands

Re: Band Font Size error when trying to use Gambas IDE with QT5

Post by cogier »

I am using Linux Mint 21.2 with the Cinnamon desktop and I did not get the same error as you. There was a 'libpng' warning, but I have no idea what it means. At a quick glance, Gambas seemed to work OK.

Image
JumpyVB
Posts: 75
Joined: Friday 11th September 2020 9:09am

Re: Band Font Size error when trying to use Gambas IDE with QT5

Post by JumpyVB »

cogier wrote: Sunday 8th October 2023 4:47pmI am using Linux Mint 21.2 with the Cinnamon desktop and I did not get the same error as you.
Thank you for confirming. That means that this issue is related to my evironment. This lead me to experiment and try to find out what this error was linked to. I was able to fix it in "Qt5 Configuration Tool" under the "Fonts"-tab.

PS: I now have no errors there on the commandline. Not even the libpng error you have.
Post Reply