RSS/Atom feed Twitter
Site is read-only, email is disabled

why crappy text?

This discussion is connected to the gimp-user-list.gnome.org mailing list which is provided by the GIMP developers and not related to gimpusers.com.

This is a read-only list on gimpusers.com so this discussion thread is read-only, too.

4 of 4 messages available
Toggle history

Please log in to manage your subscriptions.

why crappy text? Dave Stevens 04 Apr 02:01
  why crappy text? Evan Kroske 04 Apr 02:21
   why crappy text? David Gowers 04 Apr 04:04
  why crappy text? Owen 04 Apr 02:58
Dave Stevens
2009-04-04 02:01:30 UTC (almost 16 years ago)

why crappy text?

Hi,

I only very occasionally use the Gimp and am trying to do something that looks as if it ought to be straightforward but which isn't working.

I need to make a text box for a web site that will have a transparent background. I can make the box, type in the text, set the background transparency and export the graphic as a gif. All works as expected except that the text is horribly coarse and grainy. Deja Vu Serif 18 point using gimp 2.4.5 in Fedora 7. I've tried with anti-aliasing and hinting both on and off with no difference.

Ideas?

Dave

Evan Kroske
2009-04-04 02:21:15 UTC (almost 16 years ago)

why crappy text?

Dave Stevens wrote:

Hi,

I only very occasionally use the Gimp and am trying to do something that looks as if it ought to be straightforward but which isn't working.

I need to make a text box for a web site that will have a transparent background. I can make the box, type in the text, set the background transparency and export the graphic as a gif. All works as expected except that the text is horribly coarse and grainy. Deja Vu Serif 18 point using gimp 2.4.5 in Fedora 7. I've tried with anti-aliasing and hinting both on and off with no difference.

Ideas?

Dave

Two things could be causing this effect. First, you have more than 256 colors on your GIF image. GIFs simply can't do large gradients thanks to the 256 color limit and the ugly striping it causes.

The other problem might be that you forgot to leave a little background around your text. GIF images can do transparency, but they only have two levels of it: fully transparent and fully opaque. This means that if you completely crop out the background of some text, leaving the edges of the letters partly transparent, you will have raged, pixel-y edges on your text.

The solution is to leave a little bit of your desired background color around the edges of your letters. Now, instead of trying to store transparency, the GIF stores the combination of the letter color and the background color.

Evan Kroske

Owen
2009-04-04 02:58:45 UTC (almost 16 years ago)

why crappy text?

Hi,

I only very occasionally use the Gimp and am trying to do something that looks
as if it ought to be straightforward but which isn't working.

I need to make a text box for a web site that will have a transparent background. I can make the box, type in the text, set the background transparency and export the graphic as a gif. All works as expected except
that the text is horribly coarse and grainy. Deja Vu Serif 18 point using
gimp 2.4.5 in Fedora 7. I've tried with anti-aliasing and hinting both on and
off with no difference.

Ideas?

Use PNG instead.
See http://members.pcug.org.au/~rcook/Gimp/png_vs_gif.html for a comparison

David Gowers
2009-04-04 04:04:48 UTC (almost 16 years ago)

why crappy text?

If the image is in Indexed mode, you will not get antialiasing. Indexed mode is very limited. You must first convert to RGB mode.