Skip to content

Commit d093900

Browse files
committed
PDFBOX-5660: improve comments, as suggested by Valery Bokov; closes #405
git-svn-id: https://svn.apache.org/repos/asf/pdfbox/trunk@1931505 13f79535-47bb-0310-9956-ffa450edef68
1 parent f327d18 commit d093900

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

fontbox/src/main/java/org/apache/fontbox/ttf/TTFParser.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -99,9 +99,9 @@ public TrueTypeFont parseEmbedded(InputStream inputStream) throws IOException
9999
}
100100

101101
/**
102-
* Parse a RandomAccessRead and return a TrueType font.
102+
* Parse a RandomAccessRead and return the table headers.
103103
*
104-
* @param randomAccessRead The RandomAccessREad to be read from. It will be closed before returning.
104+
* @param randomAccessRead The randomAccessRead to be read from. It will be closed before returning.
105105
* @return TrueType font headers.
106106
* @throws IOException If there is an error parsing the TrueType font.
107107
*/
@@ -248,7 +248,7 @@ else if (!isOTF)
248248
*
249249
* This method can be optimized further by skipping unused portions inside each individual table parser
250250
*
251-
* @param font the TrueTypeFont instance holding the parsed data.
251+
* @param raf the TrueType data stream.
252252
* @throws IOException If there is an error parsing the TrueType font.
253253
*/
254254
FontHeaders parseTableHeaders(TTFDataStream raf) throws IOException

0 commit comments

Comments
 (0)