Ticket T858628
Visible to All Users

Font always renders in DejaVu Sans on a Linux Docker image

created 5 years ago

Dear,
When I create a report with a font like 'Comic Sans', the font that is used to render the document is always 'DejaVu Sans'.
It matters not when if I export the document to DOCX or PDF, it's always the same Font.
I also noticed that the Font that is set, not always gets saved properly. Sometimes it needs to be changed a few times before the correct Font is saved in the report, even though the designer shows the correct font.

my backend runs in a Docker Linux image
Kind regards

Answers approved by DevExpress Support

created 5 years ago

Hi,

In order to use the font like a 'Comic Sans' in your report, this font should be available on the machine where this report is being generated or exported. So, in case the 'Comic Sans' font is not available on your Docker Linux image it will be replaced with another font that is available on the machine.

So, to resolve this issue, just install desired fonts to your Docker Linux image.

    Comments (2)

      As I managed to resolve this issue.

      Is it possible you could provide a sample with the docker configuration?
      It might be helpful to provide some additional information on how to properly add all the fonts shown in the Report Designer.

      DevExpress Support Team 5 years ago

        Hello,
        You can find notes about the required Docker configuration in our documentation: ASP.NET Core Reporting -> Docker Support. If you have any suggestions on what information may be added to this section, feel free to post a comment here or leave your feedback in the corresponding documentation section.

        Thanks

        Disclaimer: The information provided on DevExpress.com and affiliated web properties (including the DevExpress Support Center) is provided "as is" without warranty of any kind. Developer Express Inc disclaims all warranties, either express or implied, including the warranties of merchantability and fitness for a particular purpose. Please refer to the DevExpress.com Website Terms of Use for more information in this regard.

        Confidential Information: Developer Express Inc does not wish to receive, will not act to procure, nor will it solicit, confidential or proprietary materials and information from you through the DevExpress Support Center or its web properties. Any and all materials or information divulged during chats, email communications, online discussions, Support Center tickets, or made available to Developer Express Inc in any manner will be deemed NOT to be confidential by Developer Express Inc. Please refer to the DevExpress.com Website Terms of Use for more information in this regard.