Jump to content
Search Community

Recommended Posts

Posted

Hi, 

 

I'm trying to make a custom marquee effect. The letter should follow a custom path I can define with an SVG element. I got it working pretty decently. However the letter kerning is messed up.

 

Since it probably equally spaces every letter when splitting and dividing them alongside the path. It does not take into account the kerning of the font. Atleast thats what I think.

 

I tried using textPath right in the SVG, however that does not respect text-anchor="middle" and places the text above the line. So i got to a dead-end there. Any tips/suggestions are very welcome!!! ❤️

image.thumb.png.6f9ce9bcffd6f5cf8b06f342ee4dd2af.png

See the Pen NPqqQxY by hobiew (@hobiew) on CodePen.

Posted

Hi,

 

Maybe this thread can help:

Also is worth noticing that this is far easier with the text inside the SVG element as shown in these demos by @PointC

See the Pen VwjJaqw by PointC (@PointC) on CodePen.

See the Pen Vwaajwy by PointC (@PointC) on CodePen.

 

Finally check this threads as well:

 

Hopefully this helps

Happy Tweening!

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...