🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.jbuilder.java.api
Article #722

Re: Trouble scaling rotated SansSerif Font in JDK 1.4.1

#722
From: John McGrath TeamB
Date: Sat, 08 Mar 2003 20:43
53 lines
3369 bytes
On Fri, 07 Mar 2003 15:32:15 -0600, Alex Waller wrote:

> Earlier I've had problems posting to the comp.lang.java
> newsgroup. I still haven't found an answer to my problem so
> I'm reposting to comp.lang.java and borland.public.jbuilder
> in hopes that someone can offer a solution to (or at least
> verify I'm not the only one with) this problem. 

Yes, I see the same thing.  Sorry, but I do not have a solution.

> In frustration, I tried submitting this as a bug report to
> Sun but after 3 tries using 2 different browsers getting some
> kind of bad URL link after I pressed the "submit" button, I
> return here in hopes that someone can help.

Are you referring to the Sun Bug Parade?  If so, there may have been 
some temporary problem.  I have submitted quite a few bugs and RFEs 
there over the years and it has always worked for me.

One comment on the problem statement / program:  I think you will have 
much better luck if you do not ask the person checking it out to "make 
the window long and narrow and watch what happens".  The problem is 
that it renders the font badly in some particular cases, so your 
program should show one (or more) of those cases.  

You should not ask the bug reviewer to find the problem case.  That is 
very likely to lead to a "cannot reproduce" response.  Remember that 
the vast majority of bugs reported are not bugs, so he will be looking 
at it with the preconception that there is no bug.  You have to hit the 
guy in the face with the problem so he cannot miss it.

Just find some scaling factors that cause the problem and hard-code 
them.  Don't make it dependent on the window size.  That way when 
someone runs the program, the first thing they see will be the problem.

It would also be a good idea to merge the code into a single file and 
make it as short as possible.  Things like @version tags and unused 
code to pack() the frame just get in the way.  The idea is to make it 
as simple as possible to build the program and see the problem.

> To summarize; I've verified that Borland 1.3.1 JDK on Windows,

Just to be clear, there is no such thing as the "Borland JDK".  That is 
the Sun JDK 1.3.1.

-- 
Regards,

John McGrath [TeamB]

---------------------------------------------------
Before sending me e-mail, please read:
    http://www.JPMcGrath.net/newsgroups/e-mail.html
Technical Details
Message-ID: <MPG.18d41fda4ee01d0a98be9c@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-09!supernews.com!68.6.19.232.MISMATCH!west.cox.net!cox.net!news-hub.cableinet.net!blueyonder!diablo.theplanet.net!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail
References: <3E690FDF.AAF8C3B@fnal.gov>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 1089d0,f0d101cc3d440f31
X-Google-Attributes: gid1089d0,public
X-Google-ArrivalTime: 2003-03-08 13:09:55 PST
From: John McGrath  [TeamB] <ng-b@JPMcGrath.net>
Newsgroups: borland.public.jbuilder.java.api
Subject: Re: Trouble scaling rotated SansSerif Font in JDK 1.4.1
Date: Sat, 8 Mar 2003 15:43:21 -0500
Message-ID: <MPG.18d41fda4ee01d0a98be9c@newsgroups.borland.com>
References: <3E690FDF.AAF8C3B@fnal.gov>
X-Newsreader: MicroPlanet Gravity v2.60
NNTP-Posting-Host: 151.197.232.106
X-Trace: newsgroups.borland.com 1047156201 151.197.232.106 (8 Mar 2003 12:43:21 -0800)
Lines: 53
X-Authenticated-User: jpmcgrath
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-09!supernews.com!68.6.19.232.MISMATCH!west.cox.net!cox.net!news-hub.cableinet.net!blueyonder!diablo.theplanet.net!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail