< prev index next >
modules/javafx.graphics/src/main/java/com/sun/javafx/font/directwrite/DWFontFile.java
Print this page
@@ -116,11 +116,11 @@
if (size == 0) return new Path2D();
return fontFace.GetGlyphRunOutline(size, (short)gc, false);
}
RectBounds getBBox(int glyphCode, float size) {
- /* In coretext and t2k this is the bounds for the path of the glyph */
+ /* In coretext this is the bounds for the path of the glyph */
float[] bb = new float[4];
getGlyphBoundingBox(glyphCode, size, bb);
return new RectBounds(bb[0], bb[1], bb[2], bb[3]);
}
< prev index next >