Completed
Last Updated: 11 Jan 2024 08:24 by ADMIN
Release 2024 Q1
A password is asked although Adobe opens the document without one.
Completed
Last Updated: 11 Jan 2024 08:24 by ADMIN
Release 2024 Q1
Created by: Niklas
Comments: 0
Category: PdfProcessing
Type: Bug Report
0
Unwanted Stopwatch in DocumentCatalog.
Completed
Last Updated: 11 Jan 2024 08:24 by ADMIN
Release 2024 Q1
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: 11 Jan 2024 08:24 by ADMIN
Release 2024 Q1
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: 11 Jan 2024 08:24 by ADMIN
Release 2024 Q1
When decoding a CalRgb ColorSpace image an exception is thrown: NotSupportedException: 'Not supported colorspace: CalRgb'
Completed
Last Updated: 11 Jan 2024 08:23 by ADMIN
Release 2024 Q1
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: 11 Jan 2024 08:23 by ADMIN
Release 2024 Q1
Import-export mangles text with a specific document.
Completed
Last Updated: 11 Jan 2024 08:23 by ADMIN
Release 2024 Q1
Created by: laura
Comments: 0
Category: PdfProcessing
Type: Feature Request
1
Expose the IsBold property of FontBase.
Completed
Last Updated: 11 Jan 2024 08:23 by ADMIN
Release 2024 Q1
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: 20 Dec 2023 06:08 by ADMIN
ADMIN
Created by: Deyan
Comments: 1
Category: PdfProcessing
Type: Feature Request
32
You can convert the document to PDF and use the approach bellow:

Currently, silent async printing may be achieved by using RadPdfViewer WPF control. Sample demo showing how to achieve this may be seen at the following forum post:
http://www.telerik.com/forums/pdfviewer-print-makes-ui-unresponsive#js0YdzFWc0Oa8C3g6a18lg

The RadPdfViewer WPF control used does not need to be displayed, making this demo a good workaround for ASP.NET AJAX clients.
Unplanned
Last Updated: 14 Dec 2023 12:41 by Jean-Pierre
Export to image in Blazor is blocked when Export method is used instead of ExportAsync
Completed
Last Updated: 14 Dec 2023 12:30 by ADMIN
Release Q1 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);
}

Unplanned
Last Updated: 14 Dec 2023 09:13 by M4
From the PDF specification: "The current stroking alpha constant, specifying the constant shape or constant opacity value to be used for stroking operations in the transparent imaging model."

Not respecting it leads to lost image transparency.
Unplanned
Last Updated: 13 Dec 2023 08:04 by M4
Created by: M4
Comments: 0
Category: PdfProcessing
Type: Feature Request
1

Introduce API for setting Image opacity.

The attached Workaround demonstrates how to change the opacity of the image before inserting it into the document.

Completed
Last Updated: 11 Dec 2023 07:41 by ADMIN
Release R3 2023 SP1
Endless loop when trying to parse image data between ID and EI keywords.
Unplanned
Last Updated: 06 Dec 2023 13:32 by ADMIN
Currently, PdfStreamWriter writes only PDF pages.

If we implement API for merging multiple pages or whole documents we would be able to preserve links between pages (which are currently being corrupted).

Merging whole documents would also allow preserving document properties (bookmarks, interactive forms, ...). For a more detailed list of the unsupported document properties you can refer to our documentation: https://docs.telerik.com/devtools/document-processing/libraries/radpdfprocessing/formats-and-conversion/pdf/pdfstreamwriter/features.

We may also implement API for adding initial document properties from some existing PDF file.
Unplanned
Last Updated: 05 Dec 2023 10:38 by Rey
Created by: Rey
Comments: 0
Category: PdfProcessing
Type: Bug Report
5
When merging documents using the RadFixedDocument`s Merge() method the fonts are not successfully merged which leads to missing characters in the produced document.

Workaround: replace the font with a full font (not a subset) before exporting to a PDF file:
byte[] data = File.ReadAllBytes("verdana.ttf");
FontFamily verdanaRegularFontFamily = new FontFamily("Verdana");
FontsRepository.RegisterFont(verdanaRegularFontFamily, FontStyles.Normal, FontWeights.Normal, data);
FontsRepository.TryCreateFont(verdanaRegularFontFamily, out FontBase verdanaRegularFont);

foreach (RadFixedPage page in mergedDocument.Pages)
{
	foreach (TextFragment textFragment in page.Content.Where(c => c is TextFragment).Cast<TextFragment>())
	{
		textFragment.Font = verdanaRegularFont;
	}
}
Unplanned
Last Updated: 04 Dec 2023 11:54 by MVDH
When trying to convert Image XObject encoded with FlateDecode and with no ColorSpace defined to a DCTDecoded image it is fallbacking to preserve the original FlatDecode filter and the image is not converted.

Unplanned
Last Updated: 04 Dec 2023 08:27 by Rami

According to the PDF specification: "It is recommended that there be an end-of-line marker after the data and before endstream;"

The full stack trace:

   at Telerik.Windows.Documents.Fixed.FormatProviders.Pdf.Import.Parser.Reader.Read(Int32 count)
   at Telerik.Windows.Documents.Fixed.FormatProviders.Pdf.Model.Types.PdfStreamBase.CalculateStreamLengthAndReadData()
   at Telerik.Windows.Documents.Fixed.FormatProviders.Pdf.Model.Types.PdfStream.ReadRawPdfDataOverride()
   at Telerik.Windows.Documents.Fixed.FormatProviders.Pdf.Model.Types.PdfStreamBase.ReadRawPdfData()
   at Telerik.Windows.Documents.Fixed.FormatProviders.Pdf.Filters.FiltersManager.Decode(PostScriptReader reader, IPdfImportContext context, PdfDictionary dictionary, PdfStreamBase stream, PdfArray filters)
   at Telerik.Windows.Documents.Fixed.FormatProviders.Pdf.Model.Types.PdfStreamBase.DecodePdfData()
   at Telerik.Windows.Documents.Fixed.FormatProviders.Pdf.Model.Types.PdfStreamBase.ReadDecodedPdfData()
   at Telerik.Windows.Documents.Fixed.FormatProviders.Pdf.Model.Elements.Functions.FunctionObject.InterpretData(PostScriptReader reader, IPdfImportContext context, PdfStreamBase stream)
   at Telerik.Windows.Documents.Fixed.FormatProviders.Pdf.Model.Elements.Common.PdfStreamObjectBase.LoadOverride(PostScriptReader reader, IPdfImportContext context, IPdfPrimitive primitive)
   at Telerik.Windows.Documents.Fixed.FormatProviders.Pdf.Model.Elements.Common.PdfObject.Load(PostScriptReader reader, IPdfImportContext context, IPdfPrimitive primitive)
   at Telerik.Windows.Documents.Fixed.FormatProviders.Pdf.Model.Converters.Converter.ConvertFromStream(Type type, PostScriptReader reader, IPdfImportContext context, PdfStream stream)
   at Telerik.Windows.Documents.Fixed.FormatProviders.Pdf.Model.Converters.Converter.Convert(Type type, PostScriptReader reader, IPdfImportContext context, IPdfPrimitive value)
   at Telerik.Windows.Documents.Fixed.FormatProviders.Pdf.Model.Converters.Converter.ConvertFromIndirectReference(Type type, PostScriptReader reader, IPdfImportContext context, IndirectReference reference)
   at Telerik.Windows.Documents.Fixed.FormatProviders.Pdf.Model.Converters.Converter.Convert(Type type, PostScriptReader reader, IPdfImportContext context, IPdfPrimitive value)
   at Telerik.Windows.Documents.Fixed.FormatProviders.Pdf.Model.Types.PdfCollectionBase`1.ConvertElementToType[T](PostScriptReader reader, IPdfImportContext context, IPdfPrimitive element)
   at Telerik.Windows.Documents.Fixed.FormatProviders.Pdf.Model.Types.PdfCollectionBase`1.TryGetElement[T](PostScriptReader reader, IPdfImportContext context, TIndex index, T& element)
   at Telerik.Windows.Documents.Fixed.FormatProviders.Pdf.Model.Elements.Functions.StitchingFunctionObject.ToFunction(PostScriptReader reader, IPdfImportContext context)
   at Telerik.Windows.Documents.Fixed.FormatProviders.Pdf.Model.Elements.Patterns.GradientShadingObject`1.InitializeGradientStops(PostScriptReader reader, IPdfContentImportContext context, Gradient gradient, Matrix matrix, Double distance)
   at Telerik.Windows.Documents.Fixed.FormatProviders.Pdf.Model.Elements.Patterns.GradientShadingObject`1.ToColorOverride(PostScriptReader reader, IPdfContentImportContext context, Matrix matrix)
   at Telerik.Windows.Documents.Fixed.FormatProviders.Pdf.Model.Elements.Patterns.ShadingObject.ToColor(PostScriptReader reader, IPdfContentImportContext context, Matrix matrix)
   at Telerik.Windows.Documents.Fixed.FormatProviders.Pdf.Operators.Color.SetShadingPatternColor.Execute(IContentStreamInterpreter interpreter, IPdfContentImportContext context)
   at Telerik.Windows.Documents.Fixed.FormatProviders.Pdf.Import.ContentStreamInterpreter.ExecuteOperatorOverride(ContentStreamOperator oper)
   at Telerik.Windows.Documents.Fixed.FormatProviders.Pdf.Import.InterpreterBase`1.<>c__DisplayClass8_0.<Execute>b__0()
   at Telerik.Windows.Documents.Fixed.FormatProviders.Pdf.ExceptionHandling.ExecutionHandler.TryHandleExecution[E](Action operation, Action`1 onException)
   at Telerik.Windows.Documents.Fixed.FormatProviders.Pdf.Import.InterpreterBase`1.Execute()
   at Telerik.Windows.Documents.Fixed.FormatProviders.Pdf.Model.Elements.DocumentStructure.ContentStream.ParseContentData(Byte[] data, IRadFixedDocumentImportContext context, IResourceHolder resourceHolder, IContentRootElement contentRoot, ContentStreamKeywordCollection keywordCollection)
   at Telerik.Windows.Documents.Fixed.FormatProviders.Pdf.Model.Elements.DocumentStructure.ContentStream.ParseContentData(Byte[] data, IRadFixedDocumentImportContext context, IResourceHolder resourceHolder, IContentRootElement contentRoot)
   at Telerik.Windows.Documents.Fixed.FormatProviders.Pdf.Model.Elements.DocumentStructure.ContentStream.CopyPropertiesTo(IRadFixedDocumentImportContext context, IResourceHolder resourceHolder, IContentRootElement contentRoot)
   at Telerik.Windows.Documents.Fixed.FormatProviders.Pdf.Model.Elements.DocumentStructure.Page.CopyPageContentTo(IRadFixedDocumentImportContext context, RadFixedPage fixedPage)
   at Telerik.Windows.Documents.Fixed.FormatProviders.Pdf.Model.Elements.DocumentStructure.DocumentCatalog.<>c__DisplayClass59_1.<CopyAllPageProperties>b__1()
   at Telerik.Windows.Documents.Fixed.FormatProviders.Pdf.ExceptionHandling.ExecutionHandler.TryHandleExecution[E](Action operation)
   at Telerik.Windows.Documents.Fixed.FormatProviders.Pdf.Model.Elements.DocumentStructure.DocumentCatalog.CopyAllPageProperties(PostScriptReader reader, IRadFixedDocumentImportContext context, List`1 contextPages, IList`1 pages)
   at Telerik.Windows.Documents.Fixed.FormatProviders.Pdf.Model.Elements.DocumentStructure.DocumentCatalog.CopyPagePropertiesTo(PostScriptReader reader, IRadFixedDocumentImportContext context)
   at Telerik.Windows.Documents.Fixed.FormatProviders.Pdf.Model.Elements.DocumentStructure.DocumentCatalog.CopyPropertiesTo(PostScriptReader reader, IRadFixedDocumentImportContext context)
   at Telerik.Windows.Documents.Fixed.FormatProviders.Pdf.Import.RadFixedDocumentImportContext.BeginImportOverride()
   at Telerik.Windows.Documents.Fixed.FormatProviders.Pdf.Import.BaseImportContext.BeginImport(Stream pdfFileStream)
   at Telerik.Windows.Documents.Fixed.FormatProviders.Pdf.Import.PdfImporter.Import(Stream input, IPdfImportContext context)
   at Telerik.Windows.Documents.Fixed.FormatProviders.Pdf.PdfFormatProvider.<>c__DisplayClass18_0.<ImportOverride>b__0()
   at Telerik.Windows.Documents.Fixed.FormatProviders.Pdf.ExceptionHandling.ExecutionHandler.TryHandleExecution[E](Action operation)
   at Telerik.Windows.Documents.Fixed.FormatProviders.Pdf.PdfFormatProvider.ImportOverride(Stream input)
   at Telerik.Windows.Documents.Common.FormatProviders.FormatProviderBase`1.Import(Stream input)
   at PdfOverflow.Program.Main(String[] args) in C:\Users\dyordano\OneDrive - Progress Software Corporation\MyProjects\1633033_pdfoverflow\PdfOverflow\PdfOverflow\Program.cs:line 15

 

Unplanned
Last Updated: 28 Nov 2023 14:56 by ADMIN
Created by: Frank
Comments: 10
Category: PdfProcessing
Type: Feature Request
29
At this point, the justify alignment is not supported.
Note: When implementing this functionality, ensure that there an is appropriate public API for setting the text alignment to Justify