Add doc about advanced text features#105
Open
joachimheintz wants to merge 3 commits intocduck:masterfrom
Open
Conversation
cduck
reviewed
Aug 4, 2023
Owner
cduck
left a comment
There was a problem hiding this comment.
These examples look great!
My preference here is to wait until drawsvg has built-in support for using Inkscape as a backend before adding examples to this reference page. Do you have a strong opinion on this?
| which is then rendered by inkscape. | ||
|
|
||
| #### White Space | ||
| White space is preserved with the `white__space='pre'` property. (See [W3C](https://www.w3.org/TR/css-text-3/#white-space-property) for all options.) |
Owner
There was a problem hiding this comment.
Typo: I think this should be white_space.
|
|
||
| The text properties which are described in this section are currently (drawsvg 2.2.0) | ||
| not provieded by the internal rendering. The solution for now is to export an svg file | ||
| which is then rendered by inkscape. |
Owner
There was a problem hiding this comment.
I would add that current browsers also do not support these attributes.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.