flyingsaucerproject / flyingsaucer

XML/XHTML and CSS 2.1 renderer in pure Java
Other
2.02k stars 565 forks source link

Add a test for the embedding of fonts declared in the css #318

Closed perNyfelt closed 6 months ago

perNyfelt commented 7 months ago

Add a test that verifies that the -fs-pdf-font-embed: embed; indeed results in an embedded font in the PDF.

asolntsev commented 6 months ago

Thank you @perNyfelt for the test! I think we could also add this example to documentation

NB! When I run your test, it works even without -fs-pdf-font-embed: embed; line in css.