Skip to content

Conversation

Svilen-Pavlov
Copy link
Contributor

Rearranged the flow of the article. "What's new" and "new API" sections were replaced with "Images and Fonts". Put some text in notes in regular form.

…eplaced with "Images and Fonts". Put some text in notes in regular form.

The [limitations in .Net Standard](#limitations-in-net-standard) require some additional settings to be done, therefore, the **RadPdfProcessing** library exposes a FixedExtensibilityManager class used for providing extensibility mechanisms.
The .NET Framework version of PdfProcessing comes with out-of-the-box functionality to read fonts, convert images, and scale their quality. The .NET Standard specification, however does not specify APIs to provide such functionalities built in the library.
In order to provide the necessary extensibility mechanisms for working with fonts and images, the .NET Standard version of **RadPdfProcessing** exposes the **FixedExtensibilityManager** class.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Add one more sentence that explains that the below examples are showing how the user can achieve these functionalities

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Class with a Capital C

PdfProcessing needs to have access to the font data so that it can read it and add it to the PDF file. That is why, to allow the library to create and use fonts, you will need to provide an implementation of the FontsProviderBase abstract class and set this implementation to the <u>FontsProvider</u> property of the **FixedExtensibilityManager**.

* **FontsProvider**: Gets or sets a *FontsProviderBase* instance used to provide missing fonts.
The code snippets below show how to create a custom <u>FontsProvider</u> implementation and how to set it.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

showS

Copy link
Contributor Author

@Svilen-Pavlov Svilen-Pavlov Apr 13, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

"The code snippets show" is correct as "snippets" is plural.

* **FontsProvider**: Gets or sets a *FontsProviderBase* instance used to provide and export missing fonts.

#### **[C#] Example 1: Windows Example: Creating custom implementation inheriting the FontsProviderBase abstract class**
#### **[C#] Example 1: Windows Example: Creating custom implementation, inheriting the FontsProviderBase abstract class**
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

remove "Windows example". "by" instead of comma

>important If the JpegImageConverter property is not set, an exception is thrown.
The **Telerik.Documents.ImageUtils** assembly provides a default implementation of the JpegImageConverter class that could be used when exporting the document. The default implementation depends on the [ImageSharp](https://www.nuget.org/packages/SixLabors.ImageSharp/) and [TiffLibrary.ImageSharpAdapter](https://www.nuget.org/packages/TiffLibrary.ImageSharpAdapter/) libraries to convert images to Jpeg format.
>important Telerik.Documents.ImageUtils.dll is not available for Xamarin.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Explain why it is not available....

@DKaramfilov DKaramfilov merged commit b1e3bbe into master Apr 27, 2022
@TanyaDimitrova TanyaDimitrova deleted the svilen/432813-refactor-pdf-cross-platform-article branch April 29, 2022 12:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants