Unplanned
Last Updated: 24 Nov 2025 11:47 by Tan

During export operation of a document that contains signature fields the following error occurs: 

System.InvalidOperationException: 'The signature was not properly initialized for external signing. The signing delegate is missing.'
Unplanned
Last Updated: 20 Nov 2025 10:21 by Alain

Setting the ComplianceLevel to PdfA3B and the TaggingStrategy to UseExisting when exporting a PDF document leads to the following Error reported by VeraPdf:

Specification: ISO 19005-3:2012, Clause: 6.2.11.5, Test number: 1
For every font embedded in a conforming file and used for rendering, the glyph width information in the font dictionary and in the embedded font program shall be consistent.
Glyph width 274.4140625 in the embedded font program is not consistent with the Widths entry of the font dictionary (value 272)
Unplanned
Last Updated: 19 Nov 2025 09:13 by Sebastian

Resaving a document with Acrobat throws an error due to invalid Info dictionary in document trailer.

Unplanned
Last Updated: 18 Nov 2025 09:30 by ADMIN

You need to explicitly set the correct MIME type when embedding the file into the PDF. This is especially important for standards like PDF/A-3 and Factur-X, which require strict metadata and MIME type declarations for embedded files.

The default value /application/octet-stream is too generic and not compliant for XML attachments.

 

Unplanned
Last Updated: 13 Nov 2025 15:00 by ADMIN
Documents can be signed using the end certificate of a certificate chain, instead of the whole chain. This improves the performance of the signing.
Unplanned
Last Updated: 12 Nov 2025 10:43 by Scott
Created by: Scott
Comments: 0
Category: PdfProcessing
Type: Feature Request
1
Add support for ShadingType 1.
Unplanned
Last Updated: 10 Nov 2025 15:01 by Foxy
Handle the import of documents with an invalid cross-reference stream offset.
Unplanned
Last Updated: 03 Nov 2025 17:05 by ADMIN
When import-export a document with embedded font(s) and FontEmbeddingType.Subset set, the subset collection is not updated, and the originally imported font is exported unmodified.
Unplanned
Last Updated: 24 Oct 2025 05:10 by Manisai
If the document contains an image that fails to be imported properly, an internal error occurs and the import process is interrupted leading to incomplete document with missing elements. 
Unplanned
Last Updated: 21 Oct 2025 13:53 by Dmitri
MissingMethodException is thrown when converting a PDF stream to a PdfArray.
Unplanned
Last Updated: 06 Oct 2025 11:03 by ADMIN

Corrupted document when exporting "Courier New" subset.

Workaround - fully embed the font:

var pdfFormatProvider = new PdfFormatProvider();
pdfFormatProvider.ExportSettings.FontEmbeddingType = FontEmbeddingType.Full;

 

Unplanned
Last Updated: 22 Sep 2025 07:45 by Dmitri
Unplanned
Last Updated: 15 Sep 2025 11:30 by Steinar
Unplanned
Last Updated: 05 Sep 2025 08:52 by Alvin

The TextProperties.FontSize property specifies the font size for text fragments. The property is of type double. The measurement unit used for font size in RadPdfProcessing is Device Independent Pixels (DIPs). You can convert it to points or other units using the Unit class.

However, when using the TextProperties with widgets the font conversion is not correct. Let's consider the case that we build a PDF document with a TextBoxField occupying a specific rectangle. According to the set text value, we should calculate the appropriate font size so the whole content can fit in the widget's rectangle.

        /// <summary>
        /// Creates a TextBoxField with calculated font size for the given rectangle
        /// </summary>
        private static TextBoxField CreateTextBoxWithCalculatedFont(string name, string text, Rect rect, double fontSize, FontBase font)
        {
            TextBoxField field = new TextBoxField(name);
       
            field.TextProperties.FontSize = Unit.DipToPoint(fontSize);
            field.TextProperties.Font = font;
            field.Value = text;

            var widget = field.Widgets.AddWidget();
            widget.Rect = rect;
            widget.Border.Width = 0;
            widget.TextProperties.FontSize = Unit.DipToPoint(fontSize); 
            widget.TextProperties.Font = font;

            return field;
        }

        /// <summary>
        /// Calculates the optimal font size for text to fit within a specific rectangle
        /// </summary>
        public static double CalculateFontSizeForRectangle(string text, Rect rect, FontBase font)
        {
            double fontSize = 0;
            Size measuredSize = new Size(0, 0);
            Size availableSize = rect.Size;
            while (measuredSize.Width<availableSize.Width && measuredSize.Height< availableSize.Height)
            {
                fontSize++;
                Block block = new Block();
                block.TextProperties.FontSize = fontSize;
                block.TextProperties.Font = font;
                block.InsertText(text);
                measuredSize = block.Measure();
            }

            return fontSize-1;
        }

            // Example: Wide textbox with calculated font size
            string wideText = "This is a wide textbox that demonstrates horizontal fitting of text content.";
            Rect wideRect = new Rect(200, 500, 400, 30);
            double wideFontSize = CalculateFontSizeForRectangle(wideText, wideRect, font);

            TextBoxField wideTextBoxField = CreateTextBoxWithCalculatedFont("WideTextBox", wideText, wideRect, wideFontSize, font);
            document.AcroForm.FormFields.Add(wideTextBoxField);
            var wideWidget = wideTextBoxField.Widgets.First();
            page.Annotations.Add(wideWidget);
            wideWidget.RecalculateContent();

Unplanned
Last Updated: 04 Aug 2025 10:04 by Graham
Created by: Graham
Comments: 0
Category: PdfProcessing
Type: Feature Request
0
Implement GetColor method for IndexedColorSpaceObject.
Unplanned
Last Updated: 09 Jul 2025 06:52 by Vitalii

When exporting a PDF page to an image with the SkiaImageFormatProvider the following error occurs: 

System.IndexOutOfRangeException: 'Index was outside the bounds of the array.'

Unplanned
Last Updated: 20 Jun 2025 08:33 by Michael
Created by: Michael
Comments: 0
Category: PdfProcessing
Type: Bug Report
0
Import-export changes the color of the shading object.
Unplanned
Last Updated: 03 Jun 2025 10:23 by Rey
Add support for "AcroSendMail:SendMail" named action.
Unplanned
Last Updated: 03 Jun 2025 05:57 by Eli
Such a document can be considered as invalid. However, it would be good to provide functionality to handle it.  
Unplanned
Last Updated: 09 May 2025 10:23 by Vitalii
Created by: Vitalii
Comments: 0
Category: PdfProcessing
Type: Feature Request
11
A shading dictionary specifies details of a particular gradient fill, including the
type of shading to be used, the geometry of the area to be shaded, and the geometry of the gradient fill. Various shading types are available, depending on the value of the dictionary’s ShadingType entry:
  • Coons patch meshes (type 6) construct a shading from one or more color
    patches, each bounded by four cubic Bézier curves.
1 2 3 4 5 6