Open Riajyuu opened 6 years ago
This is known. I can't find a good svg2pdf library yet.
@xupefei
svg2dpf
excuse me? I failed to catch up. What I request here is simply to process SVGs as text file, just like opening them in text editor, when hitting the button
Oh sorry again. I misunderstood again. Now I think SVG files are already previewed as texts.
On Mon, 3 Sep 2018, 19:32 Paddy Xu, xupaddy@gmail.com wrote:
Sorry, it is a typo. Should be "svg2pdf".
What I mean is I can't find a good SVG renderer. Since SVG is a vector format, the best option would be to render it as a PDF, which is also a vector format and can easily be previewed.
On Mon, 3 Sep 2018, 19:13 爆発は芸術です, notifications@github.com wrote:
@xupefei https://github.com/xupefei
svg2dpf
excuse me? I failed to catch up. What I request here is simply to process SVGs as text file, just like opening them in text editor, when hitting the button
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/QL-Win/QuickLook/issues/336#issuecomment-418154529, or mute the thread https://github.com/notifications/unsubscribe-auth/ABnBJ78yZCIZwzGsBf4KSFDMzay_NYrcks5uXVVEgaJpZM4WX1o- .
pls allow me to clarify again: I'm requesting adding a button (perhaps) where I squared with red box: By clicking it, the preview becomes like this: Click it again and it goes back into image view.
Note that it would be great if you can accomplish syntax highlight like the screenshot in VSC.
But one thing confuses me: do you need any other extra library?
More brainstorming: Perhaps double click it, QuickLook will always preview as text first? (just like caps-look button on some Chinese IME on Android)
Thanks for the clarification. Now I understand what you mean.
This issue is related to https://github.com/QL-Win/QuickLook/issues/132. It will be a fraction of the next release.
I'm a bit confused. SVG image preview worked just fine in 0.3.5, is removed in 0.3.6 and now apparently added to the enhancement list. I originally installed QuickLook mainly for SVG preview, so I have now downgraded back to 0.3.5.
Personally I don't care much for SVG code preview, I've got my editor for that, but if there will be a toggle: ok. I don't really get why the (image) preview has been removed. Any idea when it will return?
Thanks, Ruud.
The reason is that we have switched to NConvert to provide faster image previewing since v0.3.6. NConvert, unfortunately, does not support SVG.
@xupefei
Seems NConvert support SVG.
https://www.xnview.com/en/nconvert/#formats
Try to convert svg file by using nconvert 7.20, failed...
I would rather the image preview be slow than not work at all.
Not the guy to necromancing, but a true svg preview is much needed and appreciated. At the moment it just shows... some pixel mess? :/
Since the year 2019 I have been busy with various things: first writing a paper, then drafting a thesis, and now working. I haven't got much time feeling good enough to sit down and implement a complex feature. I would really appreciate if someone can spare some time to implement this feature. The idea is:
Any updates on this yet?
I have had to downgrade to 0.3.5 to view SVGs
@princeeze SVG previews work fine in the current version. This ticket is about switching between source and image view.
Are you sure about that? I couldn't preview svg files. I had to downgrade for it to work.
I tested it and it works. Have you tried different SVGs?
Such a switch for all file types would be useful as well as turning off previews for file types like .url (Internet Shortcut).
While previewing SVGs, I expect a button to toggle between image view and plain text