vue-pdf-embed
vue-pdf-embed copied to clipboard
supported svg
Thank you for producing such fascinating code, and I was thinking it would be great if this component supported svg
Hi @baixjian,
Thanks for your feedback! What do you mean by SVG support?
I'm sorry for not being clear enough. What I mean is whether the rendering mode of pdf can support canvas and svg
Ah ok, got it now. I would consider this, but could you provide details on when it might be useful?
Thank you for your reply. For example, in some mobile scenes, pdf needs to be scaled by hand. If it is canvas, the enlarged content will be a little fuzzy, but if it is rendered in svg mode, it will be very clear, which is my point.
Ah ok, got it now. I would consider this, but could you provide details on when it might be useful?
Do you have a plan to support svg rendering mode, or do you think svg mode is necessary?Looking forward to your reply。
Hi @baixjian,
I opened a PR introducing the SVG render mode (#162). However, I highly doubt it, since this renderer has many issues, and many sources do not recommend it at all. Could you please check if it does its job for you?
PS: If it's just about clarity when scaling, it can be adjusted using custom width
, height
, and scale
props
Hi @baixjian,
I opened a PR introducing the SVG render mode (#162). However, I highly doubt it, since this renderer has many issues, and many sources do not recommend it at all. Could you please check if it does its job for you?
PS: If it's just about clarity when scaling, it can be adjusted using custom
width
,height
, andscale
props
Thank you for your reply, I will read your code carefully
See https://github.com/hrynko/vue-pdf-embed/pull/162#issuecomment-2141443268