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

Text by path not working #642

Closed
FilippovAM opened this Issue Aug 2, 2017 · 6 comments

Comments

Projects
None yet
5 participants
@FilippovAM
Copy link

FilippovAM commented Aug 2, 2017

  1. open svg in the browser
    text-by-path-in-browser
    That was taken from the resource - https://developer.mozilla.org/ru/docs/Web/SVG/Element/textPath
  2. install ImageMagick, OS Windows 10
  3. run the command prompt as administrator
  4. magick -version
    im-version
  5. magick convert text-by-path.svg text-by-path.png
    im-convert
  6. file is saved
    save-png
  7. open text-by-path.png, but text disappeared :'(
    open-png

If i start ImageMagick Display and open text-by-path.svg then I will see the following:
im-display-open-svg

Just do it!! Please:) Thank you!

@mikayla-grace

This comment has been minimized.

Copy link

mikayla-grace commented Aug 2, 2017

You are likely using the ImageMagick internal SVG renderer which is still not fully SVG compliant. Your example worked for us. Try installing inkscape on your system or the RSVG delegate library. We use RSVG:

$ convert -list format | grep SVG
SVG  rw+   Scalable Vector Graphics (RSVG 2.40.18)
@dlemstra

This comment has been minimized.

Copy link
Member

dlemstra commented Aug 2, 2017

The Windows build uses librsvg. Will need to test if upgrading fixes this issue.

@RomanLubushkin

This comment has been minimized.

Copy link

RomanLubushkin commented Aug 15, 2017

Thank you for your suggestions, we have tried both, but the result is nearly the same.
librsvg - gives the absolutely same result
Inkscape - works correct for single line text, but fails in case of multi-line

Input SVG preview Output PDF preview
image image

Note the way top text is rendered.
Source files: input svg, output pdf

@loki20beta

This comment has been minimized.

Copy link

loki20beta commented Aug 21, 2017

Guys, any news on this? We are really interested in possible solutions or confirmation it is a bug.

@dlemstra

This comment has been minimized.

Copy link
Member

dlemstra commented Aug 21, 2017

I will upgrade librsvg to 2.40.18 tonight and check if that will resolve the issue.

@dlemstra

This comment has been minimized.

Copy link
Member

dlemstra commented Aug 22, 2017

Just did an upgrade of librsvg to 2.40.18 and it appears there is still no support for textPath in that version. An issue for librsvg can be found here: https://bugzilla.gnome.org/show_bug.cgi?id=644624.

@dlemstra dlemstra added the upstream label Nov 4, 2017

@dlemstra dlemstra closed this Nov 4, 2017

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