Discussions
Categories
Groups
Community Home
Categories
INTERNAL ENABLEMENT
POPULAR
PUBLIC CLOUD
PRIVATE CLOUD
Quick Links
MY LINKS
HELPFUL TIPS
Back to website
Home
Intelligence (Analytics)
PDF with embedded font styles
p.K
<p>Hi,<br>
I would like to generate PDF with embedded font. I modified fontsConfig.xml and fontsConfig_pdf.xml in Birt Runtime.<br><br>
I added paths to fontsConfig.xml:</p>
<pre class="_prettyXprint">
<font-paths>
<path path="/usr/share/fonts/truetype/dejavu/DejaVuSerif.ttf" />
<path path="/usr/share/fonts/truetype/dejavu/DejaVuSerif-Bold.ttf" />
<path path="/usr/share/fonts/truetype/dejavu/DejaVuSerif-Italic.ttf" />
...
</font-paths>
</pre>
<p>
And mapping and encoding to fontsConfig_pdf.xml:</p>
<pre class="_prettyXprint">
<font-aliases>
<mapping name="serif" font-family="DejaVuSerif" />
<mapping name="serif" font-style="italic" font-family="DejaVuSerif-Italic" />
<mapping name="serif" font-style="bold" font-family="DejaVuSerif-Bold" />
</font-aliases>
<font-encodings>
<encoding font-family="DejaVuSerif" encoding="Identity-H" />
...
</font-encodings></pre>
<p>
DejaVu Serif Bold is only embedded font in generated PDF. How can I achieve that PDF will contain all required font styles?<br>
Thank you.</p>
Find more posts tagged with
Comments
There are no comments yet