Font size in menus and dialogs and other things
Hi list,
I just built and installed inkscape-0.38.1 successfully on my SuSE Linux 8.1 box. After a few initial problems importing graphics created with sodipodi, at the moment the following issues remain:
1) The font size of menus and dialogs is very small.
Is there a way of changing it, e.g. to the default size that other GTK apps use? If not (e.g. because it is hardcoded), can someone point me to a location in the code where I can change it?
2) It seems inkscape expects all strings (including file names) to be UTF-8 encoded (although I do not use a UTF-8 locale, but de_DE@...120... Thus file names that contain german umlauts etc. cause trouble. Setting G_BROKEN_FILENAME helped here but problems with german umlauts in sodipodi graphics remain. (I removed them by editing the svg files manually before loading them into inkscape).
Is there a way for inkscape to use other than UTF encoding?
3) With sodipodi I have added text elements to a drawing which used a fixed width font and contained multiple blanks to form a simple table. But inkscape prints only one blank for any number of blanks in a row.
How can I enter text so that multiple blanks are displayed between two words?
Thanks in advance Mario
Quoth Mario Streiber on or about 2004-05-19:
Hi list,
I just built and installed inkscape-0.38.1 successfully on my SuSE Linux 8.1 box. After a few initial problems importing graphics created with sodipodi, at the moment the following issues remain:
The font size of menus and dialogs is very small.
Is there a way of changing it, e.g. to the default size that other GTK apps use? If not (e.g. because it is hardcoded), can someone point me to a location in the code where I can change it?
How are you changing font size for GTK? Note that GTK+1 and GTK+2 have independent settings. Also note that (on my machine) running a GNOME program makes the font size instantly go small.
I use this http://www.muhri.net/nav.php3?node=gts to change font sizes for GTK+1 and GTK+2.
HTH -trent
The font size of menus and dialogs is very small.
Is there a way of changing it, e.g. to the default size that other GTK apps use? If not (e.g. because it is hardcoded), can someone point me to a location in the code where I can change it?
How are you changing font size for GTK? Note that GTK+1 and GTK+2 have independent settings. Also note that (on my machine) running a GNOME program makes the font size instantly go small.
Usually I work under KDE. Just for fun I started a Gnome Session and there the inkscape menus and dialogues come up with a normal font size. Back in KDE the inkscape menus are very tiny again.
(Indeed all other GTK programs I have are GTK+1 and they work well)
I use this http://www.muhri.net/nav.php3?node=gts to change font sizes for GTK+1 and GTK+2.
I tried it. When selecting a larger font, it will display the current theme with this font, but after applying and exiting it has no effect on newly started gtk2 apps. It writes a file named ~/.gtkrc-2.0 with the following lines:
style "user-font" { font_name="Adobe Helvetica 12" } widget_class "*" style "user-font"
Unfortunately this file is not read when I start inkscape (or any other gtk2 app), as strace shows.
I found the following environment variable which seems to indicate which GTK resource files to read:
GTK2_RC_FILES=/etc/gtk-2.0/gtkrc:/usr/share/themes/Geramik/gtk-2.0/gtkrc:~/.gtkrc-2.0-HighColor:~/.kde/share/config/gtkrc
I would like to add ~/.gtkrc-2.0 to that variable (besides cleaning it up somewhat) but have no idea where it is set.
Any hints?
Thanks Mario
On Wednesday 19 May 2004 16:43, Mario Streiber wrote:
Usually I work under KDE. Just for fun I started a Gnome Session and there the inkscape menus and dialogues come up with a normal font size. Back in KDE the inkscape menus are very tiny again.
(Indeed all other GTK programs I have are GTK+1 and they work well)
You may want to try this: http://www.kde-look.org/content/show.php?content=9714
I have GTK-Qt installed, and gtk-qt theme set in my gtkrc, and all gtk apps use the same fonts and font sizes as in KDE. Works perfectly.
Artemio.
Quoth Mario Streiber on or about 2004-05-19:
I tried it. When selecting a larger font, it will display the current theme with this font, but after applying and exiting it has no effect on newly started gtk2 apps. It writes a file named ~/.gtkrc-2.0 with the following lines:
Unfortunately this file is not read when I start inkscape (or any other gtk2 app), as strace shows.
It sounds like KDE is messing about with how GTK2's behavior.
Since I don't run GNOME or KDE; the only Qt app I have is filelight, I can't help there. Sorry.
-trent
Trent Buck's Message from Wednesday 19 May 2004 16:09:
Quoth Mario Streiber on or about 2004-05-19:
I tried it. When selecting a larger font, it will display the current theme with this font, but after applying and exiting it has no effect on newly started gtk2 apps. It writes a file named ~/.gtkrc-2.0 with the following lines:
Unfortunately this file is not read when I start inkscape (or any other gtk2 app), as strace shows.
It sounds like KDE is messing about with how GTK2's behavior.
Since I don't run GNOME or KDE; the only Qt app I have is filelight, I can't help there. Sorry.
As I wrote further down the env variable GTK2_RC_FILES determines which config files to read. Meanwhile I found out that it is set in the kde startup script /opt/kde3/bin/startkde (at least on SuSE). I added $HOME/.gtkrc-2.0 there and it works now.
I also tried gtk-qt as Artemio suggested. But even with this theme engine I had to specify a certain font and size in the gtkrc file. And also, this is much slower on my not-so-fast system so I decided not to use it.
Thanks anyway Mario
participants (3)
-
Artemio
-
Mario Streiber
-
Trent Buck