17-1 Features and Programming
17-1-1 What type of font is applied when text is added using Antenna House PDF API to a PDF that does not have embedded fonts?
[For Windows version]
- If you do not specify a font when adding text, additional processing is performed in the following state:
- Font name: "MS-Gothic" in Japanese environments, "Arial" in other environments
- Font size: 12 points
- Font embedding: Additional processing is performed while the font is embedded.
[For Linux version]
- Font setting is required when adding text.
17-1-2 If I use Antenna House PDF API to add text to a PDF that does not have embedded fonts, will the font of the text originally in the PDF be maintained?
Even if you add text using Antenna House PDF API, the font of the text originally on the PDF will not be changed.
17-1-3 Can I specify the PDF version number of output files processed with Antenna House PDF API?
Cannot be specified.
For details on restrictions regarding PDF versions, see "8-1-2 PDF Version of Input / Output Files" in this manual.
17-1-4 What happens to the PDF version of PDF files saved with encryption security?
The PDF version of a PDF file is determined by the encryption type you set.
|
encryption type
|
PDF Version
|
|
128bit RC4
|
1.5
|
|
128bit AES
|
1.6
|
|
256bit AES
|
1.7
|
However, if the PDF version of the input PDF file to be processed is larger than the PDF version corresponding to the encryption type, the PDF version of the input PDF will be retained.
For instructions on how to set security and save, see "-encrypt: PDF Security Settings" in this manual.
17-1-5 Can I remove embedded font information from a PDF with embedded fonts?
Cannot be deleted.
17-1-6 Is there a limit to the file size of PDF files that can be edited using Antenna House PDF API?
The maximum read/write PDF file size is 2GB. If it exceeds 2GB, an error will occur when loading/saving.
Note that an error will occur if the resulting output file exceeds 2GB, so an error may occur even if the total input file is less than 2GB.
For details on other limitations, see "8-2 Limit Size on Read / Write" in this manual.
17-1-7 I would like to know the contents of the error code that occurs when I run the Command-line.
[For Windows version]
|
Success
|
0
|
|
Parameter error
|
-1
|
|
PdfTk (Antenna House PDF API internal library) error
|
PdfTk error code (see "PdfTk Error Code List" in this manual)
|
|
Other error
|
-2
|
[For Linux version]
For other details regarding errors, see "14-3 Error Handling" in this manual.
17-1-8 I would like to know if there are any environment variables that can determine the execution results of the Command-line.
[For Windows version]
- This can be determined using the environment variable "ERRORLEVEL".
[For Linux version]
- This can be determined using the variable "$?".
For other details regarding errors, see "14-3 Error Handling" in this manual.
17-1-9 I would like to know where to output the Command-line error details.
[Common for Windows and Linux versions]
- Command-line error details are output only to standard output.
For other details regarding errors, see "14-3 Error Handling" in this manual.