Article View: borland.public.jbuilder.java.api
Article #721Re: Trouble scaling rotated SansSerif Font in JDK 1.4.1
From: Lori M Olson (TeamB)
Date: Sat, 08 Mar 2003 20:32
Date: Sat, 08 Mar 2003 20:32
43 lines
2875 bytes
2875 bytes
Alex Waller wrote: > To summarize; I've verified that Borland 1.3.1 JDK on Windows, > Sun 1.3.1_07 on Windows, and Apple 1.3.1 JDK on the Mac all seem to work > > the same and produce "acceptable" results when a window having rotated > text is resized to a long, narrow window. However the Sun version JDK > 1.4.1_01 produces unacceptable results. So something "broke" with > version 1.4.1_01. Is this a known problem? Is there a workaround? Or > should I be now doing things differently? > Some extra added info that might help. It seems to be associated > with the screen rendering of fonts. A plot procedure that I have can > print several (plot) panels (JPanel) that are in a window to a single > page. The rotated fonts seem to come out OK on the printer under JDK > 1.4.1 (again they looked stretched out but not illegible). > I include source code below which demonstrates this problem. After > the window is displayed make the window long and narrow and watch what > happens to the rotated (Y-axis) text. > Interesting. The difference appears to be subtle, but makes a significant difference in readability when you really squish it. I haven't seen this anywhere else. I think you will have to try and submit it as a JDK bug. -- Regards, Lori Olson (TeamB) ------------ Save yourself, and everyone else, some time and search the newsgroups and the FAQ-O-Matic before posting your next question. Google Advanced Newsgroup Search http://www.google.com/advanced_group_search Other Newsgroup Searches: http://www.borland.com/newsgroups/ngsearch.html Joi Ellis's FAQ-O-Matic: http://www.visi.com/~gyles19/fom-serve/cache/1.html
Technical Details
Message-ID:
<3E6A5346.4090107@techie.com>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-03!sn-xit-01!sn-xit-09!supernews.com!news.maxwell.syr.edu!news-han1.dfn.de!news-lei1.dfn.de!newsfeed.freenet.de!news1.dtag.de!RRZ.Uni-Koeln.DE!nntp.cs.uni-magdeburg.de!PeerFeed.KWeb.on.ca!news.kweb.on.ca!KWeb!newsgroups.borland.com!not-for-mailReferences:
<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 12:38:05 PST Message-ID: <3E6A5346.4090107@techie.com> Date: Sat, 08 Mar 2003 13:32:06 -0700 From: "Lori M Olson (TeamB)" <javadragon@techie.com> Organization: Java Dragon Inc. User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.0.2) Gecko/20030208 Netscape/7.02 X-Accept-Language: en-ca, en-us, en MIME-Version: 1.0 Newsgroups: borland.public.jbuilder.java.api Subject: Re: Trouble scaling rotated SansSerif Font in JDK 1.4.1 References: <3E690FDF.AAF8C3B@fnal.gov> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit NNTP-Posting-Host: 142.179.181.200 X-Trace: newsgroups.borland.com 1047155526 142.179.181.200 (8 Mar 2003 12:32:06 -0800) Lines: 44 Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-03!sn-xit-01!sn-xit-09!supernews.com!news.maxwell.syr.edu!news-han1.dfn.de!news-lei1.dfn.de!newsfeed.freenet.de!news1.dtag.de!RRZ.Uni-Koeln.DE!nntp.cs.uni-magdeburg.de!PeerFeed.KWeb.on.ca!news.kweb.on.ca!KWeb!newsgroups.borland.com!not-for-mail