From: <doc...@us...> - 2007-09-08 00:53:50
|
Revision: 167 http://openpcl.svn.sourceforge.net/openpcl/?rev=167&view=rev Author: documentsystems Date: 2007-09-07 17:53:51 -0700 (Fri, 07 Sep 2007) Log Message: ----------- Howard Hoagland. Updated from "Version 0.07 August 6, 2007" to "Version 0.08 September 7, 2007" that is shown on the title bar, and in the Help About and the License Info. This 0.08 version changes are: 1. Added code to center the page image horizontally when the user clicked on "Print all on Letter (shrinks Legal)" for the Legal pages to look centered after they've been shrunk to fit on Letter paper. 2. Changed 38 icons to the ones that Yuko Miyahara made, and changed 7 source code files to have the names of the new icons. 3. Added new class PosHoverColorMouseMotionAdapter to set a value in the hovered over JLabel in the JList that causes the PosToolbarDropdownItemRenderer to set the background color as the user moves the mouse from one selection to another so the user has visual confirmation of which item in the drop down will be seleced if clicked there. 4. If System.getProperty("os.name") has "WIN" anywhere (could be any version of Windows), then at app startup time, set the LookAndFeel to com.sun.java.swing.plaf.windows.WindowsLookAndFeel" so that it doesn't default to the Metal Ocean Theme look and feel like it was doing before. Else, let the running JVM set it's default look and feel (for when this app is run on a non Windows platform like a Macintosh, Unix, Linux. 5. In the OpenPCLViewer class, changed the setPreferredSize on the status bar to be 1 line of text high instead of 2 lines of text for the status bar. Also, don't initially put the app name and version and description on the status bar at app startup time. 6. In the PosStatusBar class, added the method adjustCursorPixelLocationPanelSize() and called it from OpenPCLViewer to change the status bar height and the width of the right side subpanel in the status bar depending on the on the fly font height and width calculation when the user changes the LookAndFeel, changed the lowered bevel look of the status bar to a non 3D looking line border so it won't remind people of the old school Windows 3.1 days. 7. Fixed problem where printers that don't do 300 dpi but do 600 dpi were printing the page image 1/2 the size width and height, making the page image be on the upper left corner of the paper. Now the page image prints at the right size no matter if the printer's max resolution is 300 dpi or is a printer that doesn't have 300 dpi but has 600 or 1200 dpi, buy not setting any particular printer resolution by commenting out the line: mPrintRequestAttributeSet.add(new PrinterResolution(300, 300, ResolutionSyntax.DPI));, and specifying mPrintRequestAttributeSet.add(PrintQuality.HIGH) instead of mPrintRequestAttributeSet.add(PrintQuality.DRAFT). 7. Added 3 lines of code to fix bug 1790142 "Does not render", submitted By: David Hill of www.davesplanet.net, where if the horizontal cpi pitch is 0 in the PCL command "ESC ( s 0 h" in an input PCL file, that would cause the PCL parsing to stop. Modified Paths: -------------- openpcl/src/com/openpcl/install/localinstaller/HelpAbout.html openpcl/src/com/openpcl/install/localinstaller/LicenseInfo.html openpcl/src/com/openpcl/viewer/OpenPCLViewer.java openpcl/src/com/openpcl/viewer/htmlfiles/HelpAbout.html openpcl/src/com/openpcl/viewer/htmlfiles/LicenseInfo.html Modified: openpcl/src/com/openpcl/install/localinstaller/HelpAbout.html =================================================================== --- openpcl/src/com/openpcl/install/localinstaller/HelpAbout.html 2007-09-08 00:31:56 UTC (rev 166) +++ openpcl/src/com/openpcl/install/localinstaller/HelpAbout.html 2007-09-08 00:53:51 UTC (rev 167) @@ -2,7 +2,7 @@ <html><head><title>OpenPCL Viewer Help About</title></head> <body><font size=4 face="arial"> <b>OpenPCL Viewer - Free Open Source PCL Viewer for the World.</b><br> -Version 0.08 August 17, 2007<br> +Version 0.08 September 7, 2007<br> OpenPCL is made up of OpenPCLViewer and PclRenderImage.<br> <br> <b>Features:</b> Modified: openpcl/src/com/openpcl/install/localinstaller/LicenseInfo.html =================================================================== --- openpcl/src/com/openpcl/install/localinstaller/LicenseInfo.html 2007-09-08 00:31:56 UTC (rev 166) +++ openpcl/src/com/openpcl/install/localinstaller/LicenseInfo.html 2007-09-08 00:53:51 UTC (rev 167) @@ -2,7 +2,7 @@ <html><head><title>OpenPCL Viewer License</title></head> <body><font size=4 face="arial"> <b>OpenPCL Viewer - Free Open Source PCL Viewer for the World.</b> -<br>Version 0.08 August 17, 2007 +<br>Version 0.08 September 7, 2007 <br>OpenPCL is made up of OpenPCLViewer and PclRenderImage. <br> <p>The OpenPCL license is the GNU Lesser General Public License (LGPL) which you can view at Modified: openpcl/src/com/openpcl/viewer/OpenPCLViewer.java =================================================================== --- openpcl/src/com/openpcl/viewer/OpenPCLViewer.java 2007-09-08 00:31:56 UTC (rev 166) +++ openpcl/src/com/openpcl/viewer/OpenPCLViewer.java 2007-09-08 00:53:51 UTC (rev 167) @@ -151,7 +151,7 @@ // Instance variables protected String mAppName = "OpenPCL Viewer"; protected String mAppDescription = " - Free Open Source PCL Viewer for the World"; - protected String mAppVersion = "Version 0.08 August 17, 2007"; + protected String mAppVersion = "Version 0.08 September 7, 2007"; private Frame mParentFrame = null; private JApplet mJApplet = null; Modified: openpcl/src/com/openpcl/viewer/htmlfiles/HelpAbout.html =================================================================== --- openpcl/src/com/openpcl/viewer/htmlfiles/HelpAbout.html 2007-09-08 00:31:56 UTC (rev 166) +++ openpcl/src/com/openpcl/viewer/htmlfiles/HelpAbout.html 2007-09-08 00:53:51 UTC (rev 167) @@ -2,7 +2,7 @@ <html><head><title>OpenPCL Viewer Help About</title></head> <body><font size=4 face="arial"> <b>OpenPCL Viewer - Free Open Source PCL Viewer for the World.</b><br> -Version 0.08 August 17, 2007<br> +Version 0.08 September 7, 2007<br> OpenPCL is made up of OpenPCLViewer and PclRenderImage.<br> <br> <b>Features:</b> Modified: openpcl/src/com/openpcl/viewer/htmlfiles/LicenseInfo.html =================================================================== --- openpcl/src/com/openpcl/viewer/htmlfiles/LicenseInfo.html 2007-09-08 00:31:56 UTC (rev 166) +++ openpcl/src/com/openpcl/viewer/htmlfiles/LicenseInfo.html 2007-09-08 00:53:51 UTC (rev 167) @@ -2,7 +2,7 @@ <html><head><title>OpenPCL Viewer License</title></head> <body><font size=4 face="arial"> <b>OpenPCL Viewer - Free Open Source PCL Viewer for the World.</b> -<br>Version 0.08 August 17, 2007 +<br>Version 0.08 September 7, 2007 <br>OpenPCL is made up of OpenPCLViewer and PclRenderImage. <br> <p>The OpenPCL license is the GNU Lesser General Public License (LGPL) which you can view at This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |