|
From: <doc...@us...> - 2010-05-11 18:41:37
|
Revision: 231
http://openpcl.svn.sourceforge.net/openpcl/?rev=231&view=rev
Author: documentsystems
Date: 2010-05-11 18:41:31 +0000 (Tue, 11 May 2010)
Log Message:
-----------
Modified Paths:
--------------
openpcl/src/com/openpcl/pclrenderimage/render/PriFonts.java
Modified: openpcl/src/com/openpcl/pclrenderimage/render/PriFonts.java
===================================================================
--- openpcl/src/com/openpcl/pclrenderimage/render/PriFonts.java 2009-02-05 19:20:48 UTC (rev 230)
+++ openpcl/src/com/openpcl/pclrenderimage/render/PriFonts.java 2010-05-11 18:41:31 UTC (rev 231)
@@ -504,7 +504,9 @@
if (mCurrentJavaBuiltInFont == sFontIsMonospaced) {
// For monospaced font (Courier), initialize to HMI 12 and CPI 10
- mCurrentHorizontalMotionIndexHMI = 12;
+ if (mCurrentHorizontalMotionIndexHMI == 0) { //don't reset the HMI if it has already been set
+ mCurrentHorizontalMotionIndexHMI = 12;
+ }
mCurrentHorizontalPitch = 10;
mCurrentFontStylePlanBoldItalic = Font.PLAIN;
mCurrentFontHeight = 12.0f;
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|