flyingsaucerproject / flyingsaucer

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

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

Closed perNyfelt closed 2 months ago

perNyfelt commented 2 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 2 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.