- Getting Started
- PDF Output and Compatibility
- Security and Signing
- Fonts and Images
- Forms, Annotations, and Editing
- Deployment
Getting Started
What is HotPDF?
HotPDF is a native PDF library and VCL component for Delphi and C++Builder. It lets RAD Studio applications create, edit, secure, optimize, and save PDF documents directly from application code
Which RAD Studio versions are supported?
The full package includes projects for RAD Studio 9.0 through RAD Studio 13.1 Florence. The trial package includes packages for RAD Studio 11.3, 12.3, and 13.1 only
Why does the trial setup list only a few RAD Studio versions?
The trial package provides only the latest three RAD Studio generations currently supported by the trial build. The setup page lists detected installations that match those trial package versions
Where does the component appear in the IDE?
The setup creates a Tool Palette tab named losLab. The THotPDF component is listed on that tab
Can I use the same library from Delphi and C++Builder?
Yes. HotPDF includes Delphi package projects and C++Builder package support, with examples for both language stacks. The public component surface is designed for the normal VCL workflow in both environments
PDF Output and Compatibility
Does HotPDF require an external PDF runtime?
No. Normal PDF creation is handled by the HotPDF library itself. Applications do not need to deploy a separate PDF engine just to generate documents
How does HotPDF control PDF 1.3, 1.4, 1.5, 1.6, and 1.7 output?
Feature methods are checked against the selected PDF version. By default, HotPDF can promote the document version when a newer feature is used. If StrictVersionLock is enabled, calls that would require a newer PDF version are refused so the saved file stays within the requested version level
Why did some PDFs show blank pages on Windows systems using the UTF-8 beta region option?
Older builds could write a UTF-8 BOM at the start of page content streams when Windows was configured to use UTF-8 for non-Unicode programs. Strict PDF viewers rejected that content syntax and showed a blank page. HotPDF 2.40.1 removes that stray BOM from page content streams
Can HotPDF save to a stream instead of a file?
Yes. HotPDF supports file-based output and stream-based workflows, which is useful for database storage, web responses, memory buffers, and applications that manage their own document storage
Security and Signing
Which encryption options are available?
HotPDF supports password-based PDF encryption, permission flags, AES-128, AES-256, PDF 2.0 AES-256 R6 hashing, and certificate-recipient public-key encryption
Can HotPDF create PDFs for certificate recipients?
Yes. Use EnablePubKeyEncryption and AddPubKeyRecipient for public-key security workflows. The application supplies the recipient envelope data, while HotPDF writes the PDF encryption structure and encrypted document content
Does HotPDF sign PDFs by itself?
HotPDF provides the PDF-side signing workflow: signature fields, reserved /ByteRange and /Contents placeholders, and final signature insertion. The CMS or PKCS#7 cryptographic signature is produced by the host application or a signing toolkit
Can I add a second signature without invalidating the first one?
Yes. Load the signed file with BeginIncrementalUpdate, add the new field with AddLoadedSignedSignatureField, save it with SaveIncrementalUpdate and sign the result with SignPDFWithPFX (or PreparePDFForSigning and InsertSignatureHex for an external signer). HotPDF appends the new revision while preserving the original signed bytes
Fonts and Images
How can I reduce embedded font size?
Set THotPDF.EnableFontSubsetting to true before BeginDoc. HotPDF then embeds only the glyphs used by the document while preserving glyph IDs for compatible Type0 / Identity-H text output
Does font subsetting support CJK and OpenType-CFF fonts?
Yes. Current HotPDF builds support TrueType, OpenType-CFF, and CID-keyed CFF font subsetting, including large CJK and multi-FD OpenType-CFF fonts
When should I leave font subsetting disabled?
Leave it disabled when the final PDF must contain the complete font program for later editing or specialized downstream processing. Full-font embedding remains the default behavior
Which image workflows are supported?
HotPDF supports common raster and document-image workflows including JPEG, bitmap, TIFF, JPEG2000, JBIG2, WMF, and EMF oriented output. Standard JPEG handling uses the bundled libjpeg-turbo backend
Forms, Annotations, and Editing
Can HotPDF create interactive PDF forms?
Yes. HotPDF supports AcroForm fields such as text fields, list boxes, combo boxes, check boxes, radio buttons, push buttons, and signature fields
How do I decide who owns a field appearance?
HotPDF already generates appearance streams for new fields, because AutoFormAppearances is on by default, and the saved PDF still asks the viewer to build appearances from each field's /DA string, so a viewer that ignores /NeedAppearances draws the embedded stream instead of an empty field
Write AutoFormAppearances to true when the embedded streams should be authoritative, which also clears /NeedAppearances, or to false when the viewer should do all the rendering, the shape of older releases. PDF 2.0 and PDF/A output always takes the authoritative shape
Can HotPDF copy and merge pages from existing PDFs?
Yes. HotPDF can load existing PDFs, copy pages, append pages, delete pages, merge documents, stamp pages, and update document information. Copied pages preserve their page resources and content streams
Which annotation features are available?
HotPDF supports common annotation workflows including links, text markup, file attachments, popups, border styles, watermarks, redaction annotations, screen annotations, 3D annotations, rich media annotations, and linked comment popups
Deployment
Which Windows targets are covered?
HotPDF is built for Windows VCL applications and supports Win32, Win64, and Win64x workflows where supported by the selected RAD Studio version
What should I deploy with my application?
Deploy the files required by the HotPDF units and the selected native backends used by your build. If your application uses only normal PDF generation paths, no separate external PDF viewer or PDF engine is required
Where can I find more API details?
Use the included HtmlHelp reference for method, property, and workflow details. The overview page also summarizes the main capabilities and package contents