Article View: borland.public.jbuilder.java.api
Article #1722Re: Printing and font-width
From: Torsten Welches
Date: Tue, 16 Oct 2001 06:06
Date: Tue, 16 Oct 2001 06:06
80 lines
4478 bytes
4478 bytes
"H�kan �hlstr�m" <hakan.ahlstrom@liber.se> wrote:
I am no printing expert so I can't really help but I was
curious enough to give your snippet a try - below is what I got with JDK1.3.1 b24 <g>
I tried it with JDK1.4 beta65 and that worked.
Torsten
<<
An unexpected exception has been detected in native code outside the VM.
Unexpected Signal : EXCEPTION_ACCESS_VIOLATION occurred at PC=0x77edc4e1
Function name=(N/A)
Library=C:\WINNT\system32\GDI32.dll
NOTE: We are unable to locate the function name symbol for the error
just occurred. Please refer to release documentation for possible
reason and solutions.
Current Java thread:
at sun.awt.windows.WPrinterJob.polyBezierTo(Native Method)
at sun.awt.windows.WPrinterJob.polyBezierTo(WPrinterJob.java:477)
at sun.awt.windows.WPathGraphics.convertToWPath(WPathGraphics.java:1542)
at sun.awt.windows.WPathGraphics.deviceFill(WPathGraphics.java:1478)
at sun.java2d.PathGraphics.fill(PathGraphics.java:582)
at sun.java2d.PathGraphics.fill(PathGraphics.java:565)
at sun.java2d.PathGraphics.drawString(PathGraphics.java:477)
at sun.awt.windows.WPathGraphics.drawString(WPathGraphics.java:371)
at sun.awt.windows.WPathGraphics.drawString(WPathGraphics.java:215)
at mditest.TestPrint.writeLn(TestPrint.java:72)
at mditest.TestPrint.writeLines(TestPrint.java:55)
at mditest.TestPrint.print(TestPrint.java:39)
at sun.java2d.RasterPrinterJob.printPage(RasterPrinterJob.java:703)
at sun.java2d.RasterPrinterJob.print(RasterPrinterJob.java:342)
at mditest.TestPrint.main(TestPrint.java:92)
Dynamic libraries:
0x00400000 - 0x00405000 C:\jdk1.3.1\bin\javaw.exe
0x77F70000 - 0x77FD0000 C:\WINNT\System32\ntdll.dll
0x77DC0000 - 0x77DFF000 C:\WINNT\system32\ADVAPI32.dll
0x77F00000 - 0x77F62000 C:\WINNT\system32\KERNEL32.dll
0x77E70000 - 0x77EC4000 C:\WINNT\system32\USER32.dll
0x77ED0000 - 0x77EFC000 C:\WINNT\system32\GDI32.dll
0x77E10000 - 0x77E67000 C:\WINNT\system32\RPCRT4.dll
0x78000000 - 0x78040000 C:\WINNT\system32\MSVCRT.dll
0x6D420000 - 0x6D4EF000 C:\jdk1.3.1\jre\bin\hotspot\jvm.dll
0x77FD0000 - 0x77FFB000 C:\WINNT\System32\WINMM.dll
0x6BC00000 - 0x6BC11000 C:\WINNT\System32\SMNT40.dll
0x69F00000 - 0x69FB9000 C:\WINNT\System32\adisynth.dll
0x6D220000 - 0x6D227000 C:\jdk1.3.1\jre\bin\hpi.dll
0x6D3B0000 - 0x6D3BD000 C:\jdk1.3.1\jre\bin\verify.dll
0x6D250000 - 0x6D266000 C:\jdk1.3.1\jre\bin\java.dll
0x6D3C0000 - 0x6D3CD000 C:\jdk1.3.1\jre\bin\zip.dll
0x6D020000 - 0x6D128000 C:\jdk1.3.1\jre\bin\awt.dll
0x73060000 - 0x73078000 C:\WINNT\System32\WINSPOOL.DRV
0x76AD0000 - 0x76AD5000 C:\WINNT\System32\IMM32.dll
0x77B80000 - 0x77C36000 C:\WINNT\system32\ole32.dll
0x6D1E0000 - 0x6D21B000 C:\jdk1.3.1\jre\bin\fontmanager.dll
0x08F70000 - 0x08F85000 C:\JBuilder4\lib\ext\jbWheel.dll
0x77D80000 - 0x77DB3000 C:\WINNT\System32\COMDLG32.DLL
0x77C40000 - 0x77D80000 C:\WINNT\system32\SHELL32.dll
0x09390000 - 0x0941A000 C:\WINNT\system32\COMCTL32.dll
0x77590000 - 0x775A4000 C:\WINNT\System32\spool\DRIVERS\W32X86\2\RASDDUI.DLL
0x09430000 - 0x09463000 C:\programme\babylon\CAPTLIB.DLL
0x731B0000 - 0x731BA000 C:\WINNT\System32\PSAPI.DLL
0x76AE0000 - 0x76AFD000 C:\WINNT\System32\IMAGEHLP.dll
Local Time = Tue Oct 16 07:52:10 2001
Elapsed Time = 11
#
# The exception above was detected in native code outside the VM
#
# Java VM: Java HotSpot(TM) Client VM (1.3.1-b24 mixed mode)
#
# An error report file has been saved as hs_err_pid308.log.
# Please refer to the file for further information.
#
>>
Technical Details
Message-ID:
<3bcbce7d_2@dnews>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!supernews.com!isdnet!diablo.theplanet.net!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!dnewsReferences:
<3bcaf3cb_2@dnews>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII X-Google-Thread: 1089d0,4a74dc8ca421578f X-Google-Attributes: gid1089d0,public X-Google-ArrivalTime: 2001-10-15 23:08:28 PST From: "Torsten Welches" <torsten.welches@who.cares.netcologne.de> Sender: "Torsten Welches" <torsten.welches@who.cares.netcologne.de> Reply-To: "Torsten Welches" <torsten.welches@who.cares.netcologne.de> Subject: Re: Printing and font-width Newsgroups: borland.public.jbuilder.java.api X-User-Info: 193.158.55.74 193.158.55.74 References: <3bcaf3cb_2@dnews> NNTP-Posting-Host: 207.105.83.65 Message-ID: <3bcbce7d_2@dnews> Date: 15 Oct 2001 23:06:53 -0700 X-Trace: dnews 1003212413 207.105.83.65 (15 Oct 2001 23:06:53 -0700) Lines: 80 Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!supernews.com!isdnet!diablo.theplanet.net!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!dnews