I am creating a Rich Text Format (RTF) document using a very old version of iText. I have to use Arial & Rockwell fonts, when I use and test these fonts within local server environment it works fine. But after deployment to Dev or Prod server environments, these font changes are not picking.
I tried to use font using following methods, but none is working.
- Reference local windows font using absolute path (C:\windows\fonts\arial.ttf).
- Copied the font in resource folder(Where other resource like images resides) and embed them to use in document creation.
Please help me out as this problem is driving me crazy.