[Cooker] [Bug 1567] [Installation] Bad, large and ugly fonts in UTF8 mode for gtk1.2 apps

2003-02-20 Thread reinout
https://qa.mandrakesoft.com/show_bug.cgi?id=1567

[EMAIL PROTECTED] changed:

   What|Removed |Added

 CC||[EMAIL PROTECTED]



--- Additional Comments From [EMAIL PROTECTED]  2003-02-20 14:44 ---
*** Bug 1927 has been marked as a duplicate of this bug. ***



--- You are receiving this mail because: ---
You are on the CC list for the bug, or are watching someone who is.



--- Reminder: ---
assigned_to: [EMAIL PROTECTED]
status: UNCONFIRMED
creation_date: 
description: 
- Set the system in UTF8 mode
(with localedrake)
- try to run any gtk1.2 application like: gimp, evolution, grip, screem,
gtoaster, gaim, gnucash, etc

== The font used by X is:
- very big, and very different from to non-UTF8 mode
- ugly
- non anti-aliased


The problem was exactly the same on 9.0.
I'm always running 9.0 in UTF8 now, and I had to change a bit some fonts, so I
will provide more information on how to fix that, if I recall what I did.
I think it's important because there are very few things to do to have a very
good UTF8 support and activate it by default (like in rh8.x).




[Cooker] [Bug 1567] [Installation] Bad, large and ugly fonts in UTF8 mode for gtk1.2 apps

2003-02-20 Thread pablo
https://qa.mandrakesoft.com/show_bug.cgi?id=1567

[EMAIL PROTECTED] changed:

   What|Removed |Added

 Status|UNCONFIRMED |RESOLVED
 Resolution||WONTFIX



--- Additional Comments From [EMAIL PROTECTED]  2003-02-20 16:23 ---
We already ship those fonts.
However, they are less complete than ClearlyU (which is not complete either, but
the most complete of bitmap fonts).

The problem is that gtk1 uses the old X11 font mechanism, which supposes a font
is always complete; that is, gtk1 is unable to choose the appropriate font
depending on what it wants to display; to avoid having blank squares instead of
letters, the biggest coverage font is set as the default one.

It cannot be easily fixed. And won't, for languages that don't yet use utf-8 as
the default.
You can however easily fix it:
copy /etc/gtk/gtkrc.utf-8 to  /etc/gtk/gtkrc.nl_NL.utf-8 (or whatever your
locale is. note that the 'utf-8' must be in lowercase (it is in uppercase in the
locale name)) and edit it to match your font taste (you can type in a terminal
the following command to see available fonts for utf-8 in gtk1 programs:
xlsfonts | grep iso10646-1

you can also copy /etc/gtk/gtkrc.iso-8859-15 as /etc/gtk/gtkrc.nl_NL.utf-8 and
change iso8859-15 and iso8859-1 with iso10646-1 in the file, if you like
to keep the same fonts.




--- You are receiving this mail because: ---
You are on the CC list for the bug, or are watching someone who is.



--- Reminder: ---
assigned_to: [EMAIL PROTECTED]
status: RESOLVED
creation_date: 
description: 
- Set the system in UTF8 mode
(with localedrake)
- try to run any gtk1.2 application like: gimp, evolution, grip, screem,
gtoaster, gaim, gnucash, etc

== The font used by X is:
- very big, and very different from to non-UTF8 mode
- ugly
- non anti-aliased


The problem was exactly the same on 9.0.
I'm always running 9.0 in UTF8 now, and I had to change a bit some fonts, so I
will provide more information on how to fix that, if I recall what I did.
I think it's important because there are very few things to do to have a very
good UTF8 support and activate it by default (like in rh8.x).




[Cooker] [Bug 1567] [Installation] Bad, large and ugly fonts in UTF8 mode for gtk1.2 apps

2003-02-11 Thread [Bug 1567]
https://qa.mandrakesoft.com/show_bug.cgi?id=1567





--- Additional Comments From [EMAIL PROTECTED]  2003-02-12 00:23 ---
OK, here is the exact things I did to get correct font.

- download ucs-font
( http://www.cl.cam.ac.uk/~mgk25/download/ucs-fonts.tar.gz )
- JUST untar the package, and copy bdf* into /usr/X11R6/lib/X11/fonts/misc
- REMOVE the fonts named cu12...
- mkfontdir
- service xfs restart
- now, GIMP and others are no more ugly !

it might be also useful to install:
http://www.cl.cam.ac.uk/~mgk25/download/ucs-fonts-asian.tar.gz
http://www.cl.cam.ac.uk/~mgk25/download/ucs-fonts-75dpi100dpi.tar.gz

notes :
---
One thing I don't understand is that these public domain fonts are normally
included in Xfree86. 
But I suspect they are first converted to iso8859-x with the provided perl
script, although we need here unicode fonts. They must be installed AS IS !!
---
The second thing is I don't exactly understand why X chooses cu12 when utf8 is
set. But removing it fixes the problem. There should be another way to do that,
because cu12 might be used in some case ?
---
Now, if someone could add antialiasing, everything would be perfect.



--- You are receiving this mail because: ---
You are on the CC list for the bug, or are watching someone who is.



--- Reminder: ---
assigned_to: [EMAIL PROTECTED]
status: UNCONFIRMED
creation_date: 
description: 
- Set the system in UTF8 mode
(with localedrake)
- try to run any gtk1.2 application like: gimp, evolution, grip, screem,
gtoaster, gaim, gnucash, etc

== The font used by X is:
- very big, and very different from to non-UTF8 mode
- ugly
- non anti-aliased


The problem was exactly the same on 9.0.
I'm always running 9.0 in UTF8 now, and I had to change a bit some fonts, so I
will provide more information on how to fix that, if I recall what I did.
I think it's important because there are very few things to do to have a very
good UTF8 support and activate it by default (like in rh8.x).