VectorLinux

Please login or register.

Login with username, password and session length
Advanced search  

News:

Visit our home page for VL info. For support and documentation, visit the Vector Linux Knowledge Center or search the Knowledge Center and this Forum using the search box above.

Author Topic: What controls font size in Vasm?  (Read 2278 times)

toothandnail

  • Tester
  • Vectorian
  • ****
  • Posts: 2527
What controls font size in Vasm?
« on: July 12, 2008, 10:41:16 am »

Not VasmCC, but the menus called from VasmCC. Can anyone tell me what sets the font size for those?

I've now had this happen on both 5.9 Standard and 5.9 SOHO. When I first install and set the fonts as I want them (usually several sizes smaller than the default), the Vasm menus (partitions, services, etc) all look fine. But, at some later stage, and for reasons I haven't managed to track down. the fonts become much larger. I've yet to find what sets them, and how to get them back to the size I had when I first installed. Anyone?

paul.
Logged

rbistolfi

  • Packager
  • Vectorian
  • ****
  • Posts: 2301
Re: What controls font size in Vasm?
« Reply #1 on: July 12, 2008, 11:43:41 am »

Hi Paul, I think that is controled by qtconfig.
Logged
"There is a concept which corrupts and upsets all others. I refer not to Evil, whose limited realm is that of ethics; I refer to the infinite."
Jorge Luis Borges, Avatars of the Tortoise.

--
Jumalauta!!

toothandnail

  • Tester
  • Vectorian
  • ****
  • Posts: 2527
Re: What controls font size in Vasm?
« Reply #2 on: July 13, 2008, 11:23:31 am »

Hi Paul, I think that is controled by qtconfig.

Thanks. Unfortunately, that doesn't seem to be it. After playing with qtconfig, I can just about make the text in VasmCC vanish completely, but it doesn't affect the size of the fonts used in the Vasm submenus - they are still much too big.

The really annoying part is that they weren't when I installed, and I have no idea what has caused them to change size.

paul.
Logged

toothandnail

  • Tester
  • Vectorian
  • ****
  • Posts: 2527
Re: What controls font size in Vasm?
« Reply #3 on: July 24, 2008, 05:19:19 pm »

No response. Surely, someone must know what controls the font size? I've seen the fonts used in Vasm sub menus expand in both 5.9 Standard and 5.9 SOHO. I would really like to have a fix for this problem....

paul.
Logged

exeterdad

  • Packager
  • Vectorian
  • ****
  • Posts: 2046
Re: What controls font size in Vasm?
« Reply #4 on: July 24, 2008, 07:02:23 pm »

I have no idea, but I did notice (VASM dialogs) the fonts change size and even look nicer when upgrading xdialog with the patched xdialog that uses GTK2. So I am guessing whatever is used to control fonts in GTK1 would be where you need to look. I don't know what that may be, and it's a guess.  Or...  you can upgrade xdialog and your fonts will be controlled by GTK2 configs and match nicely with the rest of your desktop. Assuming you are using GTK2 based Desktops or WM's.
Logged

M0E-lnx

  • Administrator
  • Vectorian
  • *****
  • Posts: 3217
Re: What controls font size in Vasm?
« Reply #5 on: July 24, 2008, 09:21:13 pm »

VasmCC will behave according to what WM you're running.
If you run KDE, you contol it's fonts and colors from qtconfig
if you run GNOM, XFCE, LXDE, or any other GTK+ oriented WM, you control it with GTK

try using gtk-chtheme or your WM's config utility

The fonts in the external dialogs (the ones that pop up after you click on vasmCC) are controlled by the gtk configuration all the time IIRC
« Last Edit: July 24, 2008, 09:24:30 pm by M0E-lnx »
Logged

toothandnail

  • Tester
  • Vectorian
  • ****
  • Posts: 2527
Re: What controls font size in Vasm?
« Reply #6 on: July 28, 2008, 09:36:23 am »

I have no idea, but I did notice (VASM dialogs) the fonts change size and even look nicer when upgrading xdialog with the patched xdialog that uses GTK2. So I am guessing whatever is used to control fonts in GTK1 would be where you need to look. I don't know what that may be, and it's a guess.  Or...  you can upgrade xdialog and your fonts will be controlled by GTK2 configs and match nicely with the rest of your desktop. Assuming you are using GTK2 based Desktops or WM's.

 ;D Great. Many thanks. I upgraded xdialog and that seems to have fixed the problem - fonts have gone back to a much more reasonable size, and, as you say, look cleaner. Works on both 5.9 Standard and SOHO.

I still have no idea why they changed in the first place, but I'm happy with the results of the xdialog upgrade.

paul.
Logged

toothandnail

  • Tester
  • Vectorian
  • ****
  • Posts: 2527
Re: What controls font size in Vasm?
« Reply #7 on: July 28, 2008, 09:39:30 am »

VasmCC will behave according to what WM you're running.
If you run KDE, you contol it's fonts and colors from qtconfig
if you run GNOM, XFCE, LXDE, or any other GTK+ oriented WM, you control it with GTK

try using gtk-chtheme or your WM's config utility

Thanks. I worked that one out (  ;D by reducing the VasmCC fonts to the point that they could hardly be seen..)

Quote
The fonts in the external dialogs (the ones that pop up after you click on vasmCC) are controlled by the gtk configuration all the time IIRC

 :o I had a look at the gtk config stuff, but couldn't make much sense of it. For the moment, upgrading xdialog seems to have fixed the problem, though I still can't work out why the font size changed in the first place.

Still, looks much better now....

paul.
Logged

exeterdad

  • Packager
  • Vectorian
  • ****
  • Posts: 2046
Re: What controls font size in Vasm?
« Reply #8 on: July 28, 2008, 11:26:53 am »

That worked out pretty good considering I had no idea how to fix the root of the problem. Have band-aid, will travel. :D
Logged