Open
Bug 1387692
Opened 7 years ago
Updated 2 years ago
Text in svg is not displayed correctly
Categories
(Core :: SVG, defect, P3)
Tracking
()
NEW
Tracking | Status | |
---|---|---|
firefox-esr52 | --- | wontfix |
firefox55 | --- | wontfix |
firefox56 | --- | fix-optional |
firefox57 | --- | wontfix |
People
(Reporter: piteo, Unassigned)
References
Details
(4 keywords)
Attachments
(2 files)
User Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:54.0) Gecko/20100101 Firefox/54.0
Build ID: 20170628075643
Steps to reproduce:
The bug can be reproduced by this svg-File
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<svg xmlns:svg="http://www.w3.org/2000/svg" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" id="geoView"
x="0" y="0" width="3840" height="1969" viewBox="0 0 55.8 29.5350" version="1.1" style="text-rendering:auto">
<g id="5814" prio="140" fill="rgb(0,0,0)" fill-opacity="1" fill-rule="evenodd" stroke="none" stroke-linejoin="round" stroke-linecap="round" stroke-width="1" stroke-miterlimit="3" font-family="Arial, sans-serif" font-weight="bold" font-size="0.3" transform="scale(10)" onclick="locateMe(evt)">
<g>
<a xlink:href="#xxx"><text id="257940" stel_id="257940" transform="rotate(0 .7401211 .3)" text-anchor="start" x=".74" y=".3" >RDUN : Durmersheim Nord</text></a>
</g>
</g>
</svg>
Actual results:
All letters of the text are displayed at the same location. Changing 29.5350 to 29.5351 repairs the display
Expected results:
The text should always be displayed correctly
Updated•7 years ago
|
Component: Untriaged → SVG
Product: Firefox → Core
Comment 1•7 years ago
|
||
Updated•7 years ago
|
Attachment #8894066 -
Attachment mime type: text/plain → image/svg+xml
Comment 2•7 years ago
|
||
seems fine on my mac
Comment 3•7 years ago
|
||
I can reproduce the issue on Windows and Linux MINT since Firefox25.
Regression window:
https://hg.mozilla.org/mozilla-central/pushloghtml?fromchange=cbb24a4a96af&tochange=d7553251cf43
Regressed by: 3a23afb038a5 Cameron McCormack — Bug 839955 - Enable new SVG text frames. r=roc
Indeed, Setting svg.text.css-frames.enabled = false fixes the problem on the bad build.
Blocks: 839955
Status: UNCONFIRMED → NEW
status-firefox55:
--- → wontfix
status-firefox56:
--- → affected
status-firefox57:
--- → affected
status-firefox-esr52:
--- → wontfix
Ever confirmed: true
Keywords: pp,
regression
OS: Unspecified → All
Whiteboard: [parity-Chrome][parity-Edge]
Version: 54 Branch → 25 Branch
Could you please help me: where do I set svg.text.css-frames.enabled = false? What is the bad build? Should I use an older firefox version to avoid the bug?
Thanks
Comment 5•7 years ago
|
||
(In reply to Pit from comment #4)
> Could you please help me: where do I set svg.text.css-frames.enabled =
> false?
The preferences has been removed. It is no longer available in recent Firefox.
> What is the bad build? Should I use an older firefox version to avoid
> the bug?
>
Because it's a too old version, It is vulnerable and should not be used.
Now I know why I searched without success!
Do you have another idea, how I can correctly display the svg-files that have this problem? They are not so simple as the testfile I submitted. Where is the limit up to which the text is displayed correctly? I found out this 29.5351 only by try and error.
Updated•7 years ago
|
Updated•7 years ago
|
Priority: -- → P3
Updated•7 years ago
|
status-firefox57:
--- → wontfix
Comment 7•7 years ago
|
||
Mass bug change to replace various 'parity' whiteboard flags with the new canonical keywords. (See bug 1443764 comment 13.)
Keywords: parity-chrome,
parity-edge
Whiteboard: [parity-Chrome][parity-Edge]
Updated•2 years ago
|
Severity: normal → S3
You need to log in
before you can comment on or make changes to this bug.
Description
•