Menu

#23 Can't export a flipped ellipse

closed
nobody
None
2019-10-30
2018-05-02
clohr
No

Hi,
I'm facing a strange behavior:
1) draw an ellipse
2) perform a left-right flip
3) export it (format does not matter for the test)
This produces an error: Invalid ellipse object at line 10.
Any idea?

Best regards
Christophe

Discussion

  • tkl

    tkl - 2018-05-02

    Dear Christophe,
    that is unfortunately a regression, introduced with fig2dev 3.2.7. In the endeavour to harden the input, now obviously also valid fig-files are rejected.
    Are you able to downgrade to version 3.2.6a of fig2dev? Otherwise, the figures would have to be saved, and in all lines beginning with "1 [1-4]" the eleventh digit, which is a "0", should be replaced by "1", e.g.
    sed '/^1 [1-4]/ s/\(1 [1-4] \([0-9.-]\{1,\} \)\{8\}\)0/\11/' bad.fig >good.fig
    Version 3.2.7 introduced other regressions as well, therefore a version 3.2.7a will soon be released. It is good, that you reported this issue in time.

    Yours
    Thomas

     
  • clohr

    clohr - 2018-05-03

    Dear Thomas
    Many thanks for your workaround. This is ok for me while waiting for the new version.

    Best regards
    Christophe

     
  • tkl

    tkl - 2018-05-07

    This issue is resolved in version 3.2.7a. Could you confirm?
    Yours,
    Thomas

     
  • clohr

    clohr - 2018-05-09

    Yes, I confirm. Many thanks!

    Best regards
    Christophe

     
  • tkl

    tkl - 2018-05-09
    • status: open --> closed
     

Log in to post a comment.