You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pdfbox.apache.org by ti...@apache.org on 2019/11/30 09:53:45 UTC
svn commit: r1870610 -
/pdfbox/trunk/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/font/PDFontLike.java
Author: tilman
Date: Sat Nov 30 09:53:44 2019
New Revision: 1870610
URL: http://svn.apache.org/viewvc?rev=1870610&view=rev
Log:
PDFBOX-4692: mention example in getHeight/getWeight javadoc
Modified:
pdfbox/trunk/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/font/PDFontLike.java
Modified: pdfbox/trunk/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/font/PDFontLike.java
URL: http://svn.apache.org/viewvc/pdfbox/trunk/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/font/PDFontLike.java?rev=1870610&r1=1870609&r2=1870610&view=diff
==============================================================================
--- pdfbox/trunk/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/font/PDFontLike.java (original)
+++ pdfbox/trunk/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/font/PDFontLike.java Sat Nov 30 09:53:44 2019
@@ -68,7 +68,8 @@ public interface PDFontLike
* but there is no corresponding advance height. The logical height of a character is the same
* for every character in a font, so if you want that, retrieve the font bbox's height.
* Otherwise if you want the visual bounds of the glyph then call getPath(..) on the appropriate
- * PDFont subclass to retrieve the glyph outline as a GeneralPath.
+ * PDFont subclass to retrieve the glyph outline as a GeneralPath. See the cyan rectangles in
+ * the <b>DrawPrintTextLocations.java</b> example to see this in action.
*
* @param code character code
* @deprecated Use
@@ -82,7 +83,8 @@ public interface PDFontLike
* Returns the advance width of the given character, in glyph space.<p>
*
* If you want the visual bounds of the glyph then call getPath(..) on the appropriate
- * PDFont subclass to retrieve the glyph outline as a GeneralPath instead.
+ * PDFont subclass to retrieve the glyph outline as a GeneralPath instead. See the cyan
+ * rectangles in the <b>DrawPrintTextLocations.java</b> example to see this in action.
*
* @param code character code
*/