# Reporting module - class sun.font.CompositeFont cannot be cast to class sun.font.PhysicalFont

**URL:** <https://forum.inductiveautomation.com/t/reporting-module-class-sun-font-compositefont-cannot-be-cast-to-class-sun-font-physicalfont/30208>\
**Category:** Ignition Early Access\
**Created:** [November 25, 2019, 2:32pm UTC](https://forum.inductiveautomation.com/t/reporting-module-class-sun-font-compositefont-cannot-be-cast-to-class-sun-font-physicalfont/30208 "2019-11-25T14:32:34Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![chi](https://avatars.discourse-cdn.com/v4/letter/c/0ea827/32.png) [@chi](https://forum.inductiveautomation.com/u/chi)\
**Post date:** [November 26, 2019, 12:41pm UTC](https://forum.inductiveautomation.com/t/reporting-module-class-sun-font-compositefont-cannot-be-cast-to-class-sun-font-physicalfont/30208/2 "2019-11-26T12:41:14Z")

</div>

Update:  
The cause of this problem was moving a gateway from Windows to Linux. On Linux, some fonts are not available and the JDK needs the fontconfig package to find a replacement for those fonts.

After installing the fontconfig package and restarting the gateway, the exception is gone. Of course the report looks terrible with the replacement fonts, but at least it can be generated.

---

_[View the full topic](https://forum.inductiveautomation.com/t/reporting-module-class-sun-font-compositefont-cannot-be-cast-to-class-sun-font-physicalfont/30208)._
