Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add doc about advanced text features #105

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

joachimheintz
Copy link
Contributor

No description provided.

Copy link
Owner

@cduck cduck left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.)
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I would add that current browsers also do not support these attributes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants