[cairo] [PATCH][xml-surface] wrong </path> indentation

Kouhei Sutou kou at cozmixng.org
Sat Sep 11 18:40:14 PDT 2010


Hi,

I found </path> has wrong indentation in xml-surface.

  move_to(15, 30)
  line_to(80, 100)
  stroke

generates

  <stroke>
    <operator>OVER</operator>
    <line-width>2</line-width>
    <miter-limit>10</miter-limit>
    <line-cap>LINE_CAP_BUTT</line-cap>
    <line-join>LINE_JOIN_MITER</line-join>
    <source-pattern>
      <solid>0 0 0 1</solid>
    </source-pattern>
    <path> 15 30 m 80 100 l  </path>  <tolerance>0.1</tolerance>
    <antialias>ANTIALIAS_DEFAULT</antialias>
  </stroke>

Thanks,
--
kou


More information about the cairo mailing list