This is a migrated thread and some comments may be shown as answers.

PDF can't find Fonts

3 Answers 129 Views
Scheduler
This is a migrated thread and some comments may be shown as answers.
Fernando
Top achievements
Rank 1
Fernando asked on 04 May 2017, 06:44 PM

Hi there.

I'm having an issue with the "pdf" feature when it's being executed in an environment diffent than localhost.

Consider I have Kendo UI in my ASP.Net MVC 5 application located under "/Content/js/kendoui" path. In order to make the pdf generation works, I had to add "fonts/DejaVu" under "/Content/js/kendoui/styles/" path. In my development environment, it works, because the scheduler's pdf feature looks after it under "/Content/js/kendoui/styles/fonts/DejaVu/DejaVuSans.ttf?v=1.1" url.

But when I deploy the app in another environment, that feature looks after those fonts in a totally different path! It tries to reach it under "/css/fonts/DejaVu/DejaVuSans.ttf?v=1.1" url.

Why that happens and how can I fix it?

Thanks in adv.

3 Answers, 1 is accepted

Sort by
0
Plamen
Telerik team
answered on 08 May 2017, 09:56 AM
Hello,

The issue is most probably caused by some custom settings in your production application. I have tested it both in our local demos and on our online demos and it was working correctly.

Regards,
Plamen
Telerik by Progress
Try our brand new, jQuery-free Angular 2 components built from ground-up which deliver the business app essential building blocks - a grid component, data visualization (charts) and form elements.
0
Fernando
Top achievements
Rank 1
answered on 11 May 2017, 08:18 PM

Hello.

And how that custom setting should be ? How could I customize that setting ? I need to know so I can find it. I already had an overlook and could find nothing.

Thank you.

0
Plamen
Telerik team
answered on 15 May 2017, 11:50 AM
Hi,

Unfortunately we could not replicate the issue at our side so would you please elaborate it by sending a sample project where we will be able to observe it and be more helpful?

Regards,
Plamen
Telerik by Progress
Try our brand new, jQuery-free Angular 2 components built from ground-up which deliver the business app essential building blocks - a grid component, data visualization (charts) and form elements.
Tags
Scheduler
Asked by
Fernando
Top achievements
Rank 1
Answers by
Plamen
Telerik team
Fernando
Top achievements
Rank 1
Share this question
or