Text fill and stroke does not align properly in canvas

UNCONFIRMED
Unassigned

Status

()

UNCONFIRMED
5 years ago
5 years ago

People

(Reporter: kenneth, Unassigned)

Tracking

25 Branch
x86
Windows XP
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(1 attachment)

(Reporter)

Description

5 years ago
Created attachment 796173 [details]
Canvas fill/stroke misalignment

User Agent: Mozilla/5.0 (Windows NT 5.1; rv:25.0) Gecko/20100101 Firefox/25.0 (Beta/Release)
Build ID: 20130826004002

Steps to reproduce:

- Define a large font size
- Fill and then stroke

Demonstration:
http://jsfiddle.net/AbdiasSoftware/mSsJp/


Actual results:

The stroke is misaligned compared to fill.


Expected results:

Stroke and fill should have been aligned as the the Path object is the same in both cases.

(It's not affected by baseline nor  lineWidth).
(Reporter)

Updated

5 years ago
Attachment #796173 - Attachment description: ffbug_mislaigned.jpg → Canvas fill/stroke misalignment

Updated

5 years ago
Component: Untriaged → Canvas: 2D
Product: Firefox → Core
You need to log in before you can comment on or make changes to this bug.