gpc / rendering

Provides rendering of GSPs as PDFs, JPEGs, GIFs and PNGs
http://gpc.github.com/rendering
Apache License 2.0
31 stars 45 forks source link

please add font-family support #8

Open PatrickHuetter opened 11 years ago

PatrickHuetter commented 11 years ago

I want to use font-family verdana for the text in my rendered pdf but the plugin doesn't recognize the css with font-family and the rendered pdf is with default font-family and serif.

It would be also fine if you would update the itext version.

demon101 commented 10 years ago

@font-face { font-family: 'Tahoma'; src: url(file:${System.env.HOME}/fonts/tahoma.ttf); -fs-pdf-font-embed: embed; -fs-pdf-font-encoding: Identity-H; }