Closed
Bug 864467
Opened 12 years ago
Closed 12 years ago
X coordinate of getBBox on text node is negative
Categories
(Core :: SVG, defect)
Tracking
()
RESOLVED
INVALID
People
(Reporter: michael.g.miller, Unassigned)
Details
Attachments
(1 file)
|
329 bytes,
text/html
|
Details |
User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_8_2) AppleWebKit/536.26.17 (KHTML, like Gecko) Version/6.0.2 Safari/536.26.17
Steps to reproduce:
Loaded the file in FF.
Actual results:
-1 was printed.
Expected results:
0 should have been printed, since the text should begin at x=0. This is the behavior of chrome.
Updated•12 years ago
|
Attachment #740426 -
Attachment mime type: text/plain → text/html
Comment 1•12 years ago
|
||
I get 0 on Linux. Mozilla/5.0 (X11; Linux x86_64; rv:23.0) Gecko/20130422 Firefox/23.0
Component: Untriaged → SVG
Product: Firefox → Core
Comment 2•12 years ago
|
||
I guess for this letter and this font and font-size some pixels of the glyph exist to the left its alignment-point. This can be so sometimes, and that's why you should use getBBox rather than assuming it will be 0.
Status: UNCONFIRMED → RESOLVED
Closed: 12 years ago
Resolution: --- → INVALID
You need to log in
before you can comment on or make changes to this bug.
Description
•