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 2016/06/23 20:04:09 UTC

svn commit: r1749999 - /pdfbox/branches/2.0/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/font/PDFontLike.java

Author: tilman
Date: Thu Jun 23 20:04:09 2016
New Revision: 1749999

URL: http://svn.apache.org/viewvc?rev=1749999&view=rev
Log:
PDFBOX-2852: fix javadoc

Modified:
    pdfbox/branches/2.0/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/font/PDFontLike.java

Modified: pdfbox/branches/2.0/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/font/PDFontLike.java
URL: http://svn.apache.org/viewvc/pdfbox/branches/2.0/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/font/PDFontLike.java?rev=1749999&r1=1749998&r2=1749999&view=diff
==============================================================================
--- pdfbox/branches/2.0/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/font/PDFontLike.java (original)
+++ pdfbox/branches/2.0/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/font/PDFontLike.java Thu Jun 23 20:04:09 2016
@@ -61,17 +61,17 @@ public interface PDFontLike
 
     /**
      * Returns the height of the given character, in glyph space. This can be expensive to
-     * calculate. Results are only approximate.</p>
+     * calculate. Results are only approximate.<p>
      * 
      * Warning: This method is deprecated in PDFBox 2.0 because there is no meaningful value
-     * which it can return. The {@link #getWidth} method returns the advance width of a glyph,
+     * which it can return. The {@link #getWidth(int)} method returns the advance width of a glyph,
      * 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.
      * 
      * @param code character code
-     * @deprecated Use {@link #getBoundingBox().#getHeight(int)} instead.
+     * @deprecated Use {@link #getBoundingBox()#getHeight(int) } instead.
      */
     @Deprecated
     float getHeight(int code) throws IOException;