diff options
author | Sven Gothel <[email protected]> | 2023-02-06 02:38:25 +0100 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2023-02-06 02:38:25 +0100 |
commit | 6365b7e6bde5f2fc0bc55f19804acc0319eaf5a8 (patch) | |
tree | 28c87db8cf9f26ea29a02578e81a1047c1bdfbaa | |
parent | 18fc81fab7ba11ae3a4cdd1e94c199371f7c2e91 (diff) |
Graph: TypecastRenderer: Add comment about TTF Glyph's having Winding.CW
-rw-r--r-- | make/scripts/tests.sh | 4 | ||||
-rw-r--r-- | src/jogl/classes/jogamp/graph/font/typecast/TypecastRenderer.java | 3 |
2 files changed, 5 insertions, 2 deletions
diff --git a/make/scripts/tests.sh b/make/scripts/tests.sh index a5a221198..ed1f17a41 100644 --- a/make/scripts/tests.sh +++ b/make/scripts/tests.sh @@ -930,14 +930,14 @@ function testawtswt() { # # Graph # -testnoawt com.jogamp.opengl.test.junit.graph.TestRegionRendererNEWT01 $* +#testnoawt com.jogamp.opengl.test.junit.graph.TestRegionRendererNEWT01 $* #testnoawt com.jogamp.opengl.test.junit.graph.TestTextRendererNEWT00 $* #testnoawt com.jogamp.opengl.test.junit.graph.TestTextRendererNEWT01 $* #testnoawt com.jogamp.opengl.test.junit.graph.TestTextRendererNEWT10 $* #testnoawt com.jogamp.opengl.test.junit.graph.TestFontsNEWT00 $* #testnoawt com.jogamp.opengl.test.junit.graph.TestTextRendererNEWTBugXXXX $* #testnoawt com.jogamp.opengl.test.junit.graph.demos.ui.UINewtDemo01 $* -#testnoawt com.jogamp.opengl.test.junit.graph.demos.GPUTextNewtDemo $* +testnoawt com.jogamp.opengl.test.junit.graph.demos.GPUTextNewtDemo $* #testnoawt com.jogamp.opengl.test.junit.graph.demos.GPURegionNewtDemo $* #testnoawt com.jogamp.opengl.test.junit.graph.demos.GPUUISceneNewtDemo $* #testawt com.jogamp.opengl.test.junit.graph.demos.GPUUISceneNewtCanvasAWTDemo $* 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 */ |