Skip to content

Conversation

@gedinakova
Copy link
Contributor

Closes #16606

Additional information (check all that apply):

  • Bug fix
  • New functionality
  • Documentation
  • Demos
  • CI/CD

Checklist:

  • All relevant tags have been applied to this PR
  • This PR includes unit tests covering all the new code (test guidelines)
  • This PR includes API docs for newly added methods/properties (api docs guidelines)
  • This PR includes feature/README.MD updates for the feature docs
  • This PR includes general feature table updates in the root README.MD
  • This PR includes CHANGELOG.MD updates for newly added functionality
  • This PR contains breaking changes
  • This PR includes ng update migrations for the breaking changes (migrations guidelines)
  • This PR includes behavioral changes and the feature specification has been updated with them

Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR adds custom font support to the PDF exporter service, enabling Unicode character rendering beyond the default Helvetica font's basic Latin character set. This enhancement addresses the need for exporting data containing non-Latin scripts like Cyrillic, Chinese, Japanese, Arabic, and Hebrew characters.

Changes:

  • Added customFont property to IgxPdfExporterOptions with support for Base64-encoded TrueType fonts
  • Implemented font registration logic with automatic fallback to Helvetica on errors
  • Added comprehensive unit tests covering edge cases for custom font configuration

Reviewed changes

Copilot reviewed 4 out of 4 changed files in this pull request and generated 4 comments.

File Description
pdf-exporter.ts Implements custom font registration logic with validation and fallback handling
pdf-exporter.spec.ts Adds comprehensive test coverage for custom font feature including edge cases
pdf-exporter-options.ts Defines PdfUnicodeFont interface and adds customFont property with detailed documentation
CHANGELOG.md Documents the new custom font feature with usage examples

@gedinakova gedinakova requested a review from Copilot February 12, 2026 10:17
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Copilot reviewed 4 out of 4 changed files in this pull request and generated 2 comments.

@gedinakova gedinakova requested a review from Copilot February 12, 2026 14:06
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Copilot reviewed 4 out of 4 changed files in this pull request and generated 3 comments.

@gedinakova gedinakova requested a review from Copilot February 12, 2026 14:10
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Copilot reviewed 4 out of 4 changed files in this pull request and generated 3 comments.

@gedinakova gedinakova requested a review from Copilot February 13, 2026 07:42
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Copilot reviewed 4 out of 4 changed files in this pull request and generated 1 comment.

Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Copilot reviewed 4 out of 4 changed files in this pull request and generated 1 comment.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[PDF] Non‑Latin text not exported properly

4 participants