[Gambas-user] font size in TolTip

ron ronstk at ...239...
Mon Apr 12 13:54:22 CEST 2004


On Monday 12 April 2004 12:42, Frank Berg wrote:
> > Can you imagine, I'm using 1280x1024, need really spectacles in gambas
> > Tooltips in/from KDE are ok.
>
> hi
>
> i use 1280x1024 too, but in my suse 9.0 the tooltip are in 9 pixel heigth..
> so, therfor i ask how can i ask/set the font size for the tooltip.text
>
> frank
>
Current working with
My monitor is a 18" LCD Philips Brilliance 180P (1280x1024)
My Font Arial 8 pixel.

I assume it here a cosmetic failure in gambas or the ToolButton from QT.
The last one should be.

By me the tooltips are also small and look as fixed font.
The component buttons with 'Form' and 'QT' are to big compared to the title of 
the Toolbox and also look as fixed font.

I had in the past also problems with the fonts and SuSE.
KDE does not handle it well and QT is also changing the font's
In KDE Appearance the all my fonts are 'Arial' and fixed='Fixed'
Open the box to select another and both does not exist.
and only 2 adobe fonts.

'Arial' is the font given in filemanager.
Open there the font change box. 'Arial' exist 'Fixed' not.
Many other of adobe appears also and 'arial'.  Yes 2 different.
Konqueror webbrowser fonts are again with different names.

Start qtconfig and there are the fonts also different for count and names.

As far I found till now is gambas using the QT widgets with the default 
settings set by qtconfig. Only no place to set which font for fixed.

KDE is using his own font settings and if unknown using the QT defaults.
As far I can see now.

Gambas (benoit) has commented almost all font setting in his code
or set the font property to a empty string so the default QT should work.

I made once a mistake in the beginning to set them because I also 
could not get them the right way I wanted.

When I close look to the tooltips at my box it shows as fixed.
Change of the Fixed in KDE Appearance does nothing.
qtconfig cant change it but get it from X I think.

The 'Installed fonts' in KDE is also not clear and show different names for 
the same font as Appearance and QT does.

I forget to say X is also involved which fonts you have.
So this makes it all the biggest mess you can find in Linux for fonts.

That is me to complex to figure out after all the troubles i had.
And for sure to try it out to help you, sorry I do not want mess up.

One Last note. 
My monitor is a 18" LCD Philips Brilliance 180P (1280x1024)
I have this resolution 1280x1024 but my monitor stretch smaller sizes to full 
screen as 1280x1024. Then for playing I changed the display size on my 
monitor panel to native size and it was with big black borders. 
Then I search and I found Yast  & Sax was setting the monitor size to the 
wrong size of 1024x768 at a hidden place and all the fonts where ugly. 
That was my problem.

May be Benoit can do something with the fonts and place it in the config file.
I think you have to set it else where and I can not tell you where it should 
be.
qtconfig is maybe the best place to start playing.
But restart you desktop after every change. 
Some works after apply an restart , some works after apply and some
at instant when you change something. Simple its Linux Fonts Hell.

Ron















More information about the User mailing list