Difference between revisions of "FontKerning"

From Inkscape Wiki
Jump to navigation Jump to search
 
Line 1: Line 1:
i miss:
== Kerning pairs ==


from http://desktoppub.about.com/library/glossary/bldef-kerning.htm
from http://desktoppub.about.com/library/glossary/bldef-kerning.htm
Line 9: Line 9:
http://desktoppub.about.com/library/graphics/a-kerning.gif
http://desktoppub.about.com/library/graphics/a-kerning.gif


Also Known As: letterspacing | character spacing
== Letterspacing ==
:No, letterspacing usually applies to the uniform spacing between all characters in the string, not specific pairs. We need both letterspacing and kerning pairs. When we link up with Pango, we'll get the kerning pairs stored in the font, but manual kerning of pairs as well as letterspacing adjustments will still need to be implemented in the text tool. --bb
 
Letterspacing refers to the uniform spacing between all characters in the string, not specific pairs. We need both letterspacing and kerning pairs. When we link up with Pango, we'll get the kerning pairs stored in the font, but manual kerning of pairs as well as letterspacing adjustments will still need to be implemented in the text tool.
 
I want the write_transform method of SPText to have three modes, selectable (via top panel) for each object:
 
* Mode 0 (same as now): add transform=, do not touch anything inside the object
 
* Mode 1 (default): vertical scaling is propagated into a font size change, non-uniform horizontal scaling adds transform=
 
* Mode 2: vertical scaling is propagated into a font size change, non-uniform horizontal scaling is propagarted to letterspacing (i.e. "aa" scaled horizontally becomes "a a" but the aspect of letters is not changed), no transform= ever

Revision as of 20:31, 3 February 2004

Kerning pairs

from http://desktoppub.about.com/library/glossary/bldef-kerning.htm

Definition: Kerning is the adjustment of space between pairs of letters to make them more visually appealing. It is normally applied to individual letter pairs in headlines or other large type.

Examples: The default spacing between some characters leaves gaps that can be adjusted by kerning the two letters to achieve a more visually balanced appearance. Decreasing space is negative kerning. Some commonly kerned pairs include Wa, To, and Ya. Sometimes kerning involves increasing the space between characters or positive kerning to keep them from running together, such as the l's in "Godzilla."

http://desktoppub.about.com/library/graphics/a-kerning.gif

Letterspacing

Letterspacing refers to the uniform spacing between all characters in the string, not specific pairs. We need both letterspacing and kerning pairs. When we link up with Pango, we'll get the kerning pairs stored in the font, but manual kerning of pairs as well as letterspacing adjustments will still need to be implemented in the text tool.

I want the write_transform method of SPText to have three modes, selectable (via top panel) for each object:

  • Mode 0 (same as now): add transform=, do not touch anything inside the object
  • Mode 1 (default): vertical scaling is propagated into a font size change, non-uniform horizontal scaling adds transform=
  • Mode 2: vertical scaling is propagated into a font size change, non-uniform horizontal scaling is propagarted to letterspacing (i.e. "aa" scaled horizontally becomes "a a" but the aspect of letters is not changed), no transform= ever