<html>
  <head>
    <meta content="text/html; charset=windows-1252"
      http-equiv="Content-Type">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    I finally located the issue by looking at the generated svg.<br>
    The problem lies in the locale settings of the linux installation.<br>
    When I use LC_NUMERIC=en_US.utf8 the generated svg looks<br>
    correct. I don't know wether this is an issue that can be fixed<br>
    in VTK or needs to be fixed in libgl2ps.<br>
    <br>
    All other image formats are affected as well. Should<br>
    I create a Bugreport for this? Thanks for all the help by the<br>
    way.<br>
    <br>
    - Stefan<br>
    <br>
    <br>
    <br>
    <div class="moz-cite-prefix">Am 13.07.2015 um 15:16 schrieb David
      Lonie:<br>
    </div>
    <blockquote
cite="mid:CA+=e1ouCBGJ9nhwNweCdAmFi0j-TD16OSmHF8DWxDvnT208tqg@mail.gmail.com"
      type="cite">
      <div dir="ltr">This is very odd. I'm using an up-to-date arch
        linux with VTK built from the current development branch. I just
        tested with today's code and it's still working here. I also
        tried the vtk 6.1.0-8 package from pacman and that works with
        your script, too.
        <div><br>
        </div>
        <div>I'm not really sure what could be happening in your tests.
          Do the other vector graphics formats (ps, eps, pdf) work?</div>
      </div>
      <div class="gmail_extra"><br>
        <div class="gmail_quote">On Sun, Jul 12, 2015 at 4:51 AM, Stefan
          Lau <span dir="ltr"><<a moz-do-not-send="true"
              href="mailto:github@stefanlau.com" target="_blank">github@stefanlau.com</a>></span>
          wrote:<br>
          <blockquote class="gmail_quote" style="margin:0 0 0
            .8ex;border-left:1px #ccc solid;padding-left:1ex">
            <div text="#000000" bgcolor="#FFFFFF"> Allright, I tried
              with current development version, the issue is still
              there.<br>
              <br>
              I also finally tried a different machine (with<br>
              different drivers and distro) and the issue is still
              there, so it should not<br>
              only be an issue on my machine.<br>
              <br>
              One thing I noticed though: When trying it on a live
              Ubuntu, I had it<br>
              working once ;-). After installing it on hdd, it was in
              the broken<br>
              state again.<br>
              <br>
              What is your setup in terms of package versions etc.? I
              want<br>
              be able to get it to a working state, since I need the
              svgs for my<br>
              masters thesis.<span class="HOEnZb"><font color="#888888"><br>
                  <br>
                  - Stefan</font></span>
              <div>
                <div class="h5"><br>
                  <br>
                  <div>Am 10.07.2015 um 18:01 schrieb David Lonie:<br>
                  </div>
                  <blockquote type="cite">
                    <div dir="ltr">
                      <div class="gmail_extra">
                        <div class="gmail_quote">On Fri, Jul 10, 2015 at
                          11:46 AM, Stefan Lau <span dir="ltr"><<a
                              moz-do-not-send="true"
                              href="mailto:github@stefanlau.com"
                              target="_blank"><a class="moz-txt-link-abbreviated" href="mailto:github@stefanlau.com">github@stefanlau.com</a></a>></span>
                          wrote:<br>
                          <blockquote class="gmail_quote"
                            style="margin:0px 0px 0px
0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
                            <div text="#000000" bgcolor="#FFFFFF">
                              Allright after a short holiday, I had
                              another few hours to debug the issue. But
                              no success.<br>
                              <br>
                              Some other stuff that I tried (but now I'm
                              out of ideas):<br>
                              * Installing everything inside a
                              VirtualBox running Ubuntu 14.04 (using the
                              Ubuntu-provided<br>
                                vtk packages, which are broken btw: <a
                                moz-do-not-send="true"
                                href="https://bugs.launchpad.net/ubuntu/+source/vtk6/+bug/1354127"
                                target="_blank"><a class="moz-txt-link-freetext" href="https://bugs.launchpad.net/ubuntu/+source/vtk6/+bug/1354127">https://bugs.launchpad.net/ubuntu/+source/vtk6/+bug/1354127</a></a>)<br>
                              * Using VTK 6.2 (building my own version
                              of VTK)<br>
                              * Using OpenGL software rendering (I
                              thought that maybe it's a driver issue of
                              the intel drivers)<br>
                              <br>
                              All yield the same corrupted result: The
                              image that I sent in the last email.<br>
                              I haven't tried running it on a completely
                              different machine, since I have none
                              available ATM.<br>
                              Any ideas on how I could proceed?</div>
                          </blockquote>
                          <div><br>
                          </div>
                          <div>I'd try building the current development
                            version and see if it persists. See the
                            'clone' section of <a moz-do-not-send="true"
href="https://gitlab.kitware.com/vtk/vtk/blob/master/Documentation/dev/git/download.md"
                              target="_blank">https://gitlab.kitware.com/vtk/vtk/blob/master/Documentation/dev/git/download.md</a>
                            for the information on how to get the
                            sources. After downloading, the build
                            process should be the same as 6.2.</div>
                          <div><br>
                          </div>
                          <div>Dave</div>
                        </div>
                      </div>
                    </div>
                  </blockquote>
                  <br>
                </div>
              </div>
            </div>
          </blockquote>
        </div>
        <br>
      </div>
    </blockquote>
    <br>
  </body>
</html>