Completed
Last Updated: 30 Nov 2023 09:39 by ADMIN
Release R1 2024

When characters are in the ranges 61472-61566, 61565-61695, 65535-65535 they are correctly exported with Wingdings font. However, when the character value is outside these ranges the font fallback mechanism exports them with different font and this causes wrong glyph rendering in the resulted PDF. The following code snippet shows how the Wingdings characters can be modified so that they are correctly exported to PDF when converting from WordsProcessing's RadFlowDocument: RadFlowDocument document = new DocxFormatProvider().Import(File.ReadAllBytes(@"test_document.docx"));

foreach (Run run in document.EnumerateChildrenOfType<Run>())
{
    if (run.FontFamily.GetActualValue(document.Theme).Source.Contains("Wingdings"))
    {
        StringBuilder modifiedText = new StringBuilder();

        foreach (char character in run.Text)
        {
            modifiedText.Append(character > 256 ? character : (char)(character + 61440));
        }

        run.Text = modifiedText.ToString();
    }
}

Workaround: When creating a RadFixedDocument:

using (RadFixedDocumentEditor editor = new RadFixedDocumentEditor(this.fixedDocument))
{
	byte[] data = File.ReadAllBytes(@"CustomFont.ttf");
	FontsRepository.RegisterFont(new FontFamily("CustomFont"), FontStyles.Normal, FontWeights.Normal, data);
	FontBase customFont;
	FontsRepository.TryCreateFont(new FontFamily("CustomFont"), FontStyles.Normal, FontWeights.Normal, out customFont);
	editor.CharacterProperties.Font = customFont;
	string text = "w";

	StringBuilder modifiedText = new StringBuilder();
	foreach (char character in text)
	{
		modifiedText.Append(character > 256 ? character : (char)(character + 61440));
	}

	text = modifiedText.ToString();

	editor.InsertRun(text);
}

Completed
Last Updated: 29 Nov 2023 16:16 by ADMIN
Release R1 2024
When getting the hash code of CFF (Compact Font Format) font`s UnderlineThickness and there is no such value set in the font file the default value should be returned but an exception is thrown: NullReferenceException: 'Object reference not set to an instance of an object.'
Completed
Last Updated: 29 Nov 2023 15:56 by ADMIN
Release R1 2024
When exporting a document containing different font types but with the same name and properties same characters are missing or drawn as rectangles.



Observed:

Completed
Last Updated: 29 Nov 2023 15:48 by ADMIN
Release R1 2024
When decoding a CalRgb ColorSpace image an exception is thrown: NotSupportedException: 'Not supported colorspace: CalRgb'
Completed
Last Updated: 29 Nov 2023 13:06 by ADMIN
Release R1 2024
NullReferenceException: 'Object reference not set to an instance of an object.' is thrown on export because the value of TransformMethod property is not obtained.
Completed
Last Updated: 29 Nov 2023 11:33 by ADMIN
Release R1 2024
The table is not properly split when it is positioned at the end of the page and the text content is long.
Unplanned
Last Updated: 29 Nov 2023 07:38 by Novak

NumberedHierarchical list type has inconsistent indentation after bullets.

Unplanned
Last Updated: 28 Nov 2023 14:56 by ADMIN
At this point, the justify alignment is not supported.
Unplanned
Last Updated: 27 Nov 2023 11:04 by Manikandan
Created by: Manikandan
Comments: 0
Category: PdfProcessing
Type: Bug Report
0
NotSupportedException when parsing CFF Type1 font.
Unplanned
Last Updated: 27 Nov 2023 07:29 by MVDH
When encoding an image with Grayscale color space an exception is thrown: IndexOutOfRangeException: 'Index was outside the bounds of the array.'
Unplanned
Last Updated: 27 Nov 2023 07:24 by MVDH
When encoding an image with Indexed color space an exception is thrown: NotSupportedException: 'Not supported colorspace: Indexed'
Unplanned
Last Updated: 27 Nov 2023 06:50 by MVDH
When decoding the image with a CCITTFaxDecode filter an exception is thrown: NullReferenceException: 'Object reference not set to an instance of an object.'
Unplanned
Last Updated: 23 Nov 2023 14:24 by ADMIN
Introduce API for setting the 'Application' property of a document.
Completed
Last Updated: 23 Nov 2023 09:41 by ADMIN
Wrong font file loaded when CidType2Font with Standard name.
Unplanned
Last Updated: 22 Nov 2023 08:26 by Eugene
This exception was originally thrown at this call stack:
    System.ThrowHelper.ThrowKeyNotFoundException()
    System.Collections.Generic.Dictionary<TKey, TValue>.this[TKey].get(TKey)
    Telerik.Windows.Documents.Core.PostScript.Data.PostScriptDictionary.GetElementAs<T>(string) in PostScriptDictionary.cs
    Telerik.Windows.Documents.Core.Fonts.Type1.Type1Format.Dictionaries.Type1Font.ReadGlyphData(string) in Type1Font.cs
    Telerik.Windows.Documents.Core.Fonts.Type1.Type1Format.Dictionaries.Type1Font.GetGlyphDataInternal(string) in Type1Font.cs
Unplanned
Last Updated: 22 Nov 2023 07:06 by Eugene

This exception was originally thrown at this call stack:
    Telerik.Windows.Documents.Fixed.FormatProviders.Pdf.Model.Elements.DocumentStructure.PageTreeNode.EnumeratePages(Telerik.Windows.Documents.Fixed.FormatProviders.Pdf.Import.Parser.PostScriptReader, Telerik.Windows.Documents.Fixed.FormatProviders.Pdf.Import.IPdfImportContext) in PageTreeNode.cs
    Telerik.Windows.Documents.Fixed.FormatProviders.Pdf.Model.Elements.DocumentStructure.PageTreeNode.EnumeratePages(Telerik.Windows.Documents.Fixed.FormatProviders.Pdf.Import.Parser.PostScriptReader, Telerik.Windows.Documents.Fixed.FormatProviders.Pdf.Import.IPdfImportContext) in PageTreeNode.cs
    Telerik.Windows.Documents.Fixed.FormatProviders.Pdf.Model.Elements.DocumentStructure.DocumentCatalog.CopyPagePropertiesTo(Telerik.Windows.Documents.Fixed.FormatProviders.Pdf.Import.Parser.PostScriptReader, Telerik.Windows.Documents.Fixed.FormatProviders.Pdf.Import.IRadFixedDocumentImportContext) in DocumentCatalog.cs
    Telerik.Windows.Documents.Fixed.FormatProviders.Pdf.Model.Elements.DocumentStructure.DocumentCatalog.CopyPropertiesTo(Telerik.Windows.Documents.Fixed.FormatProviders.Pdf.Import.Parser.PostScriptReader, Telerik.Windows.Documents.Fixed.FormatProviders.Pdf.Import.IRadFixedDocumentImportContext) in DocumentCatalog.cs
    Telerik.Windows.Documents.Fixed.FormatProviders.Pdf.Import.RadFixedDocumentImportContext.BeginImportOverride() in RadFixedDocumentImportContext.cs
    Telerik.Windows.Documents.Fixed.FormatProviders.Pdf.Import.BaseImportContext.BeginImport(System.IO.Stream) in BaseImportContext.cs
    Telerik.Windows.Documents.Fixed.FormatProviders.Pdf.Import.PdfImporter.Import(System.IO.Stream, Telerik.Windows.Documents.Fixed.FormatProviders.Pdf.Import.IPdfImportContext) in PdfImporter.cs
    Telerik.Windows.Documents.Fixed.FormatProviders.Pdf.PdfFormatProvider.ImportOverride.AnonymousMethod__0() in PdfFormatProvider.cs
    Telerik.Windows.Documents.Fixed.FormatProviders.Pdf.ExceptionHandling.ExecutionHandler.TryHandleExecution<E>(System.Action) in ExecutionHandler.cs

 

Unplanned
Last Updated: 20 Nov 2023 14:41 by Rob
Created by: Rob
Comments: 0
Category: PdfProcessing
Type: Bug Report
1
PDF document Import-Export inverts images.
Unplanned
Last Updated: 20 Nov 2023 14:32 by Rob
Allow authentication of documents with OwnerPassword. The user can use the OwnerPassword instead of the UserPassword to open the file.
Unplanned
Last Updated: 17 Nov 2023 13:42 by MVDH
When exporting an image with ICCBased color space and the default ImageCompression is changed an exception is thrown: NotSupportedException: 'Not supported colorspace: ICCBased'.
Unplanned
Last Updated: 16 Nov 2023 10:52 by ADMIN

When loading a PDF generated with PdfProcessing in PDF Accessibility Checker 2021 (PAC) an exception is thrown: "Object reference not set to an instance of an object".

It is reproducible with all PdfComplianceLevel export options.

1 2 3 4 5 6