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/08/06 16:41:59 UTC

svn commit: r1864539 - /pdfbox/branches/1.8/fontbox/src/main/java/org/apache/fontbox/ttf/TrueTypeFont.java

Author: tilman
Date: Tue Aug  6 16:41:59 2019
New Revision: 1864539

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

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

Modified: pdfbox/branches/1.8/fontbox/src/main/java/org/apache/fontbox/ttf/TrueTypeFont.java
URL: http://svn.apache.org/viewvc/pdfbox/branches/1.8/fontbox/src/main/java/org/apache/fontbox/ttf/TrueTypeFont.java?rev=1864539&r1=1864538&r2=1864539&view=diff
==============================================================================
--- pdfbox/branches/1.8/fontbox/src/main/java/org/apache/fontbox/ttf/TrueTypeFont.java (original)
+++ pdfbox/branches/1.8/fontbox/src/main/java/org/apache/fontbox/ttf/TrueTypeFont.java Tue Aug  6 16:41:59 2019
@@ -104,7 +104,7 @@ public class TrueTypeFont
     /**
      * 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.
      */
     public NamingTable getNaming()
     {
@@ -119,7 +119,7 @@ public class TrueTypeFont
     /**
      * Get the postscript table for this TTF.
      * 
-     * @return The postscript table.
+     * @return The postscript table or null if it doesn't exist.
      */
     public PostScriptTable getPostScript()
     {
@@ -134,7 +134,7 @@ public class TrueTypeFont
     /**
      * 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.
      */
     public OS2WindowsMetricsTable getOS2Windows()
     {
@@ -149,7 +149,7 @@ public class TrueTypeFont
     /**
      * Get the maxp table for this TTF.
      * 
-     * @return The maxp table.
+     * @return The maxp table or null if it doesn't exist.
      */
     public MaximumProfileTable getMaximumProfile()
     {
@@ -164,7 +164,7 @@ public class TrueTypeFont
     /**
      * Get the head table for this TTF.
      * 
-     * @return The head table.
+     * @return The head table or null if it doesn't exist.
      */
     public HeaderTable getHeader()
     {
@@ -179,7 +179,7 @@ public class TrueTypeFont
     /**
      * Get the hhea table for this TTF.
      * 
-     * @return The hhea table.
+     * @return The hhea table or null if it doesn't exist.
      */
     public HorizontalHeaderTable getHorizontalHeader()
     {
@@ -194,7 +194,7 @@ public class TrueTypeFont
     /**
      * Get the hmtx table for this TTF.
      * 
-     * @return The hmtx table.
+     * @return The hmtx table or null if it doesn't exist.
      */
     public HorizontalMetricsTable getHorizontalMetrics()
     {
@@ -209,7 +209,7 @@ public class TrueTypeFont
     /**
      * Get the loca table for this TTF.
      * 
-     * @return The loca table.
+     * @return The loca table or null if it doesn't exist.
      */
     public IndexToLocationTable getIndexToLocation()
     {
@@ -224,7 +224,7 @@ public class TrueTypeFont
     /**
      * Get the glyf table for this TTF.
      * 
-     * @return The glyf table.
+     * @return The glyf table or null if it doesn't exist.
      */
     public GlyphTable getGlyph()
     {
@@ -239,7 +239,7 @@ public class TrueTypeFont
     /**
      * Get the cmap table for this TTF.
      * 
-     * @return The cmap table.
+     * @return The cmap table or null if it doesn't exist.
      */
     public CMAPTable getCMAP()
     {