TEXT stroke bug

Bug #178825 reported by Alexander Bonivento
2
Affects Status Importance Assigned to Milestone
Inkscape
Confirmed
High
Unassigned

Bug Description

System:

Inkscape 0.45+devel
Cairo 1.4.12
librsvg2 2.16.1

The SVG source i tested with:

<svg width="24in" height="24in" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg" xml:space="preserve" shape-rendering="geometricPrecision" text-rendering="geometricPrecision" image-rendering="optimizeQuality" fill-rule="evenodd" clip-rule="evenodd" xmlns:xlink="http://www.w3.org/1999/xlink">
<rect x="0" y="0" width="24" height="24" style="fill: none;" />
<g transform="translate(12,12)">
<text id="text_8_1_check_s" transform="translate(0,0)" style=" text-anchor:start; font-size: 1; font-family: 'Times New Roman'; font-style: italic; font-weight: bold; fill: #FA002C; fill-opacity: 1; stroke: #000000; stroke-opacity: 1; stroke-width: 0.083333333333333;">SCHOOL BOARD</text>
<text id="text_8_1_check" transform="translate(0,0)" style=" text-anchor:start; font-size: 1; font-family: 'Times New Roman'; font-style: italic; font-weight: bold; fill: #FA002C; fill-opacity: 1;">SCHOOL BOARD</text>
</g>
</svg>

The export command i used:
inkscape -z svgsource.svg --export-pdf=test.pdf --export-text-to-path

The bug:
There are broken points in the outlines of the exported PDF (for example, look the top-left corner of the "B" letter).
It may be the new rederer of pdf based on Cairo?

Revision history for this message
bbyak (buliabyak) wrote :

Please try with latest cairo 1.5, it has many changes in pdf backend

Revision history for this message
Alexander Bonivento (redna379) wrote :

No luck: i tested with the very latest cairo-1.5.4, issue is still there.
You can check the attached PDF, created starting from the abovementioned SVG source.

It seems to an inkscape issue: i tested an SVG => PDF conversion using Carl Worth's svg2pdf utility, and it created the PDF with correct outline (not broken).
If i'm not wrong, that utility uses cairo and librsvg, so i definitively think cairo is "not guilty".

Is there some other test you want me to try?

Bryce Harrington (bryce)
Changed in inkscape:
importance: Undecided → Medium
status: New → Confirmed
Revision history for this message
theAdib (theadib) wrote :

this is an Inkscape internal renderer bug.
If Inkscape convert text to path then begin and end points are not joined.
The same behaviour will happen when you apply a filter to text element.
Adib.

tags: added: render text
summary: - PDF export stroke bug
+ TEXT stroke bug
Changed in inkscape:
milestone: none → 0.47
Revision history for this message
theAdib (theadib) wrote :

I higher importance as text is a very basic SVG shape. Adib.

Changed in inkscape:
importance: Medium → High
su_v (suv-lp)
tags: added: exporting
su_v (suv-lp)
tags: added: renderer
removed: render
Revision history for this message
su_v (suv-lp) wrote :

I can't reproduce this with Inkscape 0.47pre4 and Inkscape 0.46+devel r22544 on OS X 10.5.8 (cairo 1.8.8)

The outline of stroked text is rendered closed (without broken points) in the exported PDF file.
(Note: currently the rendering of stroked text on-canvas in Inkscape is broken in 0.47pre builds - see bug #445790, but this (and the included patch by Johan) doesn't affect the EPS export)

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.