Product Bundles
DevCraft
All Telerik .NET and Kendo UI JavaScript components and AI Tools in one package.
Kendo UI
Bundle of AI Tools plus four JavaScript UI libraries built natively for jQuery, Angular, React and Vue.
Telerik
Build great .NET business apps
Net Web
Cross-Platform
Desktop
Reporting and Documents
Testing & Mocking
Debugging
Build JavaScript UI
Javascript
AI for Developers & IT
Ensure AI program success
AI Coding
Additional Tools
Enhance the developer and designer experience
UI/UX Tools
Free Tools
CMS
Support and Learning
Productivity and Design Tools
Hello,
kendo grid can't support unicode text in pdf sample
thank you
i read Unicode and Embedded Fonts and set persian font
kendo.pdf.defineFont({ "DejaVu Sans": "https://kendo.cdn.telerik.com/2022.2.621/styles/fonts/DejaVu/DejaVuSans.ttf", "DejaVu Sans|Bold": "https://kendo.cdn.telerik.com/2022.2.621/styles/fonts/DejaVu/DejaVuSans-Bold.ttf", "DejaVu Sans|Bold|Italic": "https://kendo.cdn.telerik.com/2022.2.621/styles/fonts/DejaVu/DejaVuSans-Oblique.ttf", "DejaVu Sans|Italic": "https://kendo.cdn.telerik.com/2022.2.621/styles/fonts/DejaVu/DejaVuSans-Oblique.ttf", "WebComponentsIcons": "https://kendo.cdn.telerik.com/2022.2.621/styles/fonts/glyphs/WebComponentsIcons.ttf" });
persian font
kendo.pdf.defineFont({ "IRANSansX Sans":"/css/Webfonts/fonts/IRANSansX-Regular.ttf", "IRANSansX Sans":"/css/Webfonts/fonts/woff/IRANSansX-Regular.woff", "IRANSansX Sans|Bold":"/css/Webfonts/fonts/woff/IRANSansX-Bold.woff", "IRANSansX Sans|Bold|Italic":"/css/Webfonts/fonts/woff/woff/IRANSansX-Regular.woff", "IRANSansX Sans|Italic":"/css/Webfonts/fonts/woff/woff/IRANSansX-Regular.woff", });
not work
Hello Vahid,
To make sure the elements that you are trying to export are using this font, specify font family: "DejaVu Sans" in their styles. Add the following CSS rule to the Grid page:
<style> .k-widget { font-family: "DejaVu Sans"; } </style>
Dojo: https://dojo.telerik.com/avOYONUM
Let me know if you have any questions.
Regards, Nikolay Progress Telerik
Love the Telerik and Kendo UI products and believe more people should try them? Invite a fellow developer to become a Progress customer and each of you can get a $50 Amazon gift voucher.
i read Unicode and Embedded Fonts and set persian font
kendo.pdf.defineFont({ "DejaVu Sans": "https://kendo.cdn.telerik.com/2022.2.621/styles/fonts/DejaVu/DejaVuSans.ttf", "DejaVu Sans|Bold": "https://kendo.cdn.telerik.com/2022.2.621/styles/fonts/DejaVu/DejaVuSans-Bold.ttf", "DejaVu Sans|Bold|Italic": "https://kendo.cdn.telerik.com/2022.2.621/styles/fonts/DejaVu/DejaVuSans-Oblique.ttf", "DejaVu Sans|Italic": "https://kendo.cdn.telerik.com/2022.2.621/styles/fonts/DejaVu/DejaVuSans-Oblique.ttf", "WebComponentsIcons": "https://kendo.cdn.telerik.com/2022.2.621/styles/fonts/glyphs/WebComponentsIcons.ttf" });persian font
kendo.pdf.defineFont({ "IRANSansX Sans":"/css/Webfonts/fonts/IRANSansX-Regular.ttf", "IRANSansX Sans":"/css/Webfonts/fonts/woff/IRANSansX-Regular.woff", "IRANSansX Sans|Bold":"/css/Webfonts/fonts/woff/IRANSansX-Bold.woff", "IRANSansX Sans|Bold|Italic":"/css/Webfonts/fonts/woff/woff/IRANSansX-Regular.woff", "IRANSansX Sans|Italic":"/css/Webfonts/fonts/woff/woff/IRANSansX-Regular.woff", });not work