: Is text in SVG selectable/copyable in browsers? More and more browsers support SVG. Is the text in SVG selectable / copy'able?
More and more browsers support SVG. Is the text in SVG selectable / copy'able?
More posts by @Cofer257
1 Comments
Sorted by latest first Latest Oldest Best
Yes
That's right, you can select and copy text right out of an SVG! The SVG does not store the text and letters as shapes, but by their "meaning". Given a good SVG viewer or SVG-capable browser, you can select and copy text as you would in a normal document. Note that this will not work with all SVGs: Since the exact font (the "looks") of a text is often important, and not everyonehas every font installed, some SVG artists convert the letters into shapes. This keeps their appearance, but loses the "meaning", so a viewer no longer knows what letters the shapes represent.
From the W3C
In many viewing scenarios, the user will be able to search for and select text strings and copy selected text strings to the system clipboard
Terms of Use Create Support ticket Your support tickets Stock Market News! © vmapp.org2024 All Rights reserved.