Closed
Bug 322976
Opened 19 years ago
Closed 17 years ago
Won't render a single-point path as a dot
Categories
(Core :: SVG, defect)
Tracking
()
RESOLVED
WORKSFORME
People
(Reporter: mikhail.zabaluev, Unassigned)
Details
(Keywords: testcase)
Attachments
(1 file)
(deleted),
image/svg+xml
|
Details |
User-Agent: Mozilla/5.0 (X11; U; Linux i686; ru; rv:1.8) Gecko/20051231 Firefox/1.5
Build Identifier:
The SVG 1.1 specification says (http://www.w3.org/TR/SVG11/painting.html#StrokeProperties):
"A subpath consisting of a single moveto is not stroked. A subpath consisting of a moveto and lineto to the same exact location or a subpath consisting of a moveto and a closepath will be stroked only if the 'stroke-linecap' property is set to "round", producing a circle centered at the given point."
This is not what the GDI+ backend renders given such a path, which is nothing, no matter what the 'stroke-linecap' property is set to. I also observe this bug with a Linux build.
Reproducible: Always
Steps to Reproduce:
Reporter | ||
Comment 1•19 years ago
|
||
Reporter | ||
Comment 2•19 years ago
|
||
Sorry. To be honest, I observed this first on Windows 2000, and now on Linux.
OS: Windows XP → Windows 2000
Comment 3•19 years ago
|
||
Confirming for current trunk build (cairo) on FreeBSD 6.0.
After looking at this for awhile, it appears that this behavior would be best added to the cairo codebase in cairo-path-stroke.c. Please see the cairo mailing list cairo@cairographics.org. A diff file containing changes that could be made to cairo-path-stroke.c was included as an attachment along with a query for adding this behavior to cairo to this mailing list.
Comment 5•17 years ago
|
||
I don't know exactly when this got fixed, but the testcase
displays okay on recent trunk builds. --> marking as fixed
Status: NEW → RESOLVED
Closed: 17 years ago
Resolution: --- → FIXED
Updated•15 years ago
|
Flags: in-testsuite+
You need to log in
before you can comment on or make changes to this bug.
Description
•