Due to its implementation specifics, the PDF Export component has certain limitations.
The limitations of the PDF Export component affect its:
- The drawing of HTML elements does not support right-to-left (RTL) texts.
- If the source of an image is an SVG document, it is not exported in Internet Explorer.
- The export of vertically aligned elements might not work well with automatic page-breaking.
- Browser zoom level that is different from 100% is not supported.
- Shadow DOM is not rendered.
- The PDF 1.5 specification limits the maximum document size to 5080mm x 5080mm (200 x 200 inches). Larger files might not open in some viewers.
- The content of the
<svg>elements is not processed.
- The rendering of the
<select>elements is approximate and leads to minor possible issues such as wrong padding or a missing drop-down arrow. It is recommended that you use the Kendo UI DropDownList component instead of a plain
- Only the
solidborder style is rendered.
border-collapse:collapsestyle of tables is not supported. To prevent double borders in the PDF output, avoid using adjacent borders for separate table cells.
radialCSS gradients are omitted. The
lineargradients are supported.
- Elements with
position: fixedare not displayed in the output and are skipped over by the algorithm.
- Vertical texts which use the
vertical-lrvalues of the
writing-modeproperty are not exported.
- Images that are hosted on different domains will be rendered only if the server provides permissive Cross-Origin HTTP headers. Similarly, fonts might not be loaded across domains. Even with the proper CORS headers, Internet Explorer 9 is not able to load images or fonts from another domain and might raise a security exception. If your application supports Internet Explorer 9, make sure that you host images and fonts on the same domain as the application.
<canvas>will be rendered as an image only if it is not tainted, that is, only if it does not display images from another domain.
The Kendo UI PDF generator is tested and supported in the following desktop browsers:
- Internet Explorer 9 and later.
- Latest Chrome, Firefox, Safari, and Blink-based Opera versions.
Officially, the PDF export is not supported on mobile devices because of browser limitations and CORS-related security restrictions in hybrid applications. For example, it is not possible to load locally stored font files in hybrid applications. Though in specific scenarios PDF export might work on some mobile devices, it is not supported in:
- Mobile browsers
- Hybrid mobile applications