Hello,
There is a problem regarding encoding in the pdf when mvc charts are exported. Does exist any solution to show none ASCII chars in the pdf? I've tried to set some fonts but it's not working unfortunately.
eg.
kendo.pdf.defineFont({
"Open Sans": "/fonts/OpenSans-Regular.ttf",
"Open Sans|Bold": "/fonts/OpenSans-Bold.ttf",
"Open Sans|Bold|Italic": "/fonts/OpenSans-BoldItalic.ttf",
"Open Sans|Italic": "/fonts/OpenSans-Italic.ttf"
});
or
/* Pdf font */
@font-face {
font-family: "Open Sans";
src: url("../fonts/OpenSans-Regular.ttf") format("truetype");
}
P.S. Export from Grid looks good (after I've added @font-face style).
Please see attached files.
Thanks a lot,
There is a problem regarding encoding in the pdf when mvc charts are exported. Does exist any solution to show none ASCII chars in the pdf? I've tried to set some fonts but it's not working unfortunately.
eg.
kendo.pdf.defineFont({
"Open Sans": "/fonts/OpenSans-Regular.ttf",
"Open Sans|Bold": "/fonts/OpenSans-Bold.ttf",
"Open Sans|Bold|Italic": "/fonts/OpenSans-BoldItalic.ttf",
"Open Sans|Italic": "/fonts/OpenSans-Italic.ttf"
});
or
/* Pdf font */
@font-face {
font-family: "Open Sans";
src: url("../fonts/OpenSans-Regular.ttf") format("truetype");
}
P.S. Export from Grid looks good (after I've added @font-face style).
Please see attached files.
Thanks a lot,