diff options
author | Sven Gothel <[email protected]> | 2011-05-10 23:38:40 +0200 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2011-05-10 23:38:40 +0200 |
commit | 9ceff75afcbf6c446e75c1be6b4be1e62d543f3a (patch) | |
tree | 57d2d608b2705953ab37c6e3ccd1bff22ec7d621 /src/jogl/classes/jogamp/graph/font | |
parent | 192631530503b8046abcfa9b2ca6760e3f39ae66 (diff) |
Graph/Loop: More readable/verbose invert case; using Winding enum; ttf reader: Adding debug dump of font direction hint
Diffstat (limited to 'src/jogl/classes/jogamp/graph/font')
-rw-r--r-- | src/jogl/classes/jogamp/graph/font/typecast/TypecastFont.java | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/jogl/classes/jogamp/graph/font/typecast/TypecastFont.java b/src/jogl/classes/jogamp/graph/font/typecast/TypecastFont.java index b5ec011c9..2e692e5ce 100644 --- a/src/jogl/classes/jogamp/graph/font/typecast/TypecastFont.java +++ b/src/jogl/classes/jogamp/graph/font/typecast/TypecastFont.java @@ -124,6 +124,7 @@ class TypecastFont implements FontInt { cmapentries += range.getEndCode() - range.getStartCode() + 1; // end included } if(DEBUG) { + System.err.println("font direction hint: "+font.getHeadTable().getFontDirectionHint()); System.err.println("num glyphs: "+font.getNumGlyphs()); System.err.println("num cmap entries: "+cmapentries); System.err.println("num cmap ranges: "+cmapFormat.getRangeCount()); @@ -198,9 +199,9 @@ class TypecastFont implements FontInt { { final HdmxTable.DeviceRecord dr = hdmx.getRecord(i); result.addAdvance(dr.getWidth(code), dr.getPixelSize()); - if(DEBUG) { + /* if(DEBUG) { System.err.println("hdmx advance : pixelsize = "+dr.getWidth(code)+" : "+ dr.getPixelSize()); - } + } */ } } char2Glyph.put(symbol, result); |