summaryrefslogtreecommitdiff
path: root/gnu/java/awt/font/autofit/GlyphHints.java
diff options
context:
space:
mode:
Diffstat (limited to 'gnu/java/awt/font/autofit/GlyphHints.java')
-rw-r--r--gnu/java/awt/font/autofit/GlyphHints.java13
1 files changed, 13 insertions, 0 deletions
diff --git a/gnu/java/awt/font/autofit/GlyphHints.java b/gnu/java/awt/font/autofit/GlyphHints.java
index 208a7f875..8b20ea320 100644
--- a/gnu/java/awt/font/autofit/GlyphHints.java
+++ b/gnu/java/awt/font/autofit/GlyphHints.java
@@ -38,6 +38,7 @@ exception statement from your version. */
package gnu.java.awt.font.autofit;
+import gnu.java.awt.font.opentype.truetype.Fixed;
import gnu.java.awt.font.opentype.truetype.Point;
import gnu.java.awt.font.opentype.truetype.Zone;
@@ -71,6 +72,9 @@ class GlyphHints
axis = new AxisHints[Constants.DIMENSION_MAX];
axis[Constants.DIMENSION_VERT] = new AxisHints();
axis[Constants.DIMENSION_HORZ] = new AxisHints();
+
+ xScale = Fixed.ONE;
+ yScale = Fixed.ONE;
}
void rescale(ScriptMetrics m)
@@ -276,4 +280,13 @@ class GlyphHints
}
}
+ boolean doHorizontal()
+ {
+ return true; // Check scaler flags here.
+ }
+
+ boolean doVertical()
+ {
+ return true; // Check scaler flags here.
+ }
}