Forum Feature requests


Any plans to support text-shadow in the future?

I actually need a text-outline, but have seen a few text-shadow hacks to do this :)

It's on the roadmap, but it's tough to support with standard PDF drawing operations; I think it requires rendering the text to a bitmap first, which can increase file size and lose resolution-independence. In fact, drawing a text outline may be slightly easier, perhaps using SVG, if you're trying to make a logo or something.
Thanks Mike. I think I will render it as SVG. I have a price in white on top of a background image, that is dark - but not always. Therefore I need to outline the price. SVG can do this with the "stroke" and "stroke-width" property.
This would be awesome.