pdfbox-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From til...@apache.org
Subject svn commit: r1704713 - /pdfbox/branches/1.8/fontbox/src/main/java/org/apache/fontbox/ttf/AbstractTTFParser.java
Date Tue, 22 Sep 2015 20:02:15 GMT
Author: tilman
Date: Tue Sep 22 20:02:14 2015
New Revision: 1704713

URL: http://svn.apache.org/viewvc?rev=1704713&view=rev
Log:
PDFBOX-2986: improve javadoc

Modified:
    pdfbox/branches/1.8/fontbox/src/main/java/org/apache/fontbox/ttf/AbstractTTFParser.java

Modified: pdfbox/branches/1.8/fontbox/src/main/java/org/apache/fontbox/ttf/AbstractTTFParser.java
URL: http://svn.apache.org/viewvc/pdfbox/branches/1.8/fontbox/src/main/java/org/apache/fontbox/ttf/AbstractTTFParser.java?rev=1704713&r1=1704712&r2=1704713&view=diff
==============================================================================
--- pdfbox/branches/1.8/fontbox/src/main/java/org/apache/fontbox/ttf/AbstractTTFParser.java
(original)
+++ pdfbox/branches/1.8/fontbox/src/main/java/org/apache/fontbox/ttf/AbstractTTFParser.java
Tue Sep 22 20:02:14 2015
@@ -51,10 +51,10 @@ abstract class AbstractTTFParser
     }
 
     /**
-     * Parse a file and get a true type font.
-     * @param ttfFile The TTF file.
-     * @return A true type font.
-     * @throws IOException If there is an error parsing the true type font.
+     * Parse a file and get a TrueType font.
+     * @param ttfFile The TrueType file name.
+     * @return A TrueType font.
+     * @throws IOException If there is an error parsing the TrueType font.
      */
     public TrueTypeFont parseTTF( String ttfFile ) throws IOException
     {
@@ -62,10 +62,10 @@ abstract class AbstractTTFParser
     }
     
     /**
-     * Parse a file and get a true type font.
-     * @param ttfFile The TTF file.
-     * @return A true type font.
-     * @throws IOException If there is an error parsing the true type font.
+     * Parse a file and get a TrueType font.
+     * @param ttfFile The TrueType file.
+     * @return A TrueType font.
+     * @throws IOException If there is an error parsing the TrueType font.
      */
     public TrueTypeFont parseTTF( File ttfFile ) throws IOException
     {
@@ -95,10 +95,10 @@ abstract class AbstractTTFParser
     }
     
     /**
-     * Parse a file and get a true type font.
-     * @param raf The TTF file.
-     * @return A true type font.
-     * @throws IOException If there is an error parsing the true type font.
+     * Parse a TrueType data stream and get a TrueType font.
+     * @param raf The TrueType file.
+     * @return A TrueType font.
+     * @throws IOException If there is an error parsing the TrueType font.
      */
     public TrueTypeFont parseTTF( TTFDataStream raf ) throws IOException
     {
@@ -125,7 +125,7 @@ abstract class AbstractTTFParser
      * Parse all tables and check if all needed tables are present.
      * @param font the TrueTypeFont instance holding the parsed data.
      * @param raf the data stream of the to be parsed ttf font
-     * @throws IOException If there is an error parsing the true type font.
+     * @throws IOException If there is an error parsing the TrueType font.
      */
     protected void parseTables(TrueTypeFont font, TTFDataStream raf)
     throws IOException {



Mime
View raw message