[geeks] Java: make it use the good fonts in X

Charles Shannon Hendrix shannon at widomaker.com
Mon Feb 19 09:55:13 CST 2007


On Mon, 19 Feb 2007 03:03:46 -0500 (EST)
der Mouse <mouse at Rodents.Montreal.QC.CA> wrote:

> > Does anyone know how to make Sun's Java use the good fonts when
> > running under X and Linux?
> 
> > I would like Java apps to use sub-pixel fonts rather than the ugly
> > raster stuff.
> 
> X font handling can't do anti-aliasing or sub-pixel rendering or
> anything else but simple bitmaps unless you depend on extensions.

In case you haven't noticed just about *everything* is now a module or
extension.

You can't use most fonts *AT ALL* without an extension these days.

I don't see what that has to do with Java anyway, since I'm running it on the
same server with all my other applications.

> Depending on what X server you want to run it against, there may be a
> way to do this - that I can't comment on.  But you definitely will need
> to look at extensions if you want sub-pixel font rendering under X.

Ah, you misunderstood.

I have sub-pixel font rendering working perfectly.

The problem is that it isn't happening in Java.



-- 
shannon           | The determined programmer can write a FORTRAN
                  | program in any language. 



More information about the geeks mailing list