-
Notifications
You must be signed in to change notification settings - Fork 367
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
Adds basic text parsing #94
base: master
Are you sure you want to change the base?
Conversation
Tabs replaced by spaces, formatting garbled. Tabs are annoying ) |
@lieff editor was set spaces, removed! Thanks! |
Good work, If it could parse the |
@jamislike can you merge the work in year 2017 with the current head maser? It looks like some code and structure are changed from the years. Thanks. |
2022-04-05.zip |
In the patch file, I have add a comment:
I'm not sure what does the |
I got a
When I try to parse a text field in svg file like below:
The svg file is generated by inkscape software. It looks like the "x" and "y" coordinates is missing from the shape, are there any way to record them? |
I debugged this code for a while, and I see that in this function:
The |
I have see a pull request here: With the commits in the pull request, it has to handle the
So, the x,y coordinates of the text elements were stored in the |
FYI: I create a very simple project which uses wxWidgets to draw the text, see here: asmwarrior/SvgPanel: a wxPanel which can show svg image and simple text labels |
Began work on basic text parsing, would you consider adding an improved version of this to NanoSVG..