Re: Font display problem on Linux
From: Josh Stern (josh_at_neurovia.umn.edu)
Date: 10/27/04
- Next message: Abdullah Ramazanoglu: "Re: Are Gnome and Abiword DEAD ?"
- Previous message: Joe Beanfish: "Re: Font display problem on Linux"
- In reply to: Joe Beanfish: "Re: Font display problem on Linux"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Wed, 27 Oct 2004 14:38:02 -0500
On Wed, 27 Oct 2004 14:09:35 -0400, Joe Beanfish wrote:
> On Tue, 26 Oct 2004 21:56:12 -0500, Last2Know <grokkalot@yahoo.com> wrote:
>
>> On Tue, 26 Oct 2004 13:19:06 -0400, Joe Beanfish wrote:
>>
>>> On Mon, 25 Oct 2004 22:40:39 -0500, Last2Know <grokkalot@yahoo.com> wrote:
>>>
>>>> On Mon, 25 Oct 2004 13:46:05 -0400, Joe Beanfish wrote:
>>>>
>>>>> On Fri, 22 Oct 2004 19:20:36 +0100, Roger Leigh <${roger}@invalid.whinlatter.uklinux.net.invalid> wrote:
>>>>>
>>>>>> sks@skscci-dot-com.no-spam.invalid (skscci) writes:
>>>>>>
>>>>>>> I have developed a jbuilder application on a Windows 2000 platform
>>>>>>> and it works and displays fine.
>>>>>>>
>>>>>>> I created a jar file and copied it to my Linux system, and when I
>>>>>>> run the application, it works fine, but it doesn't display properly.
>>>>>>>
>>>>>>> The fonts are too large and many of the labels are truncated.
>>>>>>
>>>>>> It's probably your problem: have you hardcoded widget sizes and
>>>>>> positions? If written properly, your interface should resize to
>>>>>> accomodate text of any size.
>>>>>
>>>>> Unfortunately, I don't think I've seen even one "properly written"
>>>>> java app on the web. They all render fonts in bad to useless ways.
>>>>> Including the Java admin tool for my Linux based NAS appliance.
>>>>
>>>> A lot of Java GUI stuff is written in a way that doesn't look
>>>> decent unless the fonts ultimately get mapped to truetype fonts
>>>> or equivalent. These have to be installed specially for a
>>>> each JVM installation, because all the good ones are proprietary
>>>> and can't ship for free with the JVM. Or at least this was
>>>> situation a few years ago.
>>>
>>> I have lots of common true-type fonts installed including all the
>>> ones that come with Windows. Doesn't help much.
>>>
>>> And for Big Brother, Yes I have the right to those Windows supplied
>>> fonts. They're on the other partition with a purchased copy of Windows.
>>
>> So when a Java program running on your JVM requests, say, the
>> "sans serif" font you have that mapped to something like the
>> Arial truetype font, correct?
>
> I wasted a few hours futzing with the font properties file.
> Did little good. In the odd case where I could get at least
> one part of an app looking right some other part or some other
> app would be worse. And it was pure trial and error to even
> figure out what fonts the app might be asking for.
It's difficult to get right without being an expert
or copying the results of somebody else's fiddling.
I tried to find the web page I last referred to for
this but it is no longer hosted.
You might want to try the j2sdk1.4 jvm from sun,
with and without the font.properties file present
to see if it helps and whether the browser or other
app lets you select better looking fonts in each case.
>>> Another fun problem is my credit card provider. They have a little
>>> java thingy for getting temporary numbers. It displays all fonts
>>> and widgets ok (they're probably all builtin or bitmaps). But it
>>> insists on resizing the window with every operation. The size is
>>> not even remotely correct. I have to keep resizing the window.
>>> Java the portable programming environment. What a laugh.
>>
>> A badly behaved app can be written in any language.
>
> Oh so true.
>
>> Though overall I agree that the GUI libs are the worst
>> aspect of Java.
>
> Yeah, basically puts Java gui programs in the class of windows apps.
> Works on the developer's machine. Anywhere else is pure luck unless
> they spend 6 months trying it everywhere.
The overall look and performance of SWING is pretty
bad too. If one doesn't care about portability then
the Java bindings for Qt are pretty nice, IMO.
- Next message: Abdullah Ramazanoglu: "Re: Are Gnome and Abiword DEAD ?"
- Previous message: Joe Beanfish: "Re: Font display problem on Linux"
- In reply to: Joe Beanfish: "Re: Font display problem on Linux"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|