SVG: wrong position of a text of framed boxes

Bug #181806 reported by arno_b on 2008-01-10
2
Affects Status Importance Assigned to Milestone
LaTeXDraw
Low
Unassigned

Bug Description

When a rotated text has several framed boxes, the SVG document is ok but the imported text is not at the right place.

<svg xmlns="http://www.w3.org/2000/svg"
    xmlns:latexdraw="http://latexdraw.sourceforge.net/namespaces/latexdraw"
    version="1.1" baseProfile="full">
     <g>
        <g latexdraw:type="text" id="4" font-family="Times New Roman"
            fill="black" font-size="18" latexdraw:x="278.2916666666667" transform="rotate(27.771030581066952) translate(53.276618697920355 -171.0324216433486)">
            <g>
                <g latexdraw:type="rectangle" id="0"
                    latexdraw:length="3"
                    latexdraw:frameSep="5.291666666666667" latexdraw:boxSep="true">
                    <rect x="233.0" y="171.50520833333334"
                        width="51.58333333333337"
                        height="39.333333333333314"
                        latexdraw:borderPos="outer" stroke-width="2.0"
                        stroke="black" fill="#33ff33"/>
                </g>
                <text x="237.29166666666669" y="197.296875"><![CDATA[a]]></text>
            </g>
            <g>
                <g latexdraw:type="rectangle" id="1"
                    latexdraw:length="1" latexdraw:frameSep="9.0" latexdraw:boxSep="true">
                    <rect x="246.29166666666669" y="176.796875"
                        width="25.0" height="28.75"
                        latexdraw:borderPos="outer" stroke-width="2.0"
                        stroke="black" fill="white"/>
                </g>
                <text x="254.29166666666669" y="197.296875"><![CDATA[b]]></text>
            </g>
            <g>
                <text x="272.2916666666667" y="197.296875"><![CDATA[z]]></text>
            </g>
            <g>
                <text x="285.58333333333337" y="197.296875"><![CDATA[c]]></text>
            </g>
            <g>
                <g latexdraw:type="rectangle" id="2"
                    latexdraw:length="4" latexdraw:frameSep="16.0" latexdraw:boxSep="true">
                    <rect x="294.58333333333337" y="158.0" width="90.0"
                        height="70.546875" latexdraw:borderPos="outer"
                        stroke-width="2.0" stroke="black" fill="#ff3333"/>
                </g>
                <text x="309.58333333333337" y="197.296875"><![CDATA[d ]]></text>
            </g>
            <g>
                <g latexdraw:type="rectangle" id="3"
                    latexdraw:length="1" latexdraw:frameSep="16.0" latexdraw:boxSep="true">
                    <rect x="324.58333333333337" y="174.0" width="38.0"
                        height="38.546875" latexdraw:borderPos="outer"
                        stroke-width="2.0" stroke="black" fill="#ff3333"/>
                </g>
                <text x="339.58333333333337" y="197.296875"><![CDATA[e]]></text>
            </g>
            <g>
                <text x="363.58333333333337" y="197.296875"><![CDATA[f]]></text>
            </g>
            <g>
                <text x="385.58333333333337" y="197.296875"><![CDATA[ghi]]></text>
            </g>
        </g>
        <g latexdraw:type="line" id="24">
            <line x1="360.0" x2="525.0" y1="135.0" y2="135.0"
                stroke-width="2.0" stroke="black" latexdraw:rotationAngle="0.0"/>
        </g>
        <g latexdraw:type="line" id="25">
            <line x1="270.0" x2="360.0" y1="270.0" y2="270.0"
                stroke-width="2.0" stroke="black" latexdraw:rotationAngle="0.0"/>
        </g>
        <g latexdraw:type="rectangle" id="26" transform="rotate(32.6805547433634) translate(37.48679250486617 -112.13889489204698)">
            <rect x="106.0" y="76.0" width="133.0" height="88.0"
                latexdraw:borderPos="outer" stroke-width="2.0"
                stroke="black" fill="none"/>
        </g>
    </g>
</svg>

arno_b (arno.b) on 2008-01-10
Changed in latexdraw:
milestone: none → beta2
status: New → Confirmed
arno_b (arno.b) on 2008-02-17
Changed in latexdraw:
milestone: beta2 → beta3
arno_b (arno.b) on 2008-05-29
Changed in latexdraw:
milestone: beta3 → 2.0.0
importance: Undecided → Low
arno_b (arno.b) on 2008-06-15
Changed in latexdraw:
milestone: 2.0.0 → 2.0.1
arno_b (arno.b) on 2008-07-27
Changed in latexdraw:
status: Confirmed → Invalid
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers