You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pdfbox.apache.org by ms...@apache.org on 2020/12/21 08:03:01 UTC
svn commit: r1884668 -
/pdfbox/trunk/tools/src/main/java/org/apache/pdfbox/tools/TextToPDF.java
Author: msahyoun
Date: Mon Dec 21 08:03:00 2020
New Revision: 1884668
URL: http://svn.apache.org/viewvc?rev=1884668&view=rev
Log:
PDFBOX-2602: add description that -tff expects a file
Modified:
pdfbox/trunk/tools/src/main/java/org/apache/pdfbox/tools/TextToPDF.java
Modified: pdfbox/trunk/tools/src/main/java/org/apache/pdfbox/tools/TextToPDF.java
URL: http://svn.apache.org/viewvc/pdfbox/trunk/tools/src/main/java/org/apache/pdfbox/tools/TextToPDF.java?rev=1884668&r1=1884667&r2=1884668&view=diff
==============================================================================
--- pdfbox/trunk/tools/src/main/java/org/apache/pdfbox/tools/TextToPDF.java (original)
+++ pdfbox/trunk/tools/src/main/java/org/apache/pdfbox/tools/TextToPDF.java Mon Dec 21 08:03:00 2020
@@ -87,7 +87,7 @@ public class TextToPDF implements Callab
@Option(names = "-standardFont", description = "the font to use for the text. Either this or -ttf should be specified but not both.")
private String standardFont;
- @Option(names = "-ttf", description = "the TTF font to use for the text. Either this or -standardFont should be specified but not both.")
+ @Option(names = "-ttf", paramLabel="<ttf file>", description = "the TTF font to use for the text. Either this or -standardFont should be specified but not both.")
private File ttf;
@Parameters(paramLabel = "outputfile", description = "the generated PDF file.")