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

Issue with text elements #38

Open
achimmihca opened this issue Nov 27, 2018 · 1 comment
Open

Issue with text elements #38

achimmihca opened this issue Nov 27, 2018 · 1 comment

Comments

@achimmihca
Copy link

I have a simple SVG created with Inkscape that contains some text.
Android Studio is not able to convert such SVGs to VD, because text is not supported. This tool however nearly did work. Only the text is not correctly aligned in the resulting image (in my SVG I have the text on a different layer. Maybe the layer itself is translated a litte).

It works well when converting the text to a path in Inkscape before running SVG2VD. So for now the workaround is to convert text in Inkscape to plain paths.

So possible fixes are:
(1) Convert text to plain paths as some pre-processing step.
(2) Correctly set the position of the text elements in VD format. Note that in SVG groups and layers can have offsets. Maybe this can be handled by first reducing all layers to only one and ungrouping of elements.

@a-student
Copy link
Owner

Thank you for the report and sorry for the late reply.
(1) The tool uses inkscape to preprocess text.
(2) Could you please provide SVG files with text for testing?

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

No branches or pull requests

2 participants