summaryrefslogtreecommitdiffstats
path: root/src/jogl/classes
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2023-02-06 02:38:25 +0100
committerSven Gothel <[email protected]>2023-02-06 02:38:25 +0100
commit6365b7e6bde5f2fc0bc55f19804acc0319eaf5a8 (patch)
tree28c87db8cf9f26ea29a02578e81a1047c1bdfbaa /src/jogl/classes
parent18fc81fab7ba11ae3a4cdd1e94c199371f7c2e91 (diff)
Graph: TypecastRenderer: Add comment about TTF Glyph's having Winding.CW
Diffstat (limited to 'src/jogl/classes')
-rw-r--r--src/jogl/classes/jogamp/graph/font/typecast/TypecastRenderer.java3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/jogl/classes/jogamp/graph/font/typecast/TypecastRenderer.java b/src/jogl/classes/jogamp/graph/font/typecast/TypecastRenderer.java
index 57168244b..09a63d845 100644
--- a/src/jogl/classes/jogamp/graph/font/typecast/TypecastRenderer.java
+++ b/src/jogl/classes/jogamp/graph/font/typecast/TypecastRenderer.java
@@ -39,6 +39,9 @@ import com.jogamp.graph.geom.Vertex.Factory;
* Factory to build an {@link OutlineShape} from
* {@link jogamp.graph.font.typecast.ot.OTGlyph Glyph}s.
*
+ * TTF Glyph's have Winding.CW, hence we add the OutlineShape in reverse order,
+ * i.e. each new vertex at position 0.
+ *
* http://www.freetype.org/freetype2/docs/glyphs/glyphs-3.html
* http://walon.org/pub/ttf/ttf_glyphs.htm
*/