Closed Bug 522863 Opened 15 years ago Closed 13 years ago

Provide a way to set kerning and letter spacing

Categories

(Core :: Graphics: Canvas2D, enhancement)

enhancement
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 549861

People

(Reporter: tthomps, Unassigned)

Details

User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.9.1.3) Gecko/20090824 Firefox/3.5.3 Build Identifier: The HTML5 canvas specification allows text output to be controlled to an extent, using the textBaseline, textAlign, and font properties, but it does not provide a way to set the kerning and letter spacing of text. These are used commonly enough in text layout that I think adding new properties to support them is a good idea, even though it is not yet required by the standard. Reproducible: Always
OS: Windows Vista → All
Hardware: x86 → All
I think a good example is this: http://srufaculty.sru.edu/david.dailey/svg/newstuff/text6.svg tested with: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:2.0b8pre) Gecko/20101008 Firefox/4.0b8pre
QA Contact: canvas.2d → jdaggett
New properties in CSS3 Fonts will provide support for this (font-kerning property) and support for this is enabled via the patches on bug 549861. So I'm going to mark this as a duplicate of that bug.
Status: UNCONFIRMED → RESOLVED
Closed: 13 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.