Author: tallison
Date: Fri Jan 20 12:10:29 2017
New Revision: 1779613
URL: http://svn.apache.org/viewvc?rev=1779613&view=rev
Log:
Bug 60608 -- improve charset handling in Hwmf -- remove deprecated
drawString(String...
Modified:
poi/trunk/src/scratchpad/src/org/apache/poi/hwmf/draw/HwmfGraphics.java
Modified:
poi/trunk/src/scratchpad/src/org/apache/poi/hwmf/draw/HwmfGraphics.java
URL:
http://svn.apache.org/viewvc/poi/trunk/src/scratchpad/src/org/apache/poi/hwmf/draw/HwmfGraphics.java?rev=1779613&r1=1779612&r2=1779613&view=diff
==============================================================================
--- poi/trunk/src/scratchpad/src/org/apache/poi/hwmf/draw/HwmfGraphics.java
(original)
+++ poi/trunk/src/scratchpad/src/org/apache/poi/hwmf/draw/HwmfGraphics.java Fri
Jan 20 12:10:29 2017
@@ -316,30 +316,10 @@ public class HwmfGraphics {
}
}
- /**
- *
- * @param text
- * @param bounds
- * @deprecated use {@link #drawString(byte[], Rectangle2D)}
- */
- public void drawString(String text, Rectangle2D bounds) {
- drawString(text, bounds, null);
- }
-
public void drawString(byte[] text, Rectangle2D bounds) {
drawString(text, bounds, null);
}
- /**
- *
- * @param text
- * @param bounds
- * @deprecated use {@link #drawString(byte[], Rectangle2D, int[])}
- */
- public void drawString(String text, Rectangle2D bounds, int dx[]) {
- drawString(text.getBytes(DEFAULT_CHARSET), bounds, dx);
- }
-
public void drawString(byte[] text, Rectangle2D bounds, int dx[]) {
HwmfFont font = prop.getFont();
if (font == null || text == null || text.length == 0) {
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]