summaryrefslogtreecommitdiffstats
path: root/src/jogl/classes/jogamp/graph/curve/text
diff options
context:
space:
mode:
authorRami Santina <[email protected]>2011-05-10 14:29:12 +0300
committerRami Santina <[email protected]>2011-05-10 14:29:12 +0300
commit192631530503b8046abcfa9b2ca6760e3f39ae66 (patch)
treef19789a1407ae1a00cd9de1987f5a0529b647325 /src/jogl/classes/jogamp/graph/curve/text
parent1303328b476570d94e56c9d2fc061e3b09cf538a (diff)
Fix: glyph outline orientation with the removal of inversion
Diffstat (limited to 'src/jogl/classes/jogamp/graph/curve/text')
-rw-r--r--src/jogl/classes/jogamp/graph/curve/text/GlyphShape.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/jogl/classes/jogamp/graph/curve/text/GlyphShape.java b/src/jogl/classes/jogamp/graph/curve/text/GlyphShape.java
index b6f37a610..b47612f51 100644
--- a/src/jogl/classes/jogamp/graph/curve/text/GlyphShape.java
+++ b/src/jogl/classes/jogamp/graph/curve/text/GlyphShape.java
@@ -73,7 +73,8 @@ public class GlyphShape {
public final Vertex.Factory<? extends Vertex> vertexFactory() { return shape.vertexFactory(); }
private void addVertexToLastOutline(Vertex vertex) {
- shape.addVertex(vertex);
+ //FIXME: assuming font outline comes in CW order
+ shape.addVertex(0, vertex);
}
private void addOutlineVerticesFromGlyphVector(float[] coords, int segmentType){