pdfbox-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From til...@apache.org
Subject svn commit: r1864540 - /pdfbox/branches/issue45/fontbox/src/main/java/org/apache/fontbox/ttf/TrueTypeFont.java
Date Tue, 06 Aug 2019 16:42:04 GMT
Author: tilman
Date: Tue Aug  6 16:42:04 2019
New Revision: 1864540

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

Modified:
    pdfbox/branches/issue45/fontbox/src/main/java/org/apache/fontbox/ttf/TrueTypeFont.java

Modified: pdfbox/branches/issue45/fontbox/src/main/java/org/apache/fontbox/ttf/TrueTypeFont.java
URL: http://svn.apache.org/viewvc/pdfbox/branches/issue45/fontbox/src/main/java/org/apache/fontbox/ttf/TrueTypeFont.java?rev=1864540&r1=1864539&r2=1864540&view=diff
==============================================================================
--- pdfbox/branches/issue45/fontbox/src/main/java/org/apache/fontbox/ttf/TrueTypeFont.java
(original)
+++ pdfbox/branches/issue45/fontbox/src/main/java/org/apache/fontbox/ttf/TrueTypeFont.java
Tue Aug  6 16:42:04 2019
@@ -147,7 +147,7 @@ public class TrueTypeFont implements Fon
     /**
      * This will get the naming table for the true type font.
      * 
-     * @return The naming table.
+     * @return The naming table or null if it doesn't exist.
      * @throws IOException if there was an error reading the table.
      */
     public NamingTable getNaming() throws IOException
@@ -158,7 +158,7 @@ public class TrueTypeFont implements Fon
     /**
      * Get the postscript table for this TTF.
      * 
-     * @return The postscript table.
+     * @return The postscript table or null if it doesn't exist.
      * @throws IOException if there was an error reading the table.
      */
     public PostScriptTable getPostScript() throws IOException
@@ -169,7 +169,7 @@ public class TrueTypeFont implements Fon
     /**
      * Get the OS/2 table for this TTF.
      * 
-     * @return The OS/2 table.
+     * @return The OS/2 table or null if it doesn't exist.
      * @throws IOException if there was an error reading the table.
      */
     public OS2WindowsMetricsTable getOS2Windows() throws IOException
@@ -180,7 +180,7 @@ public class TrueTypeFont implements Fon
     /**
      * Get the maxp table for this TTF.
      * 
-     * @return The maxp table.
+     * @return The maxp table or null if it doesn't exist.
      * @throws IOException if there was an error reading the table.
      */
     public MaximumProfileTable getMaximumProfile() throws IOException
@@ -191,7 +191,7 @@ public class TrueTypeFont implements Fon
     /**
      * Get the head table for this TTF.
      * 
-     * @return The head table.
+     * @return The head table or null if it doesn't exist.
      * @throws IOException if there was an error reading the table.
      */
     public HeaderTable getHeader() throws IOException
@@ -202,7 +202,7 @@ public class TrueTypeFont implements Fon
     /**
      * Get the hhea table for this TTF.
      * 
-     * @return The hhea table.
+     * @return The hhea table or null if it doesn't exist.
      * @throws IOException if there was an error reading the table.
      */
     public HorizontalHeaderTable getHorizontalHeader() throws IOException
@@ -213,7 +213,7 @@ public class TrueTypeFont implements Fon
     /**
      * Get the hmtx table for this TTF.
      * 
-     * @return The hmtx table.
+     * @return The hmtx table or null if it doesn't exist.
      * @throws IOException if there was an error reading the table.
      */
     public HorizontalMetricsTable getHorizontalMetrics() throws IOException
@@ -224,7 +224,7 @@ public class TrueTypeFont implements Fon
     /**
      * Get the loca table for this TTF.
      * 
-     * @return The loca table.
+     * @return The loca table or null if it doesn't exist.
      * @throws IOException if there was an error reading the table.
      */
     public IndexToLocationTable getIndexToLocation() throws IOException
@@ -235,7 +235,7 @@ public class TrueTypeFont implements Fon
     /**
      * Get the glyf table for this TTF.
      * 
-     * @return The glyf table.
+     * @return The glyf table or null if it doesn't exist.
      * @throws IOException if there was an error reading the table.
      */
     public GlyphTable getGlyph() throws IOException
@@ -246,7 +246,7 @@ public class TrueTypeFont implements Fon
     /**
      * Get the "cmap" table for this TTF.
      * 
-     * @return The "cmap" table.
+     * @return The "cmap" table or null if it doesn't exist.
      * @throws IOException if there was an error reading the table.
      */
     public CmapTable getCmap() throws IOException
@@ -257,7 +257,7 @@ public class TrueTypeFont implements Fon
     /**
      * Get the vhea table for this TTF.
      * 
-     * @return The vhea table.
+     * @return The vhea table or null if it doesn't exist.
      * @throws IOException if there was an error reading the table.
      */
     public VerticalHeaderTable getVerticalHeader() throws IOException
@@ -268,7 +268,7 @@ public class TrueTypeFont implements Fon
     /**
      * Get the vmtx table for this TTF.
      * 
-     * @return The vmtx table.
+     * @return The vmtx table or null if it doesn't exist.
      * @throws IOException if there was an error reading the table.
      */
     public VerticalMetricsTable getVerticalMetrics() throws IOException
@@ -279,7 +279,7 @@ public class TrueTypeFont implements Fon
     /**
      * Get the VORG table for this TTF.
      * 
-     * @return The VORG table.
+     * @return The VORG table or null if it doesn't exist.
      * @throws IOException if there was an error reading the table.
      */
     public VerticalOriginTable getVerticalOrigin() throws IOException
@@ -290,7 +290,7 @@ public class TrueTypeFont implements Fon
     /**
      * Get the "kern" table for this TTF.
      * 
-     * @return The "kern" table.
+     * @return The "kern" table or null if it doesn't exist.
      * @throws IOException if there was an error reading the table.
      */
     public KerningTable getKerning() throws IOException
@@ -301,7 +301,7 @@ public class TrueTypeFont implements Fon
     /**
      * Get the "gsub" table for this TTF.
      *
-     * @return The "gsub" table.
+     * @return The "gsub" table or null if it doesn't exist.
      * @throws IOException if there was an error reading the table.
      */
     public GlyphSubstitutionTable getGsub() throws IOException



Mime
View raw message