Skip to content

Commit 416fd9e

Browse files
committed
Merge branch 'EJ2-984044-D' of https://github.com/syncfusion-content/document-processing-docs into EJ2-984044-D
2 parents 362dc8b + 16765da commit 416fd9e

22 files changed

+3636
-172
lines changed

Document-Processing-toc.html

Lines changed: 16 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -831,6 +831,8 @@
831831
</ul>
832832
</li>
833833
<li><a href="/document-processing/pdf/pdf-viewer/vue/accessibility">Accessibility</a></li>
834+
<li><a href="/document-processing/pdf/pdf-viewer/vue/toolbar">Toolbar</a></li>
835+
<li><a href="/document-processing/pdf/pdf-viewer/vue/navigation">Navigation</a></li>
834836
<li>Toolbar Customization
835837
<ul>
836838
<li><a href="/document-processing/pdf/pdf-viewer/vue/toolbar-customization/primary-toolbar-customization">Primary Toolbar</a></li>
@@ -841,12 +843,12 @@
841843
<li><a href="/document-processing/pdf/pdf-viewer/vue/toolbar-customization/custom-toolbar">Custom Toolbar</a></li>
842844
</ul>
843845
</li>
844-
<li>Interactive PDF Navigation
846+
<li><a href="/document-processing/pdf/pdf-viewer/vue/navigation">Interactive PDF Navigation</a>
845847
<ul>
846-
<a href="/document-processing/pdf/pdf-viewer/vue/interactive-pdf-navigation/page-navigation">Page </a>
847-
<a href="/document-processing/pdf/pdf-viewer/vue/interactive-pdf-navigation/bookmark-navigation">Bookmark</a>
848-
<a href="/document-processing/pdf/pdf-viewer/vue/interactive-pdf-navigation/page-thumbnail-navigation">Page Thumbnail</a>
849-
<a href="/document-processing/pdf/pdf-viewer/vue/interactive-pdf-navigation/hyperlink-navigation">Hyperlink Navigation</a>
848+
<li><a href="/document-processing/pdf/pdf-viewer/vue/interactive-pdf-navigation/page-navigation">Page</a></li>
849+
<li><a href="/document-processing/pdf/pdf-viewer/vue/interactive-pdf-navigation/bookmark-navigation">Bookmark</a></li>
850+
<li><a href="/document-processing/pdf/pdf-viewer/vue/interactive-pdf-navigation/page-thumbnail-navigation">Page Thumbnail</a></li>
851+
<li><a href="/document-processing/pdf/pdf-viewer/vue/interactive-pdf-navigation/hyperlink-navigation">Hyperlink Navigation</a></li>
850852
</ul>
851853
</li>
852854
<li><a href="/document-processing/pdf/pdf-viewer/vue/magnification">Magnification</a></li>
@@ -888,6 +890,7 @@
888890
<li><a href="/document-processing/pdf/pdf-viewer/vue/organize-pdf/organize-pdf-events">Events</a></li>
889891
</ul>
890892
</li>
893+
<li><a href="/document-processing/pdf/pdf-viewer/vue/organize-pdf">Organize Pages</a></li>
891894
<li><a href="/document-processing/pdf/pdf-viewer/vue/print">Print</a></li>
892895
<li><a href="/document-processing/pdf/pdf-viewer/vue/download">Download</a></li>
893896
<li><a href="/document-processing/pdf/pdf-viewer/vue/event">Events</a></li>
@@ -1139,6 +1142,8 @@
11391142
<li><a href="/document-processing/pdf/pdf-viewer/javascript-es6/save-pdf-file/to-azure-active-directory">From Azure Active Directory</a></li>
11401143
</ul>
11411144
</li>
1145+
<li><a href="/document-processing/pdf/pdf-viewer/javascript-es6/toolbar">Toolbar</a></li>
1146+
<li><a href="/document-processing/pdf/pdf-viewer/javascript-es6/navigation">Navigation</a></li>
11421147
<li>Toolbar Customization
11431148
<ul>
11441149
<li><a href="/document-processing/pdf/pdf-viewer/javascript-es6/toolbar-customization/primary-toolbar-customization">Primary Toolbar</a></li>
@@ -1149,12 +1154,12 @@
11491154
<li><a href="/document-processing/pdf/pdf-viewer/javascript-es6/toolbar-customization/custom-toolbar">Custom Toolbar</a></li>
11501155
</ul>
11511156
</li>
1152-
<li>Interactive PDF Navigation
1157+
<li><a href="/document-processing/pdf/pdf-viewer/javascript-es6/navigation">Interactive PDF Navigation</a>
11531158
<ul>
1154-
<a href="/document-processing/pdf/pdf-viewer/javascript-es6/interactive-pdf-navigation/page-navigation">Page </a>
1155-
<a href="/document-processing/pdf/pdf-viewer/javascript-es6/interactive-pdf-navigation/bookmark-navigation">Bookmark</a>
1156-
<a href="/document-processing/pdf/pdf-viewer/javascript-es6/interactive-pdf-navigation/page-thumbnail-navigation">Page Thumbnail</a>
1157-
<a href="/document-processing/pdf/pdf-viewer/javascript-es6/interactive-pdf-navigation/hyperlink-navigation">Hyperlink Navigation</a>
1159+
<li><a href="/document-processing/pdf/pdf-viewer/javascript-es6/interactive-pdf-navigation/page-navigation">Pages</a></li>
1160+
<li><a href="/document-processing/pdf/pdf-viewer/javascript-es6/interactive-pdf-navigation/bookmark-navigation">Bookmark</a></li>
1161+
<li><a href="/document-processing/pdf/pdf-viewer/javascript-es6/interactive-pdf-navigation/page-thumbnail-navigation">Page Thumbnail</a></li>
1162+
<li><a href="/document-processing/pdf/pdf-viewer/javascript-es6/interactive-pdf-navigation/hyperlink-navigation">Hyperlink Navigation</a></li>
11581163
</ul>
11591164
</li>
11601165
<li><a href="/document-processing/pdf/pdf-viewer/javascript-es6/magnification">Magnification</a></li>
@@ -1197,6 +1202,7 @@
11971202
<li><a href="/document-processing/pdf/pdf-viewer/javascript-es6/organize-pdf/organize-pdf-events">Events</a></li>
11981203
</ul>
11991204
</li>
1205+
<li><a href="/document-processing/pdf/pdf-viewer/javascript-es6/organize-pdf">Organize Pages</a></li>
12001206
<li><a href="/document-processing/pdf/pdf-viewer/javascript-es6/print">Print</a></li>
12011207
<li><a href="/document-processing/pdf/pdf-viewer/javascript-es6/download">Download</a></li>
12021208
<li><a href="/document-processing/pdf/pdf-viewer/javascript-es6/event">Event</a></li>

Document-Processing/PDF/PDF-Viewer/javascript-es6/event.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -819,7 +819,7 @@ The [keyboardCustomCommands](https://ej2.syncfusion.com/javascript/documentation
819819
When it triggers
820820
- After registering gestures in commandManager.keyboardCommand. For example, pressing Shift + Alt + G or Shift + Alt + H triggers the event. Use this to handle custom keyboard shortcuts.
821821

822-
Refer to [Keyboard interaction](./accessibility.md#keyboard-interaction) for details about adding and handling custom shortcut keys.
822+
Refer to [Keyboard interaction](./accessibility#keyboard-interaction) for details about adding and handling custom shortcut keys.
823823
Example:
824824

825825
```typescript

Document-Processing/PDF/PDF-Viewer/javascript-es6/feature-module.md

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -15,17 +15,17 @@ The PDF Viewer features are provided as individual modules, allowing application
1515
Available PDF Viewer modules:
1616

1717
* [**Toolbar**](./toolbar-customization): Built-in toolbar for user interaction.
18-
* [**Magnification**](./magnification.md): Perform zoom operations for a better viewing experience.
19-
* [**Navigation**](./interactive-pdf-navigation/page-navigation.md): Navigate across pages.
20-
* [**LinkAnnotation**](./interactive-pdf-navigation/table-of-content-navigation.md): Navigate within the document or to external destinations via hyperlinks.
21-
* [**ThumbnailView**](./interactive-pdf-navigation/page-thumbnail-navigation.md): Navigate within the document using page thumbnails.
22-
* [**BookmarkView**](./interactive-pdf-navigation/bookmark-navigation.md): Navigate using document bookmarks (table of contents).
23-
* [**TextSelection**](./textselection.md): Select and copy text from the document.
24-
* [**TextSearch**](./text-search.md): Search for text across the document.
25-
* [**Print**](./print.md): Print the entire document or specific pages directly from the browser.
26-
* [**Annotation**](./annotations/text-markup-annotation.md): Add and edit annotations.
27-
* [**FormFields**](./form-designer/create-programmatically.md): Work with form fields in the document.
28-
* [**FormDesigner**](./form-designer/create-programmatically.md): Add or edit form fields in the document.
18+
* [**Magnification**](./magnification): Perform zoom operations for a better viewing experience.
19+
* [**Navigation**](./interactive-pdf-navigation/page-navigation): Navigate across pages.
20+
* [**LinkAnnotation**](./interactive-pdf-navigation/table-of-content-navigation): Navigate within the document or to external destinations via hyperlinks.
21+
* [**ThumbnailView**](./interactive-pdf-navigation/page-thumbnail-navigation): Navigate within the document using page thumbnails.
22+
* [**BookmarkView**](./interactive-pdf-navigation/bookmark-navigation): Navigate using document bookmarks (table of contents).
23+
* [**TextSelection**](./textselection): Select and copy text from the document.
24+
* [**TextSearch**](./text-search): Search for text across the document.
25+
* [**Print**](./print): Print the entire document or specific pages directly from the browser.
26+
* [**Annotation**](./annotations/text-markup-annotation): Add and edit annotations.
27+
* [**FormFields**](./form-designer/create-programmatically): Work with form fields in the document.
28+
* [**FormDesigner**](./form-designer/create-programmatically): Add or edit form fields in the document.
2929

3030
> In addition to injecting the required modules in an application, enable the corresponding properties to activate features on a PDF Viewer instance.
3131
Refer to the following table:

Document-Processing/PDF/PDF-Viewer/javascript-es6/how-to-overview.md

Lines changed: 50 additions & 50 deletions
Original file line numberDiff line numberDiff line change
@@ -12,54 +12,54 @@ domainurl: ##DomainURL##
1212

1313
The frequently asked questions in Essential<sup>&reg;</sup> PDF Viewer are listed below.
1414

15-
* [How to add annotation in text search in typescript?](./how-to/add-annotation-in-text-search-ts.md)
16-
* [How to add custom header to the PDF Viewer ajax request?](./how-to/add-header-value.md)
17-
* [How to add a save button to PDF Viewer toolbar?](./how-to/add-save-button-ts.md)
18-
* [How to customize the annotation selectors?](./how-to/annotation-selectors.md)
19-
* [How to change the author name of the annotation dynamically?](./how-to/change-author-name-using-annotation-settings.md)
20-
* [How to clear all the annotations from the PDF document?](./how-to/clear-annotations.md)
21-
* [How to configure the annotation selector settings?](./how-to/configure-annotationselector-setting-ts.md)
22-
* [What are the supported conformance or standards of PDF Viewer?](./how-to/conformance.md)
23-
* [How to control the visibility of the annotation?](./how-to/control-annotation-visibility-ts.md)
24-
* [How to convert the PDF library bounds to PDF Viewer bounds?](./how-to/convert-pdf-library-bounds-to-pdf-viewer-bounds-ts.md)
25-
* [How to create PDF Viewer service using ASP.NET Core?](./how-to/create-pdfviewer-service-core.md)
26-
* [How to create PDF Viewer web service using ASP.NET MVC?](./how-to/create-pdfviewer-service.md)
27-
* [How to customize the context menu in PDF Viewer?](./how-to/custom-context-menu.md)
28-
* [How to add custom font in handwritten signature?](./how-to/custom-font-signature-field-ts.md)
29-
* [How to add custom fonts for form fields and free text annotations?](./how-to/custom-fonts-ts.md)
30-
* [How to customize text search highlight color in PDF Viewer?](./how-to/customize-text-search-color.md)
31-
* [How to delete a specific annotation from the PDF document?](./how-to/delete-annotation.md)
32-
* [How to disable the context menu?](./how-to/disable-context-menu.md)
33-
* [How to disable tile rendering in PDF Viewer?](./how-to/disable-tile-rendering.md)
34-
* [How to display custom tooltip for annotation?](./how-to/display-custom-tool-tip-for-annotation.md)
35-
* [How to get the download start event?](./how-to/download-start-event-ts.md)
36-
* [How to enable or disable the local storage?](./how-to/enable-local-storage-ts.md)
37-
* [Enable the resizer for text markup annotation?](./how-to/enable-resize.md)
38-
* [How to enable or disable the text selection?](./how-to/enable-text-selection-ts.md)
39-
* [How to export the PDF pages as images?](./how-to/export-as-image-ts.md)
40-
* [How to extract text from the PDF document?](./how-to/extract-text-completed-ts.md)
41-
* [How to extract text from a specific region?](./how-to/extract-text-option-ts.md)
42-
* [How to extract text from the PDF document?](./how-to/extract-text-ts.md)
43-
* [How to find the text in the PDF document asynchronously?](./how-to/find-text-async-ts.md)
44-
* [How to get the base64 string of the loaded document?](./how-to/get-base64-ts.md)
45-
* [How to get the page information of the loaded document?](./how-to/get-page-info-ts.md)
46-
* [How to perform highlight, underline, and strikethrough for the selected text?](./how-to/highlight-underline-strikeout-text.md)
47-
* [How to identify the added annotation and its mode?](./how-to/identify-added-annotation-mode.md)
48-
* [How to import annotations from the PDF document?](./how-to/import-annotations.md)
49-
* [How to import and export annotations in PDF Viewer?](./how-to/import-export-annotation-ts.md)
50-
* [How to load a PDF document in PDF Viewer?](./how-to/load-document.md)
51-
* [How to set the minimum and maximum zoom percentage?](./how-to/min-max-zoom-ts.md)
52-
* [How to open the bookmark pane when the document is loaded?](./how-to/open-bookmark-ts.md)
53-
* [How to open the thumbnail pane when the document is loaded?](./how-to/open-thumbnail.md)
54-
* [How to get the annotation when it is overlapped with another annotation on its selection?](./how-to/overlapped-annotation.md)
55-
* [How to get the page render started and completed event?](./how-to/pagerenderstarted-pagerendercompleted-ts.md)
56-
* [How to print the PDF document silently?](./how-to/print-document.md)
57-
* [How to resolve the `Unable to find an entry point named 'FreeExportedValues' in DLL 'pdfium''?](./how-to/resolve-unable-to-find-an-entry-point-error.md)
58-
* [How to restrict the zooming in mobile mode?](./how-to/restricting-zoom-in-mobile-mode-ts.md)
59-
* [How to save the PDF document to database or URL?](./how-to/save-pdf-document-to-url.md)
60-
* [How to select annotations in multi page?](./how-to/select-multi-page-annotations.md)
61-
* [How to show custom stamp item in the stamp annotation?](./how-to/show-custom-stamp-item-ts.md)
62-
* [How to show or hide a particular annotation?](./how-to/show-hide-annotation-ts.md)
63-
* [How to get the signature selected and unselected event?](./how-to/signatureselect-signatureunselect-ts.md)
64-
* [How to unload the PDF document from the viewer?](./how-to/unload-document.md)
15+
* [How to add annotation in text search in typescript?](./how-to/add-annotation-in-text-search-ts)
16+
* [How to add custom header to the PDF Viewer ajax request?](./how-to/add-header-value)
17+
* [How to add a save button to PDF Viewer toolbar?](./how-to/add-save-button-ts)
18+
* [How to customize the annotation selectors?](./how-to/annotation-selectors)
19+
* [How to change the author name of the annotation dynamically?](./how-to/change-author-name-using-annotation-settings)
20+
* [How to clear all the annotations from the PDF document?](./how-to/clear-annotations)
21+
* [How to configure the annotation selector settings?](./how-to/configure-annotationselector-setting-ts)
22+
* [What are the supported conformance or standards of PDF Viewer?](./how-to/conformance)
23+
* [How to control the visibility of the annotation?](./how-to/control-annotation-visibility-ts)
24+
* [How to convert the PDF library bounds to PDF Viewer bounds?](./how-to/convert-pdf-library-bounds-to-pdf-viewer-bounds-ts)
25+
* [How to create PDF Viewer service using ASP.NET Core?](./how-to/create-pdfviewer-service-core)
26+
* [How to create PDF Viewer web service using ASP.NET MVC?](./how-to/create-pdfviewer-service)
27+
* [How to customize the context menu in PDF Viewer?](./how-to/custom-context-menu)
28+
* [How to add custom font in handwritten signature?](./how-to/custom-font-signature-field-ts)
29+
* [How to add custom fonts for form fields and free text annotations?](./how-to/custom-fonts-ts)
30+
* [How to customize text search highlight color in PDF Viewer?](./how-to/customize-text-search-color)
31+
* [How to delete a specific annotation from the PDF document?](./how-to/delete-annotation)
32+
* [How to disable the context menu?](./how-to/disable-context-menu)
33+
* [How to disable tile rendering in PDF Viewer?](./how-to/disable-tile-rendering)
34+
* [How to display custom tooltip for annotation?](./how-to/display-custom-tool-tip-for-annotation)
35+
* [How to get the download start event?](./how-to/download-start-event-ts)
36+
* [How to enable or disable the local storage?](./how-to/enable-local-storage-ts)
37+
* [Enable the resizer for text markup annotation?](./how-to/enable-resize)
38+
* [How to enable or disable the text selection?](./how-to/enable-text-selection-ts)
39+
* [How to export the PDF pages as images?](./how-to/export-as-image-ts)
40+
* [How to extract text from the PDF document?](./how-to/extract-text-completed-ts)
41+
* [How to extract text from a specific region?](./how-to/extract-text-option-ts)
42+
* [How to extract text from the PDF document?](./how-to/extract-text-ts)
43+
* [How to find the text in the PDF document asynchronously?](./how-to/find-text-async-ts)
44+
* [How to get the base64 string of the loaded document?](./how-to/get-base64-ts)
45+
* [How to get the page information of the loaded document?](./how-to/get-page-info-ts)
46+
* [How to perform highlight, underline, and strikethrough for the selected text?](./how-to/highlight-underline-strikeout-text)
47+
* [How to identify the added annotation and its mode?](./how-to/identify-added-annotation-mode)
48+
* [How to import annotations from the PDF document?](./how-to/import-annotations)
49+
* [How to import and export annotations in PDF Viewer?](./how-to/import-export-annotation-ts)
50+
* [How to load a PDF document in PDF Viewer?](./how-to/load-document)
51+
* [How to set the minimum and maximum zoom percentage?](./how-to/min-max-zoom-ts)
52+
* [How to open the bookmark pane when the document is loaded?](./how-to/open-bookmark-ts)
53+
* [How to open the thumbnail pane when the document is loaded?](./how-to/open-thumbnail)
54+
* [How to get the annotation when it is overlapped with another annotation on its selection?](./how-to/overlapped-annotation)
55+
* [How to get the page render started and completed event?](./how-to/pagerenderstarted-pagerendercompleted-ts)
56+
* [How to print the PDF document silently?](./how-to/print-document)
57+
* [How to resolve the `Unable to find an entry point named 'FreeExportedValues' in DLL 'pdfium''?](./how-to/resolve-unable-to-find-an-entry-point-error)
58+
* [How to restrict the zooming in mobile mode?](./how-to/restricting-zoom-in-mobile-mode-ts)
59+
* [How to save the PDF document to database or URL?](./how-to/save-pdf-document-to-url)
60+
* [How to select annotations in multi page?](./how-to/select-multi-page-annotations)
61+
* [How to show custom stamp item in the stamp annotation?](./how-to/show-custom-stamp-item-ts)
62+
* [How to show or hide a particular annotation?](./how-to/show-hide-annotation-ts)
63+
* [How to get the signature selected and unselected event?](./how-to/signatureselect-signatureunselect-ts)
64+
* [How to unload the PDF document from the viewer?](./how-to/unload-document)
6565

Document-Processing/PDF/PDF-Viewer/javascript-es6/how-to/custom-fonts-ts.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,12 @@ domainurl: ##DomainURL##
1010

1111
# Add custom fonts in PDF Viewer
1212

13+
The TypeScript PDF Viewer supports loading, editing, and saving custom fonts in form fields such as text boxes, list boxes, and drop-downs by using the customFonts property. Add the required TTF files to the resource URL directory used by the viewer so they can be loaded at runtime and used in forms.
14+
15+
## Integrating Custom Font Collections into Form Fields in PDF Viewer
16+
17+
To ensure proper rendering and saving of form fields that use custom fonts, especially when the fonts are not installed on the system, place the TTF files in the resource URL path referenced by the viewer and specify their names through the customFonts property (string array). These fonts will then be available for loading, editing, and saving form fields in the PDF.
18+
1319
To use custom fonts in the Syncfusion PDF Viewer, add the custom TTF files to the resource URL directory and configure the viewer to load them. Specify font file names using the `customFonts` property as an array of names.
1420

1521
Steps to add custom fonts
@@ -47,3 +53,5 @@ pdfviewer.appendTo('#PdfViewer');
4753
{% endtabs %}
4854

4955
These steps integrate custom fonts into PDF documents displayed in the PDF Viewer.
56+
57+
> Note: If a form field (TextBox, ListBox, DropDown) using a custom font has text larger than the field’s bounds, the downloaded PDF may render incorrectly in browsers or third‑party viewers. It displays correctly in the Syncfusion PDF Viewer. To avoid this, use a font size that fits within the field or enlarge the field before saving/downloading.

0 commit comments

Comments
 (0)