Ask a Question related to Debian, Design and Development.
-
Erhard Schultchen #1
once again: font sizes
Hi folks,
I know this is a very-FAQ, but I still can't get it working.
Environment: Debian/Sid with gnome2. 14" TFT-Display at 1024x768 and
X set to 100dpi res.
Problem: font sizes in gtk1.2+ applications (sylpheed, openoffice, gimp)
are ridicously large (measured about 6mm)
Already tried: Forcing other display-dpi values, reordering of fontlist,
added to .Xdefaults:
*fontList: \
-adobe-helvetica-medium-*-*-*-8-*-*-*-*-46-iso8859-15
Made fontsize values smaller in /etc/gtk/gtkrc. Even changed system
locale to en_us, having no effect.
As gtk1.2 programs are the only ones effected, I assume it is not a
problem with the x-config. Non-gtk/kde programs work fine as well (xfig)
Would appreciate any help in form of advises, links, etc...
Erhard
P.S: I'm sorry if You receive this message twice. I did a repost because
it did not appear on the ML after several hours
--
To UNSUBSCRIBE, email to [email]debian-user-request@lists.debian.org[/email]
with a subject of "unsubscribe". Trouble? Contact [email]listmaster@lists.debian.org[/email]
Erhard Schultchen Guest
-
FONT SIZES IN EDIT MODE
Just had my first look at contribute, and when i am in edit mode, some of the text appears so small on my screen its impossible to read, and... -
Problems with font colors, styles and sizes
I run Contribute 3.11 (which is the newest version) - and I recently created a connection key for a customer (type: publishers) where I set the... -
Font Sizes & Master Pages
Is there any way to change the font size or type or text boxes that have been overridden from their masters and modified? Does this question even... -
Pasting text from IE to Freehand misses font sizes
I'm trying to export text from webpages to Freehand using straight copy-paste, but it seems to forget the font sizes. I'm using some scripts to... -
Incorrect Font sizes for Web Capture after upgrade from Acrobat v4.05 to v6.0.1
Adobe Acrobat v6.0.1 Platform: PC Operating System: Windows 98 v4.10.2222 A Memory: 191 MB RAM We have been using Adobe Acrobat v4.05 for a... -
Benedict Verheyen #2
Re: once again: font sizes
>Hi folks,
Hi,>
>I know this is a very-FAQ, but I still can't get it working.
>
>Environment: Debian/Sid with gnome2. 14" TFT-Display at 1024x768 and
>X set to 100dpi res.
>
>Problem: font sizes in gtk1.2+ applications (sylpheed, openoffice, gimp)
>are ridicously large (measured about 6mm)
>
>Already tried: Forcing other display-dpi values, reordering of fontlist,
>added to .Xdefaults:
>*fontList: \
>-adobe-helvetica-medium-*-*-*-8-*-*-*-*-46-iso8859-15
>Made fontsize values smaller in /etc/gtk/gtkrc. Even changed system
>locale to en_us, having no effect.
>
>As gtk1.2 programs are the only ones effected, I assume it is not a
>problem with the x-config. Non-gtk/kde programs work fine as well (xfig)
>
>Would appreciate any help in form of advises, links, etc...
>
>Erhard
>
>P.S: I'm sorry if You receive this message twice. I did a repost because
>it did not appear on the ML after several hours
>
i found this on the web. Maybe this will help:
================================================
How do I use GTK+ 2 resource settings for GTK+ 2 applications when not in a GNOME environment?
GNOME 2 applications get their GTK+ 2 resources from themes and the corresponding theme engine. If you would rather run your GTK+ 2 applications in a non-GNOME environment then you will need to create a file named ~/.gtkrc-2.0.
To use the widgets from a GTK+ 2 theme when in a non-GNOME environment, simply include the theme's gtk-2.0/gtkrc in your ~/.gtkrc-2.0. For example:
include "/usr/X11R6/share/themes/Crux/gtk-2.0/gtkrc"
If you prefer, you can use the same GTK+ 1.2 theme for both GTK+ 1.2 and GTK+ 2 applications, which will give your GTK+ programs a consistent look. For the most part, you can transfer your settings from your ~/.gtkrc file (used for GTK+ 1.2) with a couple of caveats.
If you have any theme engine references, you will have to make sure there is a corresponding GTK+ 2 theme engine. Otherwise, remove the engine entries.
The default font specification should be outside of any style blocks and should be specified with the gtk-font-name keyword. For example:
gtk-font-name = "Verdana 11"
================================================
Regards,
Benedict
--
To UNSUBSCRIBE, email to [email]debian-user-request@lists.debian.org[/email]
with a subject of "unsubscribe". Trouble? Contact [email]listmaster@lists.debian.org[/email]
Benedict Verheyen Guest
-
Erhard Schultchen #3
Re: once again: font sizes
"Benedict Verheyen" <linux4bene@pandora.be> schrieb:
thanks a lot, this one did it!>The default font specification should be outside of
> any style blocks and should be specified with the gtk-font-name
> keyword. For example: gtk-font-name = "Verdana 11"
Regards,
Erhard
--
To UNSUBSCRIBE, email to [email]debian-user-request@lists.debian.org[/email]
with a subject of "unsubscribe". Trouble? Contact [email]listmaster@lists.debian.org[/email]
Erhard Schultchen Guest
-
Chris Metzler #4
Re: once again: font sizes
On Mon, 07 Jul 2003 11:00:36 +0200
Erhard Schultchen <eschultchen@gmx.de> wrote:OK, so, to make sure I understand the question that you're asking . . .>
>
> Hi folks,
>
> I know this is a very-FAQ, but I still can't get it working.
>
> Environment: Debian/Sid with gnome2. 14" TFT-Display at 1024x768 and
> X set to 100dpi res.
>
> Problem: font sizes in gtk1.2+ applications (sylpheed, openoffice, gimp)
> are ridicously large (measured about 6mm)
you're using a GTK 2/Gnome 2 environment, but you still use some GTK 1/
Gnome 1 apps, and you wanna know how to adjust the fonts for those.
I love Linux, but there are still unpleasant things about it, and one
of those things is fonts, straight across the board. Look in a
thesaurus under "labyrinthine" and "linux font configuration" will
be listed as a synonym.
... . .which are X-specific actions, but not GTK-specific actions, as I> Already tried: Forcing other display-dpi values, reordering of fontlist,
> added to .Xdefaults:
> *fontList: \
> -adobe-helvetica-medium-*-*-*-8-*-*-*-*-46-iso8859-15
understand it. It's GTK that you're trying to reconfigure.
Just out of curiosity, can you elaborate on this? What did you do here,> Made fontsize values smaller in /etc/gtk/gtkrc.
specifically?
The locale *can* have an effect here; or, at least it has for some people> Even changed system
> locale to en_us, having no effect.
(see below).
Right; the problem is probably with the configuration for GTK 1.2.> As gtk1.2 programs are the only ones effected, I assume it is not a
> problem with the x-config. Non-gtk/kde programs work fine as well (xfig)
Here's how I dealt with this.
In your home directory, you'll see a lot of .gtkrc files. For instance,
I see:
-rw-r--r-- 1 cmetzler cmetzler 162 Jun 25 11:48 .gtkrc
-rw-r--r-- 1 cmetzler cmetzler 137 Jun 25 21:21 .gtkrc-1.2-gnome2
-rw-r--r-- 1 cmetzler cmetzler 27 Aug 26 2002 .gtkrc-2.0
-rw-r--r-- 1 cmetzler cmetzler 1118 Apr 1 14:40 .gtkrc-kde
-rw-r--r-- 1 cmetzler cmetzler 126 Jul 7 08:06 .gtkrc.mine
As I understand it, .gtkrc is the traditional configuration file for
old apps that use GTK 1; while .gtkrc-1.2-gnome2 is used by apps that
are still using GTK 1 for their look and feel, but do know how to talk
to the Gnome 2 session manager (sylpheed is an example of these). For
more info on the latter, see:
[url]http://mail.gnome.org/archives/desktop-devel-list/2002-July/msg00684.html[/url]
The important thing is that in each of them, there should be a line at
the end that looks like:
include "/home/cmetzler/.gtkrc.mine"
with whatever your home directory is substituted in, of course.
Various configuration programs use .gtkrc and .gtkrc-1.2-gnome2 to set
things, and have that line at the end so that you can put stuff you
want to adjust manually into that additional file. So, .gtkrc.mine
is the file you want; but you need to make sure that .gtkrc and
...gtkrc-1.2-gnome2 call it.
In .gtkrc.mine, I have the following stuff:
style "user-font"
{
fontset="-monotype-arial-medium-r-normal-*-14-*-*-*-p-*-iso8859-1"
}
widget_class "*" style "user-font"
That sets the font for the user interface for GTK 1.2 apps; adjusting
the 14 to 12 or whatever will allow you to change the fontsize as you
desire. You can also change to another font if you wish.
Note that this will *not* adjust the fonts used *within* GTK 1.2 apps;
those are configured through each app individually, if I remember
correctly. This will merely configure the font of menu bars, pull
down menus, information boxes, etc.
One other thing: at least one person has posted online saying that
their ability to set GTK 1.2 font was affected by the locale they
chose. If they chose the wrong locale, font settings had no effect.
See:
[url]http://lists.debian.org/debian-testing/2003/debian-testing-200305/msg00058.html[/url]
Hope this helps. If it doesn't, let me know. I've been trying to
pull together into one place everything I *think* I've learned about
fonts, both so that I'm not constantly having to research the same
things over and over and also in case it's a help to anyone else.
If I've got something wrong, I definitely wanna know.
-c
--
Chris Metzler [email]cmetzler@speakeasy.snip-me.net[/email]
(remove "snip-me." to email)
"As a child I understood how to give; I have forgotten this grace since I
have become civilized." - Chief Luther Standing Bear
--
To UNSUBSCRIBE, email to [email]debian-user-request@lists.debian.org[/email]
with a subject of "unsubscribe". Trouble? Contact [email]listmaster@lists.debian.org[/email]
Chris Metzler Guest



Reply With Quote

