Foxit PDF SDK Changelog

What's new in Foxit PDF SDK 16.13

Jul 5, 2019
  • Bug Fixes:
  • Korean text extraction
  • Cross-reference stream generator
  • Fixed incorrect rendering behavior with SetRenderCropType
  • Cleared PDFium renderer exception masks
  • PDF header parser three part PDF version number
  • Fixed compiler warnings in font subsetting functions
  • Fixed ActiveX variant array interface for VBScript compatibility
  • Certain invalid font structures are now detected and handled without crashing
  • Security patch applied to further internal page enumeration functions
  • New functionality:
  • Added font merging support function ReduceSize(2) that allows you to reduce the size of the PDF file
  • SetPDFiumRenderFlags – allows you to control the rendering output of PDFium renderer
  • SetSignProcessOpenSSLFileName – allows you to use OpenSSL in Windows for signing
  • Enhancements:
  • Mac rendering with Delphi DCU edition
  • Improved handling of documents with corrupted font data
  • PDFium rendering defaults set to showing annotations

New in Foxit PDF SDK 15.11 (Mar 28, 2018)

  • New Functions:
  • AddTrueTypeSubsettedFontFromFile
  • AddTrueTypeSubsettedFontFromString
  • GetPDF417SymbolHeight
  • GetPDF417SymbolWidth
  • SetSignProcessFieldLocked
  • SetObjectAsStreamFromString
  • SetFormFieldAppearanceFromString
  • GetFontCharacterCodesToString
  • SetFormFieldCustomDict
  • SetSignProcessOptions
  • SetUpdateMode
  • SetFormFieldFormatMode
  • GetNeedAppearances
  • Enhancements:
  • Better handling of inline images with incorrect Ascii85 end of data markers
  • Digital signature improvements, DocMDP support
  • RenderDocumentToFile PDFium renderer support added
  • AddTrueTypeSubsettedFontFromFile improvements
  • Bug Fixes:
  • Fixed DrawSpacedText to prevent mirrored text in some cases and correct drawing of Euro symbol
  • Prevented possible crashes if malformed PDF is loaded
  • Disabled buggy ICC color profile support on non-Windows platforms
  • AppendToFile now handles correctly documents where the first page has no Contents entry, which is preventing malformation in digitally signed documents
  • Support for read only digital signature fields
  • Delphi 10.2 Tokyo JPEG2000 fix
  • Bug fix for ZLib on Mac High Sierra
  • Font processing fixes
  • Document rendering fixes
  • Text extraction fixes

New in Foxit PDF SDK 14.11.1.0 (Sep 7, 2017)

  • New Features:
  • New printing engine
  • Delphi 10.2 Tokyo support
  • SetInformation now supports XMP::Subject
  • Metafile mode changes
  • Added new MetaFileMode to allow alternative char spacing calculation used for EMF import
  • New Functions:
  • AddTrueTypeFontFromFileEx
  • GetObjectAsStreamToString
  • AddTrueTypeSubsettedFontFromFile
  • Bug Fixes:
  • Fixed Digital signature issue with encrypted documents
  • When Adding TrueType fonts, the correct font type is now set and 8-bit cmaps are now loaded properly
  • pdf:Keywords used when reading XMP rather than pdf:Keywords
  • PDFium renderPageTofile now returns a value

New in Foxit PDF SDK 11.15 (Aug 28, 2015)

  • New functions:
  • SetSignProcessCustomDict function added
  • SetSignProcessFieldImageFromString function added
  • SetSignProcessPFXFromString function added
  • SetSignProcessFieldImageFromStream function added
  • SetSignProcessPFXFromStream function added
  • DAGetPageLayout function added
  • DAGetPageMode function added
  • AddTrueTypeFontFromString function added
  • AddOpenTypeFontFromString function added
  • Bug fixes:
  • Fixed loading of PDFs with padded xref section numbers
  • Fixed rendering issue with color background
  • Fixed EMF to PDF conversion missing cross pattern
  • Fixed printing issue that resulted in black box
  • Fixed embedded font rendering issue
  • Fixed RenderDocumentToFile for full paths without file extension
  • Fixed crash during rendering
  • Fixed Image flate decoding bug and memory allocation error
  • Fixed form flattening crash
  • Fixed bug reading PDFs containing page content streams with indirect filter
  • Fixed incorrect char spacing
  • Fixed font rendering
  • Fixed rendering of CIDFontType2
  • Fixed file loading issue
  • Fixed error code when opening password protected files
  • Fixed iOS digital signature issue, certificates stored in application bundle now working
  • Enhancements:
  • Custom dictionary and in-memory functionality for digital signatures
  • Android font replacement update

New in Foxit PDF SDK 11.14 (Aug 28, 2015)

  • New functions:
  • SetAnnotOptional function added
  • AddFreeTextAnnotationEx function added
  • Added new GetImageListItemFormatDesc function
  • Bug fixes:
  • Fixed rendering of B/W TIFF image with DeviceN colorspace
  • Fixed font regression problem from 11.13. Characters spaced too far apart in some PDFs
  • Fixed Type3 font rendering issue with CharSpacing and WordSpacing
  • Fixed NormalizePage to correctly rotate rotated annotations
  • Fixed text extraction bounding boxes for some rare PDF files
  • Added support to get OverlayText property string from a Redact annotation
  • Fixed barcode rendering bug in GDI+
  • Fixed clipping rectangle issue in GDI+
  • Fixed color spaces values handling issue
  • Fixed bug in LinearizeFile function
  • Fixed CMapParser issue
  • Fixed dotted and solid lines rendering issue
  • Fixed RenderDocumentToFile crash if no file extension provided in output filename
  • Fixed AddFreeTextAnnotation clipping issue with large font sizes
  • Suppress rendering of .notdef glyphs for non-embedded Type1 and TrueType fonts
  • Fixed printing of dotted lines issue
  • Fixed Type3 char spacing issue
  • Fixed OCGs print issue according to printState flag
  • Enhancements:
  • Delphi XE8 support
  • Updated function descriptions for AddFreeTextAnnotationEx and AddFreeTextAnnotation
  • Flate compressed images with masks now extracted as PNG
  • Added support for File HTML tag
  • LoadFromCanvasDC method now accepts font StrikeOut parameter

New in Foxit PDF SDK 11.13 (Dec 24, 2014)

  • Bug fixes:
  • Fixed text extraction bounding box issues with CVision OCR'd PDF's
  • Fine tuning of underlined fonts and the underline thickness for EMF
  • Fixed a regression issue in NormalizePage with CropBoxes
  • Fixed GetPageImageList exporting 8-bit CMYK images
  • Fixed a font rendering issue with a true type font
  • Fixed Arc rendering routines when angle was greater than 180 degrees
  • Improved importing of EMF font mappings when not embedding fonts
  • Fixed linearization issue with encrypted files
  • Fixed linearization issue that caused incomplete files on output
  • Fixed an issue in GetSubFormNames with PDF's with indirect references
  • Fixed crash in ReleaseSignProcess
  • Added support of rendering embeded TrueType Font Collections (.TTC) fonts
  • Fixed rendering of some JBIG2 issues with ImageMask=TRUE
  • Fixed DA rendering issue with images using indirect Indexed ColorSpace lookup entry
  • Fixed error handling of PDF files with an invalid Trailer dictionary
  • Fixed crash in NormalizePage with a rare malformed PDF file
  • Fix for GetDocumentMetadata to return correct Metadata in all cases
  • Improved reading of malformed Linearised files from Aspose
  • Fixed a rare rare JPEG rendering exception
  • StrParm was not handling 0 length string correctly in C++ import headers
  • Font rendering problem with malformed OpenType font
  • Fixed incorrect handling of EMF brushes when calling EmfDeleteObject
  • Fixed import of EMFPie function when importing EMF files
  • Improvements to customer version of ReplaceFonts
  • Allow devmode PaperSize to specify option 0 to allow for custom paper sizes
  • Bug fixes for files larger than 2GB in DAAppendFile and TransformFile functions
  • Add code to prevent a stack overflow in FindImages for a particular malformed PDF
  • Fix DrawWideTextBoxMatrix so it restores the previous graphics state
  • Choose correct LineWidth for rotated transformations when drawining lines
  • Rendering problem with ImageMask is mtColorKey and colour1 > colour2
  • Fix return value for LoadFromFile when file cannot be opened in rare cases
  • Fixed QPLBuffer DistanceTo.. Functions
  • Annotation rendering issues fixed
  • Enhancements:
  • Added Option 10 to ReplaceFonts removes embedded fonts if it matches the 14 std fonts
  • Improved documentation for DrawCapturePage and CapturePage to explain things more
  • Experimental : Allow GetPageImageList to extract masked images as PNG files
  • Improved text extraction. Handle rotated italic text with ignoreOverlaps and ignoreRotation

New in Foxit PDF SDK 11.12 (Sep 23, 2014)

  • New functions:
  • GetTextBlockAsString
  • DAGetTextBlockAsString
  • Bug fixes:
  • Bug fixes for Linearization
  • Fixed import of TIFF images with the strips are also tiles
  • Fixed NormalizePoge to not process Annots when Page rotation is already 0 degrees
  • Fixed TPDFIndObj.Decode to correctly decode PDF attachments
  • Fixed rendering of a malformed Type1 font
  • Fixed rendering of line thikness on certain PDF's
  • Fixed autosubsetting of fonts with DrawHTMLText in certain cases
  • Fixed combobox issue
  • Fixed DrawEllipticArc and EMFArc importing issues

New in Foxit PDF SDK 11.11 (Sep 23, 2014)

  • New functions:
  • AppendToString
  • SetAppendInputFromString
  • AppendToVariant
  • SetAppendInputFromVariant
  • ConvertToFileSpecString
  • AddRelativeLinkToFile
  • AddRelativeLinkToFileEx
  • AddRelativeLinkToFileDest
  • AddRelativeLinkToLocalFile
  • RenderPageToDCClip
  • GetFormFieldCaptionEx
  • DASetPageMode
  • DASetPageLayout
  • DANormalizePage
  • LinearizeFile
  • PrintMode
  • SetSignProcessCustomSubFilter
  • SetDecodeMode
  • Bug fixes:
  • Optimised printing not printing 1bit or 8bit images has been fixed
  • Fixed an EMF import problem with thin dashed lines
  • Fixed Print Preview problem in MFC with thin lines being thickened
  • Fixed a problem with encrypted streams in PDF functions inside patterns
  • Fixed various text extraction issues for rare cases
  • Fixed AGG printing of annotations that should not be printed
  • Fixed White lines when printing
  • Fixed Tiling pattern not rendering in AGG
  • Fixed opening of PDF with empty user password
  • Fixed issues with creating Full Circle using GetCanvasDC() and CDC
  • Fixed rendering of pattern in DA mode
  • Fixed rendering in AGG with transparency
  • Fixed isuess with rendering Barcode datamatrix
  • Fixed rendering that resulted in blank pages displayed
  • Fixed AddBoxToPath used a different Y origin
  • Fixed Tiling Pattern with image
  • Fixed issue with barcode and text printing
  • Fixed artifacts in background tiles in AGG and GDI+
  • Fixed infinite looping when processing a malformed ToUnicode table
  • Fixed text extraction of composite fonts using ligatures
  • Fixed URI extraction of Annotation entries with non unicode string
  • Fixed rendering of Indexed CalRGB inline images
  • Fixed note annotation appearance stream
  • Fixed a bug with CopyPageRanges and a malformed PDF file
  • Fixed a rendering issue with Oracle generated reports
  • Fixed partially image and pattern drawing
  • Fixed rendering of Windows 8 fonts with version 3 postscript tables
  • Fixed extraction of masked Tiff images when used with GetPageImageList function
  • Fixed DrawHTMLText to preserve text case
  • Added check for negative Index values being passed
  • Enhancements:
  • Added support for Delphi XE7
  • Updated SelectRenderer and SetDPLRFileName Documentation/FunctionReference.xml to explain more about how and where to use and find the AGG DLL
  • Add option to ExtractFilePagesEx to remove FormFields an XFA entries
  • Add SetTextExtractionOption 15 to remove lines that are made up of Underscores + Docs
  • All text rendering routines now support automatic truetype font subsetting / updating
  • All link functions pointing outside the PDF document now respect PDF specification paths creation
  • Added support to set the PrintOption AutorotateCentre to -1 to force opposite rotation
  • Added code to ReplaceFonts to also replace subsetted TrueType fonts that match
  • Improved the space estimation for the linearization hint table stream object
  • Improved page object tree traversal
  • Added Options Parameter to ReplaceFonts function

New in Foxit PDF SDK 10.15 (Jun 5, 2014)

  • New functions:
  • GetPageUserUnit
  • SetPageUserUnit
  • AddPageMatrix
  • GetCanvasDCEx
  • Bug fixes:
  • Fixed a rendering exception for images using large patterns
  • Fixed a small memory leak in SetFormFieldRotation
  • Reverted TextAscent and TextAscent to previous values
  • Fixed GetAnnotStrProperty(111) to perform a UTF-8 conversion on the string to return a Unicode value
  • Fixed GetPageText to use CapHeight if Ascent and Descent are not specified
  • Fixed a minor regression in GetPageText(4) with some rare text combinations
  • Fixed a regression in malformed PDF file loading for a particular malformed PDF
  • Fixed an obscure CJK font rendering issue
  • Added automatic C40 encoding to DrawDataMatrixCode to allow for more characters to be encoded
  • Fixed DrawArc function for cases when StartAngle is bigger than EndAngle
  • Improvements to non-embedded TrueType fonts in EMF files and other fixes
  • Revert EMF header changes back to previous revision due to regressions
  • Fix to SetFormFieldValue to all setting a one character subname correctly
  • RemoveXFAEntries now removes Extensions and StructTreeRoot entries
  • Text extraction results now returned based on SetOrigin and SetMeasurementUnits values
  • Rewrite ReplaceImage to use recursion to find nested XObject images
  • Updated GetTextBlockBound function to return values based on current SetOrigin and SetMeasurementUnits values
  • Small Improvements to CheckFileCompliance
  • Fix drawing of rotated DataMatrix barcodes
  • FlattenAnnot will flatten and delete Annots with no appearance stream
  • Changes for EMF Import to make IncludedFonts part of the Document and not local Image
  • Various EMF font subsetting improvements and non embedded font improvements
  • Fixed a small linedash rendering problem
  • Improved text extraction on text drawn using large overlapping CharSpacing values
  • Fixed AddImageFromFile with B/W bitmaps that were being inverted
  • Fixes to EMF SmallTextOut when using embedded fonts
  • Enhancements:
  • Updated documentation for GetFormFieldBorderColor(+Type) and GetFormFieldBackgroundColor(+Type) functions
  • Support for Delphi XE6
  • Added constant ImageID output to GetImageListItemIntProperty

New in Foxit PDF SDK 10.14 (Apr 11, 2014)

  • New functions:
  • GetAnnotEmbeddedFileName
  • GetAnnotEmbeddedToFile
  • GetAnnotEmbeddedFileString
  • AddStampAnnotationFromImageID
  • GetFormFieldSubmitActionString
  • Bug fixes:
  • Fixed and obscure rendering bug caused by malformed PowerPoint files that added strange lines in the render output
  • Fixed regression in SetFormFieldValue when setting multiple choice field entries
  • GetFormFieldPage was not returning correct page number for malformed for PDF's with an indirect Kids reference
  • Fixed processing of vector graphics with /Indexed /CalRGB colorspace
  • Fixed text alignment in the DrawTextArc function
  • Fixed rendering of images with /DCTDecode filter and /Separation /DeviceCMYK colorspace
  • Fixed handling of certain TrueType fonts with mismatched glyph and points arrays
  • Corrected handling of /DCTDecode /Lab images and /Indexed /Lab images
  • Fixed a minor indexed image decoding issue relating to the indexed data stream
  • Corrected inversion of inline stencil mask images with Debenu PDF Library Renderer
  • Updated form fields appearance stream
  • Fixed strip printing of large images
  • Various small bug fixes for text extraction when extracting malformed Type3 fonts
  • Fixed text extraction issues when there was not Resources dictionary present
  • Fixed a problem with the EMF import and the EMR_MASKBLT command
  • Fixed a problem with EMF and Deleting of Pens and subsequent line thickness values
  • Fixed an issue with the AddFreeTextAnnotation text placement
  • Allow Annotation strings to use Unicode for text based properties such as title, subject, contents
  • Attempt to fix EMF regression in GetCanvasDC from 10.13, 10.12
  • Fix a rendering exception for images using large patterns
  • Enhancements:
  • AddFreeTextAnnotation now supports 0, 90, 180 and 270 degree text rotation
  • Copyright notice updated in source code files
  • LoadFromFile sets LastErrorCode to 401 for files that cannot be found
  • Improvements to handling of duplicate object positions in malformed xref tables
  • Add new TextExtractionOption to output not ASCII characters in the output results
  • Improvements to handling of invalid entries in malformed xref tables and byte shifted documents
  • Rewrite of Metafile import to create subsetted fonts to significantly reduce output file size

New in Foxit PDF SDK 10.13 (Mar 20, 2014)

  • New functions:
  • RemovePageBox
  • AddLinkToDestination
  • GetFontMetrics
  • GetFontIsSubsetted
  • GetFontIsEmbedded
  • DrawRoundedRotatedBox
  • DrawRotatedTextBoxEx
  • GetAnnotEmbeddedFileName
  • GetAnnotEmbeddedFileToString
  • GetAnnotEmbeddedFileToFile
  • AddStampAnnotationFromImage
  • Bug fixes:
  • Fix SetFormFieldValue for choice fields when setting a one character string value
  • Fix a rare text extraction issue with options 0, 1 and 2
  • Encrypted Separation and DeviceN colorspaces are now correctly decoded
  • Update LoadFrom file to be able to load large 'trailer' dictionaries
  • Update PDF417 code to correctly handle individual LF characters instead of converting to CR/LF
  • Improve text positioning in EMF import when using TA_TOP positioning with TextOut type calls
  • Fix bug in DrawQRCode where Zero's were not being allow in AlphaNumeric encodings
  • Updated AddFreeTextAnnotation documentation to describe the use of the options parameter
  • Fix a small regression in Image handling for loading of large bitmap images
  • Fixed and EMF problem relating to DeleteObject and Pens and default PenWidth
  • Fix FlattenFormField to search for the correct page before flattening a Signature form field
  • Fix to correctly decode Hex strings that are Unicode strings for rendering and text extraction
  • Fix for rendering CIDFontType2 characters and with non embedded fonts and a ToUnicode table
  • Fixed processing of DeviceN and Separation ColorSpaces that use a transform function
  • Fix for rendering CIDFontType2 characters and with their own CIDToGID tables
  • Fix for PDFs containing an unsigned encryption permissions key
  • Fix a minor Text Extraction issue with GetPageText(7) and small fonts
  • Tweaked the font substitution algorithm to find obscurely named fonts more accurately
  • Fixed bug with single line JPEG images
  • Improvements to image cache handling of patterns during printing
  • Fixed indirect reference lookups during rendering
  • Minor tweak for SetGDIPlusOptions option 9 to enhance thin lines with GDI+ renderer
  • Fixed a small font rendering issues with Type0 fonts that use a glyphID of 0
  • Prevent memory leak during parsing of certain fonts
  • Small fix for Direct Access rendering to handle a malformed stream indirect reference
  • Small fix for handling malformed xref entries
  • Minor rendering tweaks to render known CID font issues
  • Fix RenderPageToXxx functions when rendering HTML5 color output
  • Text extraction with single and multibyte CID Ligatures now supported
  • Add code to process malformed PDF's with a Pages tree entry and no /Type entry
  • Add code to process malformed PDF's with a Pages tree entry and no /Type entry in DA Mode
  • Fix rendering of Annotation borders with an invalid Border entry
  • Fix rendering on inline ICCBased images
  • Fix a rare malformed TrueType rendering issue related to obscure Composite rendering flags
  • Improved GetPageColorSpaces to detect Indexed Colorspaces and SMask colorspaces + other small fixes
  • Enhancements:
  • Updated GetFormFieldSubCount and GetFormFieldSubName to work with KidTempIndex values
  • GetPageList will now collect and return embedded Inline images. Only resource images were returned before
  • Initial changes to support InternalLeading and ExternalLeading in the font functions
  • SetSignProcessFieldImageFromFile now supports transparent images via the Options parameter

New in Foxit PDF SDK 10.12 (Mar 20, 2014)

  • New functions:
  • UpdateTrueTypeSubsettedFont
  • CheckPassword
  • AddImageDirectFromString
  • RemoveFormFieldChoiceSub
  • SetFormFieldTitle
  • Bug fixes:
  • Fixed a continuous loop issue when calling zDecompress in 64bit versions
  • Improved the recovery of Group 4 tiff Decoding errors
  • Fix some small CJK font rendering issues relating to SingleByte CMaps
  • Further improvements to the EMF import clipping issues
  • SecurityInfo function now reports empty owner password correctly
  • Fix for decoding of inline images using ASCII85Decode and missing BitsPerComponent
  • EnhanceThinLines changes for SetGDIPlusOptions
  • Fixed initial clipping when an offset is used with rendering to DC
  • Added Type4 function clipping
  • Fixed a text spacing issue when a negative TextSpacing is defined
  • Fixed a rare JPEG decoding issue with DeviceCYMK and a negative Decode filter
  • Add a fix to render inline images with an ICCBased Indexed colorspace
  • Fixed an recently introduced error in AddImageFrom file with BMP processing
  • Fixed an AddImageFromFile error with certain LZW based striped TIFF images
  • Added a fix to repair malformed formfields with an invalid Parent key
  • Fixed a small rare crash with StretchDIBits with the EMF import function
  • Fixed a rare path drawing issue with the EMF import functions
  • Added support for RunLengthDecode streams
  • Reset LastErrorCode to 0 after being called
  • Update Subname list and counts after calling AddFormFieldChoiceSub and AddFormFieldSub
  • Fixed DrawRotatedImage with an EMF file to work the same way as DrawImage
  • Allow GetTextWidth to work correctly with Fonts added with AddTrueTypeSubsettedFont
  • Fixed Firemonkey compilation for Windows
  • AES-256 encryption and decryption routines now correctly handle Unicode passwords
  • Corrected handling of sequential “scn” operators
  • Various EMF import changes to better process some obscure EMF files
  • Added support for missing -1 option to NewPageFromCanvasDC function
  • Added fix for rendering embedded Chinese DFKaiShu fonts
  • Corrections to calculations in Type 0 functions
  • Fixed a crash in UpdateAppearanceStreams when using a dashed border style
  • Fixed a rare Japanese font rendering issue with a malformed TrueType font
  • Fixed handling of images using Indexed Separation color
  • Fixed minor Ellipse rendering when import from an EMF file
  • Fixed minor clipping issue with IntersectClipRect and IntersectClipRgn calls when importing EMF files
  • Fix internal function Painter.RemoveEndText to prevent generation of invalid PDF files
  • Code changes to XFA processing code to prevents issues with multithreading
  • Code changes to XMP metadata code to prevents issues with multithreading
  • Added encoding table for correct rendering of non-embedded ZapfDingbats font
  • Indexed DeviceRGB and Indexed DeviceCMYK colorspaces now supported during vector rendering
  • Fixed a minor border drawing issue with tables and thin lines
  • Various FormField changes relating to Kids and KidTempIndex
  • AddStampAnnotation now creates the required appearancestreams to draw the stamps
  • Fixed a rare printing issues which was consuming excessive GDI+ resources printing multistrip images
  • FindFonts will now only return the descendant font for subsetted truetype fonts
  • Fixed a rendering issue with MetaFile FillRgn command
  • Enhancements:
  • Eliminated various compilation hints
  • DrawQRCode function now supports UTF-8 and other encodings
  • Add Options 10, 11, 12 to SetGDIPlusOptions to finer control over GDI+ rendering parameters
  • Improvement to Group 4 CCITT decoder error handling
  • Improvements to canvas locking during rendering

New in Foxit PDF SDK 10.11 (Mar 20, 2014)

  • New functions:
  • DASaveCopyToStream
  • RenderAsMultipageTIFFToFile
  • DrawHTMLTextMatrix
  • AppendToFile
  • DrawQRCode
  • GetFormFieldKidTempIndex (renamed from GetFormFieldSubTempIndex)
  • AddFreeTextAnnotation
  • Bug fixes:
  • Fix loading of CJK based vertical W2 font entries
  • Add SetGDIPlusOptions 9 to enhance very thin lines during rendering
  • Fixed a Type1 font rendering issus relating to the FontMatrix entry
  • Fixed a Type1 font rendering issue relating to the Encoding entry
  • Fix a minor bug in SetFormFieldSubmitActionEx to correctly set the Flags field
  • Fixed divide by zero error in renderer for zero length streams
  • Significantly reduce the memory required to create an PNG file using RenderPageTo
  • Fixed AES-256 AcrobatX decryption with certain documents
  • Fix a minor text extraction issue with older Type1 fonts
  • Fixed EMF import of Arc segments with a clockwise drawing direction
  • Fixed EMF import for created pens with the PS_USERSTYLE flags and a dashpattern
  • Fixed EMF import of some paths that were filled that should not be filled
  • XML reading/writing now uses MSXML2.DOMDocument.6.0 by default with explicit fallback to 3.0
  • Fixed SetAnnotStrProperty to correctly update the /S entry
  • Page painter state is now correctly updated after certain matrix drawing operations
  • Fixed EMF import for some obscure EMF files that reset the WindowExt scaling after creating the font
  • Fixed EMF RecordCounter internally to match 3rd party EMF viewers to improve debugging
  • Fixed EMF ClipRegion problem in certain EMF files
  • Fixed EMF StretchBlt function that uses a XForm transformation matrix
  • EnhanceThinLines changes for SetGDIPlusOptions
  • Enhancements:
  • Support for AES-256 AcrobatX encryption
  • Performance improvement with glyph lookups
  • Reintroduced renderer font caching system
  • General performance improvements
  • Support for Delphi XE5
  • Imported BMP's and embeded BMP's in an EMF are now optimised as Indexed images if less then 256 colors
  • All DPI parameters are now of type Double instead of Integer

New in Foxit PDF SDK 7.18 (Mar 16, 2010)

  • New Features and Improvements:
  • General:
  • Improvements to cross reference table parsing
  • Improvements to decryption (permissions key encoding)
  • Improvements to random object names
  • Improvements to UTF-8 encoding and decoding
  • Bug fix in handling of read only files
  • Bug fix in parsing of Type 4 Functions
  • Bug fix in AddLinkToFile function for Unicode file names
  • DAOpenFile sets LastErrorCode values
  • Bug fix in processing of objects stored in object streams
  • Bug fix in DAOpenFileReadOnly function
  • DocJavaScriptAction supports “WC” rather than “DC”
  • Added 411 (File not found) to LastErrorCode
  • Added return code 2 to LoadFrom* functions (for detecting encrypted cross reference streams)
  • Page and document manipulation:
  • Improvements to ExtractPageRanges function
  • Improvements to ExtractPages function
  • Improvements to CopyPageRanges function
  • New! SetPageBox function
  • Added options 4 and 5 to SetPageMode function (OCG and Attachments)
  • Fonts
  • Bug fix in AddTrueTypeFont* functions allowing text extraction from non-English code pages
  • Improvements to AddTrueTypeFont* functions, fonts in TrueType collections now supported
  • Bug fix parsing Type 1 fonts
  • Form Fields and Annotations:
  • Support for adding choice fields
  • Bug fix in GetAnnot*Property retrieving annotation page number
  • New! IsAnnotFormField function
  • New! AttachAnnotToForm function
  • New! NewChildFormField function
  • Added tag 131 to GetAnnotIntProperty for page number of GoTo link
  • NewFormField can create parent form fields
  • Text extraction and rendering:
  • Improvements to handling pages with inline images
  • Added support for composite fonts with variable-length encoding
  • Added support for predefined CMaps
  • Improved handling of 8-bit CMaps
  • Bug fix for handling of paths in Winding mode
  • Improvements to alpha transparency masks
  • Added support for named color spaces
  • Bug fix for text extraction CSV output with properly quoted strings
  • Bug fix in Type 1 font rasterizer
  • New! PrintDocumentToFile function
  • Images:
  • Bug fix handling inverted Packbits TIFF images
  • Added support for rendering JPEG2000 images (not available in Delphi 4 and Delphi 5 Editions)
  • Added support for CalGray color space
  • Optimized handling of 1-bit mono image data
  • Added support for LZW predictors
  • Unicode support:
  • AddFormField – SubName parameter
  • DAGetFormFieldTitle – return string
  • DAGetFormFieldValue – return string
  • DAOpenFileReadOnly – FileName parameter
  • ExtractFilePages – InputFileName parameter (previously only in Delphi/DLL Edition)
  • ExtractFilePages – OutputFileName parameter (previously only in Delphi/DLL Edition)
  • FileListItem – return string (previously only in Delphi/DLL Edition)
  • FindFormFieldByTitle – Title parameter
  • GetAnnotStrProperty – return string (previously only for two tags)
  • GetFormFieldCaption – return string
  • GetFormFieldChildTitle – return string
  • GetFormFieldDefaultValue – return string
  • GetFormFieldDescription – return string
  • GetFormFieldTitle – return string
  • GetFormFieldValue – return string
  • GetFormFieldValueByTitle – return string
  • GetFormFieldValueByTitle – Title parameter
  • GetTempPath – return string (previously only for Delphi/DLL Edition)
  • NewFormField – Title parameter
  • SaveToFile – FileName parameter (previously only in Delphi/DLL Edition)
  • SetFormFieldCaption – NewCaption parameter
  • SetFormFieldTitle – NewTitle parameter
  • SetFormFieldDefaultValue – NewDefaultValue parameter
  • SetFormFieldDescription – NewDescription parameter
  • SetFormFieldValue – NewValue parameter
  • SetFormFieldValueByTitle – Title parameter
  • SetFormFieldValueByTitle – NewValue parameter
  • SetGDIPlusFileName – DLLFileName parameter (previously only in Delphi/DLL Edition)
  • SetTempFile – FileName parameter (previously only in Delphi/DLL Edition)
  • SignFile – InputFileName parameter (previously only in Delphi/DLL Edition)
  • SignFile – SignatureFieldName parameter
  • SignFile – OutputFileName parameter (previously only in Delphi/DLL Edition)
  • SignFile – PFXFileName parameter (previously only in Delphi/DLL Edition)
  • StoreCustomDataFromFile – FileName parameter (previously only in Delphi/DLL Edition)

New in Foxit PDF SDK 7.17 (Feb 27, 2010)

  • New Features and Improvements:
  • New GetDocumentFileName function
  • Encrypted documents are no longer auto-decrypted in some circumstances (same behaviour as 7.15 and earlier)
  • MergeStreams, MergeFiles and MergeFileList functions now merge bookmarks
  • FlattenFormField function now works even if the form field does not have a /P (page) entry
  • New tags to retrieve the following annotation properties:
  • Subject (/Subj)
  • In reply to (/IRT)
  • Unicode filename (/UF)
  • Page number of GoTo link
  • PDFs with certain malformed stream objects can now be loaded (e.g. Microsoft Reporting Services PDFs)
  • Improved text extraction using mode 0
  • Improved accuracy and speed for PNG predictors in flate compressed images
  • The following code pages are now supported in the AddTrueTypeFont function:
  • THAI_CHARSET
  • SHIFTJIS_CHARSET
  • GB2312_CHARSET
  • HANGEUL_CHARSET
  • CHINESEBIG5_CHARSET
  • ARABIC_CHARSET
  • JOHAB_CHARSET
  • Improved EMF import functionality
  • Improved masked image processing speed
  • Added support for malformed stream images with LF starting character
  • Added support for optional content groups in the renderer
  • XFA form field support now uses "MSXML2.DOMDocument" instead of "MSXML2.DOMDocument.4.0"
  • The following functions have been Unicode enabled:
  • DAGetInformation
  • DASetInformation
  • SetCustomInformation
  • GetCustomInformation
  • SetInformation
  • GetInformation
  • GetCatalogInformation
  • SetCatalogInformation
  • RetrieveCustomDataToString
  • StoreCustomDataFromString
  • GetAnalysisInfo
  • NewOutline
  • SetOutlineTitle
  • OutlineTitle
  • NewStaticOutline
  • GetOutlineJavaScript
  • SetOutlineJavaScript
  • AddLinkToJavaScript
  • FormFieldJavaScriptAction
  • GetFormFieldJavaScript
  • SetOpenActionJavaScript
  • PageJavaScriptAction
  • DocJavaScriptAction
  • AddGlobalJavaScript
  • GetGlobalJavaScript
  • GlobalJavaScriptPackageName
  • GetPageJavaScript
  • AddPageLabels
  • GetPageLabel
  • NewOptionalContentGroup
  • GetOptionalContentGroupName
  • GetDocumentFileName
  • DAExtractPageText
  • GetPageText
  • ExtractFilePageText
  • GetAnnotStrProperty
  • SetAnnotStrProperty

New in Foxit PDF SDK 7.16 (Feb 27, 2010)

  • New Features and Improvements:
  • New GetObjectCount function
  • New GetObjectSource function
  • New DAOpenFromStream function
  • New DASaveToStream function
  • New DAGetObjectCount function
  • New DAGetObjectSource function
  • New DAGetFormFieldCount function
  • New DAGetFormFieldValue function
  • New AppendTableRows function
  • New AppendTableColumns function
  • New InsertTableRows function
  • New InsertTableColumns function
  • New FontFamily function
  • New DeleteAnnotation function
  • New GetTableRowCount function
  • New GetTableColumnCount function
  • New AppendTableRows function
  • New function AppendTableColumns
  • New CloneOutlineAction function
  • New GetActionType function
  • New GetOutlineActionID function
  • New GetAnnotActionID function
  • TIFF images optionally loaded using GDI+
  • TIFF output added to renderer
  • File names in link annotations (eg. AddLinkToFile) can now be Unicode (/UF key used in file spec dictionary)
  • NewCustomPrinter bug fix
  • HTML text font size bug fix
  • Delphi 2009 string cast bug fix
  • Fixed bug signing a PDF produced by Word 2007
  • Fixed bug with RenderDocumentToFile page number substitution
  • New pixel offset mode for rendering images to eliminate white lines
  • C# DLL wrapper handles unicode filenames correctly
  • Fixed memory leak bug: rendering documents with many large images
  • Fixed memory leak bug in DLL allocation
  • Bug fix for PDFs with comments in the cross reference stream
  • Improvements to GetPageLGIDictContent
  • Bug fix AddSubsettedFont
  • AddToFileList now supports Unicode file names

New in Foxit PDF SDK 7.15 (Feb 27, 2010)

  • New Features and Improvements:
  • Unicode support for filenames
  • New SetBaseURL function
  • GeoPDF support. New related functions: AddLGIDictToPage, GetPageLGIDictCount, GetPageLGIDictContent and DeletePageLGIDict
  • New ImportEMFFromFile function
  • New SetAnnotStrProperty function
  • Renderer allows fonts to be direct objects as well as indirect objects
  • Improved font matching in renderer
  • Implemented Deflate on image data with predictor and BitsPerComponent = 4

New in Foxit PDF SDK 7.14 (Feb 27, 2010)

  • New Features and Improvements:
  • Delphi 2009 improvements
  • Fixed CFF font decoding bug
  • Bug fix for fonts with /Differences array and no /ToUnicode entry
  • Bug fix for non-embedded fonts with slightly different standard font names
  • Bug fix for matching fonts characters with capital letters
  • New GetCanvasDC and LoadFromCanvasDC functions
  • New GetXFAFormFieldNames function
  • New GetXFAFormFieldName function
  • New GetXFAFormFieldCount function
  • Updated the docs for the XFA functions
  • New GetFontObjectNumber function
  • New SetAdvancePassword function
  • New CreateTable function
  • New SetTableColumnWidth function
  • New SetTableRowHeight function
  • New SetTableCellBorderColor function
  • New SetTableCellBorderColorCMYK function
  • New SetTableCellBorderWidth function
  • New SetTableCellBackgroundColor function
  • New SetTableCellBackgroundColorCMYK function
  • New SetTableCellPadding function
  • New SetTableCellAlignment function
  • New SetTableCellContent function
  • New SetTableCellTextColor function
  • New SetTableCellTextColorCMYK function
  • New SetTableCellTextSize function
  • New SetTableBorderColor function
  • New SetTableBorderColorCMYK function
  • New SetTableBorderWidth function
  • New MergeTableCells function
  • New DrawTableRows function
  • New GetTableLastDrawnRow function
  • New GetTableCellStrProperty function
  • New GetTableCellIntProperty function
  • New GetTableCellDblProperty function

New in Foxit PDF SDK 7.13 (Feb 27, 2010)

  • New Features and Improvements:
  • Delphi 2009 support
  • New functionality for GetAnnotStrProperty and GetAnnotIntProperty to handle GoToR and Launch annotations and speed improvements
  • New EmbeddedFileCount function
  • New GetEmbeddedFileStrProperty function
  • New GetEmbeddedFileIntProperty function
  • New GetEmbeddedFileContentToFile function
  • New GetEmbeddedFileContentToString function
  • New GetEmbeddedFileContentToStream function
  • Improvements to internal outline navigation
  • New GetNamedDestination function
  • Internal support for name objects directly following the obj keyword
  • Bug fix and improvements to encryption fingerprint functions
  • Option to load images using GDI+ instead of internal image handling functions
  • Support for type 3 functions
  • Improvements to image decoding
  • Support for inverted JPEG palettes
  • Faster page location when page tree is a single array
  • Support for loading 8-bit alpha mask from PNG images
  • Better rendering of encrypted documents
  • Support for alternate ICC based color space in renderer
  • Support for W=4 in cross reference stream
  • Speed improvements to object decoding
  • Bug fix for text extraction with option 4 to return single words

New in Foxit PDF SDK 7.12 Beta (Mar 3, 2009)

  • AES 128-bit encryption
  • Digital signatures
  • PDF slideshow / presentations / page transitions
  • Renderer support for gradients
  • Import/header files for ActiveX and DLL in C++ and C#
  • Implementation of simple TrueType rasterizer
  • Embedded file grouping and links
  • Improved image parsing
  • Noticeable performance increase
  • Support for Japanese fonts
  • Support for the Turkish codepage (1254)