I have added a circle by using the HTML SVG tag in a VF page.

When i render that page as PDF, it's not showing that circle. Is there another way to add small circle but also to be visible when rendering as PDF?

I used image after trying this. I've put small image of that circle and text in front of that circle, but it's not aligning properly. I want to set that text center of the circle. How do i do that?


I've encountered many "translation errors" when rendering HTML as a PDF. I agree using an image is a great option. Check out the vertical-align CSS attribute (specifically vertical-align:middle)


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.