Clément Contamine
10/06/2025, 5:10 PMjava.lang.IllegalStateException: No suitable font found.kapa.ai
10/06/2025, 5:11 PMjava.lang.IllegalStateException: No suitable font found. during PDF export of a dashboard is most likely related to a font configuration issue in your GoodData environment. Based on the knowledge sources, here are the most relevant points and troubleshooting steps: 1. Font Configuration in Themes: If you have recently changed or customized the theme, especially the typography section, ensure that the font names are correct and that both regular and bold variants are defined. For local fonts, the correct format is "font": "local(Times New Roman)" (note the correct spelling and case). For external fonts, use the absolute URL and ensure both font and fontBold are specified. Missing or incorrectly specified fonts can cause export failures, as the PDF generator requires a valid font to render the document [[Theme Settings Reference – Fonts](https://www.gooddata.com/docs/cloud/customize-appearance/create-custom-themes/theme-settings-reference/#defining-fonts)]. 2. Content Security Policy (CSP): If you are using a custom font hosted externally, make sure the font’s domain is included in your CSP settings. Only fonts from <https://fonts.gstatic.com/> are allowed by default. If your font is hosted elsewhere, update your CSP accordingly, or the browser (and the export service) may not be able to load the font, resulting in errors [[Theme Settings Reference – Fonts](https://www.gooddata.com/docs/cloud/customize-appearance/create-custom-themes/theme-settings-reference/#fonts)]. 3. Recent Theme Changes: There are community reports where a typo in the font name (e.g., "Time New Roman" instead of "Times New Roman") caused the dashboard to fall back to the default font or fail to apply the custom font. Double-check your theme configuration for such issues [[Slack Thread: Font Not Applied](https://gooddataconnect.slack.com/archives/C04S1MSLEAW/p1731264607508809?thread_ts=1731264607.508809&cid=C04S1MSLEAW)]. 4. PDF Export Font Support: The PDF export engine may have limitations on which fonts are supported or embedded. If you are using a custom font, try reverting to a standard font (like Arial or Times New Roman) to see if the export succeeds. Recommended Actions: - Review your theme’s typography section for correct font names and ensure both font and fontBold are set. - If using an external font, verify the CSP settings include the font’s domain. - Test exporting with a standard font to isolate if the issue is with the custom font. - If the issue persists after these checks, contact GoodData support with your theme configuration and CSP settings for further assistance. If you need more specific guidance, please share your current theme configuration (especially the typography section) and any recent changes you made. Let me know if you need help reviewing your theme JSON or CSP settings!Joseph Heun
10/07/2025, 7:26 AMfont and fontBold are set and that the font files are accessible.
• Check your CSP settings to ensure any external font domains are allowed.
• If possible, revert to the default theme or font and test the export again.
• If you are exporting a table, remember that the font is not customizable and should default to DejaVu-Sans.Joseph Heun
10/07/2025, 7:26 AMClément Contamine
10/07/2025, 11:56 AMJoseph Heun
10/07/2025, 11:59 AMJoseph Heun
10/07/2025, 12:15 PMClément Contamine
10/07/2025, 12:57 PMClément Contamine
10/07/2025, 12:58 PMJoseph Heun
10/07/2025, 1:51 PMClément Contamine
10/07/2025, 1:56 PMClément Contamine
10/07/2025, 1:58 PMClément Contamine
10/07/2025, 1:58 PMJoseph Heun
10/07/2025, 1:58 PMJan Kos
10/14/2025, 4:43 PM