PDF can't find Fonts

4 posts, 0 answers
  1. Fernando
    Fernando avatar
    66 posts
    Member since:
    Sep 2012

    Posted 04 May 2017 Link to this post

    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.

  2. Plamen
    Admin
    Plamen avatar
    3056 posts

    Posted 08 May 2017 Link to this post

    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.
  3. Fernando
    Fernando avatar
    66 posts
    Member since:
    Sep 2012

    Posted 11 May 2017 in reply to Plamen Link to this post

    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.

  4. Plamen
    Admin
    Plamen avatar
    3056 posts

    Posted 15 May 2017 Link to this post

    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.
Back to Top