Font problems
Fallback and embedded fonts. Troubleshooting in the DocStudio designer user guide.
Symptom
Text appears in a different font than expected, or letters are missing in the PDF.
Likely causes
- The font family is not installed or not registered with the PDF service.
- The family name has a typo.
- Arabic or Urdu text needs a font that contains those letters.
Diagnose
- Check fontFamily in the Style group.
- Compare the preview with the PDF.
Solution
- Register the font with the PDF service (the host provides a font registry).
- Use a family that the host registered.
- For Arabic and Urdu use a font such as Noto Naskh or similar that covers the script.
Limitation
The browser preview can only show fonts installed on your computer.
The PDF header and footer use the same font families as the body. If a family is not registered with the PDF service, Chromium falls back to its own default and the header and footer can look different from the body. Register every family the template uses.
When no font is registered, text uses the family named in the style, then Arial, Helvetica and the browser sans-serif default, so the body, header and footer fall back to the same family. A registered font is still recommended for consistent results across machines, and it is required for Arabic and Urdu.