Telerik Forums
Telerik Document Processing Forum
0 answers
31 views

Symptoms:
Most libraries from Telerik Document Processing are affected after you install January 9, 2018, .NET Security and Quality Rollup (KB4055002). Applications that request a fallback font or a character that is not included in the currently selected font return the following error messages:
System.TypeInitializationException
“FileFormatException: No FontFamily element found in FontFamilyCollection that matches current OS or greater: Win7SP1”.
Inner exception originates from: CompositeFontParser




Solution 1:

Microsoft has released an update which fixes the issue. More information about it you can find here: Description of the Security and Quality Rollup for .NET Framework 4.6, 4.6.1, 4.6.2, 4.7, and 4.7.1 for Windows 7 SP1 and Server 2008 R2 SP1 (KB 4074880).

Solution 2:


To keep .NET 4.7.1 installed and maintain protection against vulnerabilities that are addressed by the January security updates, uninstall the January .NET Framework Security and Quality Rollup (KB 4055002), and then install the January .NET Framework Security-Only Update (KB 4054183). To do this, follow these steps:

  1. In Control Panel, open the Windows Update item, and then select View update history.
  2. In the Review your update history list, locate and select Security Update for Microsoft .NET Framework 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1 (KB4055002). Then, select Uninstall.
  3. When you are prompted for confirmation to uninstall, select Yes.
  4. Restart your computer if you are prompted to do this.
  5. Download and install the Security Only update for .NET Framework 4.6, 4.6.1, 4.6.2, 4.7, and 4.7.1 for Windows 7 SP1 and Windows Server 2008 R2 SP1 and .NET Framework 4.6 for Windows Server 2008 SP2 (KB 4054183) for your operating system configuration from the following links:
    Security Only update for .NET Framework 4.6, 4.6.1, 4.6.2, 4.7, and 4.7.1 for Windows 7 SP1 and Windows Server 2008 R2 SP1 for x86 systems (KB4054183)
    Security Only update for .NET Framework 4.6, 4.6.1, 4.6.2, 4.7, and 4.7.1 on Windows 7 SP1 and Windows Server 2008 R2 SP1 for x64 systems (KB4055269)
  6. Follow the installation prompts, and then restart your computer if you are prompted to do this.

Solution 3:

 Roll back to the previous version of .NET Framework. To do this, follow these steps:

  1. In Control Panel, open the Programs and Features item.
  2. In the Uninstall or change a program list, locate and then select Microsoft .NET Framework 4.7.1, and then select Uninstall/Change.
  3. Select Remove .NET Framework 4.7.1 from this computer, and then select Next. 
  4. Select Continue to confirm the uninstallation.
  5. Select Finish after the uninstallation is finished. 
  6. Restart your computer if you are prompted to do this.
Tanya
Top achievements
Rank 1
 asked on 16 Jan 2018
6 answers
49 views

The documentation for the libraries included in Telerik Document Processing is available at http://docs.telerik.com/devtools/document-processing.

This week's latest resources are described below.

RadPdfProcessing
TextFragment
The content of this article is updated to describe the new properties added to the TextFragment class.

RadSpreadProcessing
Headers and Footers
The article is introduced to describe the new feature in RadSpreadProcessing - applying headers and footers when printing a document or exporting to PDF.

RadSpreadStreamProcessing
RadSpreadStreamProcessing
A new help section that explains how you could use the new RadSpreadStreamProcessing library to achieve fast export of spreadsheet documents with minimal memory usage.

 

Dinko
Telerik team
 answered on 15 Sep 2017
1 answer
3 views

Hi,

 

Is there a way to overwrite existing files when unpacking from a zip with ZipFile.ExtractToDirectory()?

 

Thanks,

Marc

Tanya
Telerik team
 answered on 07 May 2021
1 answer
7 views

I've a .NET core web-api project and I need to edit the existing pdf (like adding an image/ text) without using UI. The pdf files are stored in Azure Cloud which I can access through URI.

So, is that doable? Would appreciate if you could point me to the right Telerik libraries and any examples would be great.

 

Dimitar
Telerik team
 answered on 06 May 2021
1 answer
6 views

Hello

Is it posible to check if pdf file is password protected using Telerik Tools?

 

All the best

Tanya
Telerik team
 answered on 22 Apr 2021
1 answer
11 views

Hello! We are having an issue while using DocxFormatProvider to convert docx to RadFlowDocument. When the provider converts, it replaces all charts in the document with blank paragraphs, and we can't catch this case. (doc for example sample doc)

public void Sample(byte[] document) {
    var docxProvider = new DocxFormatProvider();
    var radFlowDocument = docxProvider.Import(document);
}
Dimitar
Telerik team
 answered on 21 Apr 2021
5 answers
20 views

Not sure that this actually qualifies as a bug, but it was unexpected behavior.  For unit testing I was creating an empty Workbook document and writing it to a file.  It turns out, that the file is corrupt unless it has a Worksheet added to it.  The XlsxFormatProvider does not issue any error and happily writes a 3k file, but Excel can't read it.  Excel throws a dialog "We found a problem with some content in the 'test.xlsx'.  Do you want us...".  Selecting Yes eventually comes back with a "The workbook cannot be opened or repaired by Microsoft Excel because it is corrupt." message.

Simply adding a worksheet:

workbook.Worksheets.Add()

will allow it to create a file that Excel will handle.  Again, not sure you could call this a bug, but it wasn't what I expected it to do.  It might be better if the XlsxFormatProvider threw an exception for trying to write out an empty file.  

At any rate, figured I throw this out there in case anyone else runs into this behavior.

David
Top achievements
Rank 2
 answered on 13 Apr 2021
1 answer
3 views

I am making a catalog of pictures.   During the process the user can either select on file or multiple files sorted by category.  

 

Why would the pdf files be so much larger than the Word files?  It’s usually the other way around!  

 

I combined the individual pdf files and it became 45MB.  I combined the word files and it was 37MB.  I then turned the 37MB word doc into a pdf and it became 4MB.  So as output from Smartview(my program) the pdf file is 45MB but generating a pdf from the word files it is 10x smaller!!!!  

Tanya
Telerik team
 answered on 13 Apr 2021
8 answers
101 views

I need to load a PDF document and extract text.

Is this possible with PDFProcessing?

Thank you,

Guido

Mikko
Top achievements
Rank 1
 answered on 12 Apr 2021
5 answers
13 views

I have a form in a blazor web app that I need to export the content from to a pdf.

The form fields are rich textboxes that can have varying degrees of content, from single lines to who knows how many.

If I export this first to html, and then feed that html into your pdfprocesser, will it be able to automatically create as many pages as it needs or do I need to do calculations to see what will fit on a page and I create the new pages myself?

Dimitar
Telerik team
 answered on 05 Apr 2021