-
Notifications
You must be signed in to change notification settings - Fork 68
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
kerning lost #66
Comments
I'm noticing this too. Are we doing something wrong? |
Kerning should be maintained, but may need to be set again if its not playing nice <h2 id="get-started" class="words chars splitting" style="--word-total: 3; --char-total: 11" data-scroll="in">
<span class="word" data-word="Get" style="--word-index: 1">
<span class="char" data-char="G" style="--char-index: 1">G</span>
<span class="char" data-char="e" style="--char-index: 2">e</span>
<span class="char" data-char="t" style="--char-index: 3">t</span>
</span>
<span class="whitespace"></span>
<span class="word" data-word="Started" style="--word-index: 2">
<span class="char" data-char="S" style="--char-index: 4">S</span>
<span class="char" data-char="t" style="--char-index: 5">t</span>
<span class="char" data-char="a" style="--char-index: 6">a</span>
<span class="char" data-char="r" style="--char-index: 7">r</span>
<span class="char" data-char="t" style="--char-index: 8">t</span>
<span class="char" data-char="e" style="--char-index: 9">e</span>
<span class="char" data-char="d" style="--char-index: 10">d</span>
</span>
</h2> above taken from the Splitting docs site. Adjusting the #get-started {
letter-spacing: 4px;
} |
Adjusting letter spacing didn’t work. The kerning issue is visible in all demos on CodePen, or anywhere, if you use the more problematic letter pairings. This issue is also observable in GreenSocks SplitText. I guess there’s no way around this other than just use a |
Yes, I cannot emphasize how much of a dealbreaker this is! |
Hi, I noticed that kerning is lost when the words are split into characters. is there any way to address that?
Thank you!
The text was updated successfully, but these errors were encountered: