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

der Mouse mouse at Rodents.Montreal.QC.CA
Mon Feb 19 02:03:46 CST 2007


> 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.

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.

/~\ The ASCII				der Mouse
\ / Ribbon Campaign
 X  Against HTML	       mouse at rodents.montreal.qc.ca
/ \ Email!	     7D C8 61 52 5D E7 2D 39  4E F1 31 3E E8 B3 27 4B



More information about the geeks mailing list