O'Reilly logo

Sams Teach Yourself SVG in 24 Hours by Micah Laaker

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Spacing

In the review of the terminology of typography at the beginning of this chapter, the differences between kerning and letter spacing were discussed. SVG offers control over both; however, specific control over kerning is more complex than the subject matter of this book permits. Hence, the more common and easy-to-apply alteration, spacing, will be covered in this book.

If you're truly a typographic fanatic, review the second exercise at the end of this chapter for a quick and dirty method of kerning between letter pairs. Or, if you'd like to learn more about SVG's defined method of kerning, read Chapter 20.7 of the W3C SVG Recommendation, “The hkern and vkern elements.”

As mentioned earlier, there are two types of spacing in SVG: letter ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required