[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [ft-devel] Peter Wiegel's auto spacing idea
From: |
James Cloos |
Subject: |
Re: [ft-devel] Peter Wiegel's auto spacing idea |
Date: |
Thu, 14 Jun 2012 17:56:46 -0400 |
User-agent: |
Gnus/5.130006 (Ma Gnus v0.6) Emacs/24.1.50 (gnu/linux) |
That is an interesting idea.
And probably easier to implement than the only other automatic kerning
idea I've seen mentioned¹.
1] Compute the arithmetic mean and the 4th order moment of the glyph,
then compute a circle centered at the glyph's mean with radius equal
to the 4th moment. Adjust advance widths and kerning to make glyphs'
circles tangent when set, w/o adding too many kerning pairs.
I tried to implement it once, but couldn't get a good sence of how
to compute the 4th order moments of the splines. (Except that the
moments of the closed curve and the moments of the enclosed space
nicely happened to be the same.)
-JimC
--
James Cloos <address@hidden> OpenPGP: 1024D/ED7DAEA6