Embedding font to getresource

Options
oldi
edited February 11, 2022 in Analytics #1
Currently I have a reference to a folder holding the fonts used by the pdf birt generator in the fontsConfig.xml file.
The server administrator has asked me to embed the fonts and use the getResourcesAsStream instead. Can anyone help me how I have to do that?

Comments

  • garyxue
    edited December 31, 1969 #2
    Options
    The fonts have to be file resources. What's your administrator's reason for requiring that they be deployed as resource streams? Perhaps I can suggest a solution if I understand the problem better.

    thanks

    Gary Xue
  • oldi
    edited December 31, 1969 #3
    Options
    There are several application hosted on the same server. As I understand the administrator, he wants that the fonts are included in the deploy package of my application so that e.g. when setting up a new server he does not have think to set-up special fonts seperately.