Some test text!

Search
Hamburger Icon

Dotnetcore / Changelog / v10.1

Version 10.1.0 Changelog (May 10th, 2023)

New In This Release

Version 10.1 is primarily a bugfix release.

New Options

  • Added an option to adjust the order in which pages are displayed after CAD to PDF conversion. (CADConvertOptions.SetLayoutSortOrder())
  • Added support for custom font mappings in CAD to PDF conversion. (refer to https://docs.apryse.com/core/guides/features/conversion/convert-cad-to-pdf/#fonts for details)
  • Added an option to output a log file for HTML to PDF conversion. (HTML2PDF.SetLogFilePath())
  • Added an option to set a preferred OCR engine for PDF to Office conversion. (WordOutputOptions.SetPreferredOCREngine(), ExcelOutputOptions.SetPreferredOCREngine(), PowerPointOutputOptions.SetPreferredOCREngine())

Changed Behaviour:

  • .Net 4 builds now depend on the Visual Studio 2015-2022 redistributable instead of the Visual Studio 2013 redistributable.
  • Captions on line annotations will now be black by default and otherwise will use the color of the RC entry. Previously this text would be created using the same color as the line.
  • Page manipulation operations and ElementWriter.Begin() are now part of the Base consumption licensing package.
  • Adjusted the resolution of floating point numbers in XFDF export to 0.0001. Previously these numbers were emitted with a fixed number of significant digits, which could result in varying precision, depending on the size of the number.
  • HTML2PDF.Convert() will now always throw an exception rather than return false if there is an error. Previously this behaviour was inconsistent. (Version 10.1.1 Hotfix)
  • HTML2PDF.GetLog() will now return the contents of the log file produced by the module rather than a short error message. This shorter message will be included as part of the exception. (Version 10.1.1 Hotfix)

Improvements:

  • [cad] Significantly improved error handling for the CAD module to help with diagnosis of common errors.
  • [html] Significantly improved error messages for the HTML2PDF module to help with diagnosis of common errors.
  • [pdf] Significantly improved error handling for the DataExtraction module to help with diagnosis of common errors.
  • [all] General error handling improvements for all modules. This includes better reporting of missing permissions and missing dependencies for the module.
  • [windows] Increased the maximum number of concurrent file handles used by the library from 2048 to 8192. This increases the number of possible concurrent PDFDoc instances from approximately 1000 to 4000.
  • [image] Multiple open source dependencies were updated for the Advanced Imaging Module.
  • [html] Increased the resolution of output css data to three decimal places to make the PDF to Fixed HTML/Epub output more accurate. Simultaneously unnecessary trailing zeroes were discarded.
  • [ocr] Reduced internal serialization when using the OCR Module: it can now be utilized from concurrent threads more effectively.
  • [.net] Exposed Font.CreateCIDTrueTypeFont that takes System.Drawing.Font to Windows .Net Core/Standard/5/6.
  • [all] Addressed a number of minor static analysis issues.
  • [pdf] Improved appearance generation of measurement lines to better match other PDF consumers.
  • [pdf] Improved appearance generation of line and polyline annotations with line endings to better match other PDF consumers.
  • [.net] Added PDFNetException.GetFullMessage() to .Net4 and PDFNetException.GetMessageOnly() to all versions of .Net. These are recommended over usage of PDFNetException.GetMessage which differs in behaviour between .Net4 and other versions of .Net.
  • [.net] Added PDFDoc.SaveViewerOptimized that returns a byte[] to .Net Core/Standard/5/6.
  • [html] Reduced HTML2PDF module size on all platforms by up to 30%.
  • [html] Errors such as HTML parsing errors are no longer considered fatal for HTML to PDF conversion. In these cases it will still attempt to produce a result.
  • [html] The HTML2PDF module will now detect if it is in an environment where it needs to run without a sandbox and do this automatically. This helps avoid some cases that would error such as using the sandbox in a Windows container environment or when running Linux as root.
  • [html] Significantly reduced HTML to PDF conversion times in most cases.
  • [xfdf] Improve XFDF Export to avoid throwing an exception on corrupt PDF annotations with non-dictionary Popup entries.

Bugfixes:

  • [pdf] Fixed an issue with PDF rendering and hinting enabled where some lines could disappear at lower resolutions.
  • [image] Suppressed warnings that could occur when processing corrupt PNG files.
  • [pdf] Adjusted the vertical text position in text widgets to better match other PDF consumers. In particular this addresses an issue where the text could be significantly cut off when the text is just slightly taller than the form field.
  • [xfdf] Fixed an issue where Filters specified as an array would not be written in XFDF Fileattachment output, which could prevent applications from loading their data.
  • [.net] Fixed an issue with HTML2PDF.SetCompatibilityMode() for .Net Core/5/6 where it did not function properly.
  • [xod] Fixed an issue with ToXps/ToXod conversion handling the combination of a GState and Image soft mask. This led to some elements being masked more than they should have been and in rare cases they could disappear entirely.
  • [pdf] Fixed an issue where Type3 fonts that are specified as uncoloured would not ignore colours specified in the font. In the rare cases this occurred it could lead to the text colour being incorrect.
  • [xfdf] Fixed a problem where XFDF export could try to write text/plain fileattachment data as raw binary. Now this data will be detected and written as hex.
  • [xfdf] Fixed an issue importing rotated annotations using PDFDoc.MergeXFDF() on rotated pages where their rotation would be incorrect.
  • [ocr] Added support for 90 degree rotated words in default OCR.
  • [pdf] Fixed an issue with a rare encoding case for TrueType fonts which could lead to rendering the wrong glyphs.
  • [pdf] Fixed a memory leak that could potentially occur in JPEG2000 parsing.
  • [pdf] Fixed an issue with versions of FDFExtract that take a list of annotations where annotations missing the link back to the page would be skipped.
  • [html] Fixed an issue with HTML to PDF conversion where URLs could not be escaped. This generally worked, but caused failures on specific URLs on ARM64 MacOS.
  • [pdf] Fixed an issue with digital signature verification MDP support where changing a direct AP entry in a Field dictionary would cause a validation failure.
  • [pdf] Fixed an issue where it was not possible to search or select certain empty Type3 fonts in OCRed documents.
  • [pdf] Fixed an issue with decoding of Symbolic TrueType fonts that could lead to incorrect rendering.
  • [.net] Fixed an issue where the .Net4 PrinterMode object would be cleared after usage leading to unexpected results if the object was reused.
  • [cad] Fixed an issue where the page size could be incorrect after DWF to PDF conversion.
  • [cad] Fixed an issue where GP4 external references could not be loaded in some cases during CAD to PDF conversion.
  • [cad] Fixed an issue where certain CJK fonts could be mapped to an incorrect font by CAD to PDF conversion on Linux.
  • [cad] Fixed an issue where there could be empty pages in the output PDF when the CAD file layout contains external references only and they are all missing.
  • [cad] Fixed internal caching issue which resolved multiple CAD to PDF conversion problems. These included problems with missing annotations or lines and incorrect placement of text.

Office Fidelity:

  • [xlsx] Fixed an issue with incorrect chart title displayed when the title is a reference.
  • [office] Implemented scalable delimiters for math equations, allowing certain brackets to expand to the full height of the equation they contain.
  • [xlsx] Changed behavior of charts to no longer reference data from hidden columns and rows, which is the expected behavior.
  • [xlsx] Modified behavior of chart legend to exclude scatter plot series with all hidden cells.
  • [office] Modified behavior of chart series stacking so that only series of the same type (lines with lines, columns with columns, areas with areas, etc.) are stacked on top of each other.
  • [office] Fixed an issue with bar charts displaying incorrect categories. The fix ensures that explicitly defined categories are no longer overridden.
  • [office] Fixed multiple visual issues with scatter/column combination charts with double axes.
  • [xlsx] Implemented support for checkbox controls in Excel.
  • [office] Improved handling of embedded Multiple Master fonts. This change ensures that the correct font face is obtained from Multiple Master fonts.
  • [office] Improved handling of display units for data labels on charts.
  • [xlsx] Implemented support for group box, label and radio button controls in Excel.
  • [docx] Improved reading table properties from non-Word-created .docx documents.
  • [office] Fixed incorrect default date format for charts.
  • [office] Fixed an issue with the drawing of lines in charts with a time axis. The fix ensures that the values on the time axis, which are not necessarily evenly spaced, are plotted correctly.
  • [office] Improved handling of date chart axis labels. This change ensures that the time axis labels are displayed with regular intervals.
  • [office] Resolved issue with multilevel chart axis labels not being displayed accurately when using custom label intervals.
  • [office] Restricted data label movement to fix an issue with chart data labels positioned outside of the chart area.
  • [docx] Ensured lines have minimum height, fixing an issue with a line of text that only contained a thin, in-line shape.
  • [office] Improved column placement in charts with skipped data entries, ensuring corresponding gaps between the non-skipped columns.
  • [office] Fixed an issue with incorrect spacing in chart legends with manual layout.
  • [docx] Added support for drop down list field for .docx documents.
  • [docx] Implemented placement of section columns from right to left in right to left (RTL) sections.
  • [office] Implemented support for alternative font names specified in font tables, improving font fallback functionality.
  • [pptx] Improved chart data markers by applying proper gradient fill and fixing issues related to gradient positions and transformations.
  • [office] Fixed an issue with incorrect colors in transparent and semi-transparent stacked area charts.
  • [doc] Fixed incorrect reading of custom tab justification values from .doc files.
  • [docx] Improved floating element position comparisons by adjusting the rounding for the scanline grid's precision.
  • [docx] Improved center tab positioning calculation to better handle cases when the left indent is inside the left margin.
  • [office] Enhanced list number justification with better support for right-justified and center-justified lists, improved handling of edge cases.
  • [docx] Fixed handling of legacy numbering by properly reading legacy properties and adjusting tab stops accordingly.
  • [docx] Fixed incorrect alignment of vertical text in table cells.
  • [pptx] Prevented divide by zero error by checking for zero size text when creating chart labels.
  • [doc] Implemented support for drop down list elements in DOC format.
  • [docx] Fixed a bug where content in table cells below an empty row was not displayed due to incorrect propagation of the "empty row" flag.
  • [office] Added reading of correct preset geometry for shapes from binary documents. This improves visual appearance of some shapes.
  • [docx] Resolved an issue occurring in specific cases where empty paragraphs at the end of table cells were not properly removed after a nested table.
  • [office] Added reading of anchor positions enclosed in AlternateContent elements.
  • [docx] Improved handling of

    elements within in specific cases, even though it's disallowed by OOXML schema but supported by Word.

  • [docx] Extended header rows to include the current row when performing vertical merging with a cell in a header row.
  • [docx] Fixed an issue with unexpected transparency applied to paragraph borders in rare cases.
  • [office] Added handling of META_DIB_BIT_BLT records in WMF images.
  • [office] Added support for an alternate combinations of masked bitmaps in WMF images.
  • [office] Fixed a palette size calculation issue for 1/2/4/8 bit BMPs, which was causing unexpected color distortion in some images.
  • [office] Improved handling of 1-bit BMP images with width not divisible by 8, which were not previously supported.
  • [office] Added support of dashed and dotted text underlines.
  • [docx] Fixed an issue where date formats were not being applied in Word templates.
  • [Layout] Fixed a bug where an empty vector could cause a crash.
  • [docx] Fixed an issue where bookmarks caused an extra page break in some documents.
  • [docx] Fixed an issue where multilevel lists had incorrect numbering due to different start overrides provided for lists of different levels.
  • [docx] Fixed an issue where inline pictures in tables were being clipped when the line height was set to exact.
  • [docx] Improved paragraph breaking with a new algorithm that considers "Keep lines together", "Keep with next", and "Widow/Orphan control" options.

Version 10.1.1 Hotfix (May 24, 2024)

  • [html] The HTML2PDF Module was updated. Note that an update to the new version is required due to error handling changes in Apryse SDK.
  • [html] Removed a couple of cases where HTML2PDF would still return false rather than throw an exception.
  • [html] Adjusted logging to write directly to file, which is more performant and allows for better separation of exception messages from log data.
  • [.net] Fixed a problem where .Net4 was still dependent on the VS2013 distributable.
  • [office] Fixed multiple potential crashes related to XLS files conversion and EMF image handling.

Trial setup questions? Ask experts on Discord
Need other help? Contact Support
Pricing or product questions? Contact Sales