summaryrefslogtreecommitdiffstats
path: root/src/jogl/classes/jogamp/graph/curve/text
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2011-05-22 06:52:59 +0200
committerSven Gothel <[email protected]>2011-05-22 06:52:59 +0200
commitced1a4c644483ad5bfd28ca2bb6a5ffc030b9f1d (patch)
tree26b5ec722eef1735898c18ce8289e25339f90af6 /src/jogl/classes/jogamp/graph/curve/text
parentf48f1f68ed51fd83f0fa5282209b556eab39e23e (diff)
parent5ea211cde39be9669d1f2f289abbba460398f82e (diff)
Merge remote-tracking branch 'remotes/rsantina/master'
Diffstat (limited to 'src/jogl/classes/jogamp/graph/curve/text')
-rw-r--r--src/jogl/classes/jogamp/graph/curve/text/GlyphShape.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/jogl/classes/jogamp/graph/curve/text/GlyphShape.java b/src/jogl/classes/jogamp/graph/curve/text/GlyphShape.java
index b47612f51..ed51cce98 100644
--- a/src/jogl/classes/jogamp/graph/curve/text/GlyphShape.java
+++ b/src/jogl/classes/jogamp/graph/curve/text/GlyphShape.java
@@ -80,6 +80,7 @@ public class GlyphShape {
private void addOutlineVerticesFromGlyphVector(float[] coords, int segmentType){
switch(segmentType) {
case PathIterator.SEG_MOVETO:
+ shape.closeLastOutline();
shape.addEmptyOutline();
addVertexToLastOutline(vertexFactory().create(coords, 0, 2, true));
numVertices++;