Completed
Last Updated: 17 Sep 2019 13:01 by ADMIN
Release R3 2019
ADMIN
Deyan
Created on: 28 Jun 2017 18:37
Category: PdfProcessing
Type: Bug Report
6
PdfProcessing: TextBoxFields content is visualized with wrong text after importing and exporting fields with custom encoding in VariableContentWidget's font
This is reproducible with specific PDF files which use custom Encoding for the fonts of the field widgets. 

WORKAROUND: Change the font of VariableContentWidgets before editing the field value. You should additionally call RecalculateContent() method of these widgets if the value of their corresponding fields is not edited. The following method may be used for changing the font of all existing widgets in the document:

private static void FixEncodingIssues(RadFixedDocument document)
{
    foreach(Annotation annotation in document.Annotations)
    {
        VariableContentWidget widget = annotation as VariableContentWidget;

        if(widget != null)
        {
            widget.TextProperties.Font = FontsRepository.Helvetica;
        }
    }
}
5 comments
ADMIN
Georgi
Posted on: 17 Sep 2019 13:01

Hello Hector,

We will greatly appreciate any feedback you can provide us with. Each feedback is important for us, in order to improve the quality of our products.

Regards,
Georgi
Progress Telerik

Get quickly onboarded and successful with your Telerik and/or Kendo UI products with the Virtual Classroom free technical training, available to all active customers. Learn More.
Hector
Posted on: 10 Sep 2019 14:05
AWESOME! Can't wait to test it out. Thank you!
ADMIN
Georgi
Posted on: 02 Aug 2019 11:27
Hi Hector,

I am afraid that I cannot provide you with any workaround other than applying font on each VariableContentWidget. We have estimated the item and we have increased its priority in our backlog. However, I cannot commit to specific timeframe when it will be delivered. My advice is to subscribe for the item to be notified for any status updates.

Regards,
Georgi
Progress Telerik
Get quickly onboarded and successful with your Telerik and/or Kendo UI products with the Virtual Classroom free technical training, available to all active customers. Learn More.
Hector
Posted on: 26 Jul 2019 20:57
Is Telerik able to and/or planning on applying a fix for this in the code base? Rather than changing all font's to something standard, is there any code we can use to make the custom Encoding work?
Jan
Posted on: 30 Nov 2018 14:24
Thanks, this worked well for me.