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 2017/03/05 10:29:26 UTC

svn commit: r1785538 - /pdfbox/trunk/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/font/PDVectorFont.java

Author: tilman
Date: Sun Mar  5 10:29:25 2017
New Revision: 1785538

URL: http://svn.apache.org/viewvc?rev=1785538&view=rev
Log:
PDFBOX-3708: clarify javadoc

Modified:
    pdfbox/trunk/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/font/PDVectorFont.java

Modified: pdfbox/trunk/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/font/PDVectorFont.java
URL: http://svn.apache.org/viewvc/pdfbox/trunk/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/font/PDVectorFont.java?rev=1785538&r1=1785537&r2=1785538&view=diff
==============================================================================
--- pdfbox/trunk/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/font/PDVectorFont.java (original)
+++ pdfbox/trunk/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/font/PDVectorFont.java Sun Mar  5 10:29:25 2017
@@ -30,17 +30,17 @@ public interface PDVectorFont
     /**
      * Returns the glyph path for the given character code.
      *
-     * @param code character code
+     * @param code character code in a PDF. Not to be confused with unicode.
      * @throws java.io.IOException if the font could not be read
      */
     GeneralPath getPath(int code) throws IOException;
 
     /**
      * Returns the normalized glyph path for the given character code. The resulting path is
-     * normalized to  the PostScript 1000 unit square, and fallback glyphs are returned
+     * normalized to the PostScript 1000 unit square, and fallback glyphs are returned
      * where appropriate, e.g. for missing glyphs.
      *  
-     * @param code character code
+     * @param code character code in a PDF. Not to be confused with unicode.
      * @throws java.io.IOException if the font could not be read
      */
     GeneralPath getNormalizedPath(int code) throws IOException;
@@ -48,7 +48,7 @@ public interface PDVectorFont
     /**
      * Returns true if this font contains a glyph for the given character code.
      *
-     * @param code character code
+     * @param code character code in a PDF. Not to be confused with unicode.
      */
     boolean hasGlyph(int code) throws IOException;
 }