Coder Social home page Coder Social logo

Comments (8)

charlesstaats avatar charlesstaats commented on July 1, 2024

Are you using version 9.16 (or later) of Ghostscript? If not, updating Ghostscript will probably solve the problem.

from asymptote.

jsonn avatar jsonn commented on July 1, 2024

We are defaulting to the last version of Ghostscript under GPL for the obviouos license complications the AGPL creates. As such, the default is 9.06 and updating is not considered a valid solution.

from asymptote.

charlesstaats avatar charlesstaats commented on July 1, 2024

To the best of my knowledge, only Asymptote versions <= 2.31 are compatible with Ghostscript 9.06. The current version of Asymptote actually tests for Ghostscript version >= 9.14, although the test does not seem to be reliable.

from asymptote.

johncbowman avatar johncbowman commented on July 1, 2024

Can you enlighten us as to the not-so-obvious license reasons why upgrading Ghostscript is "not consider a valid solution" and who decided that? As Charles suggests, you could always downgrade both Ghostscript and Asymptote, but then you will not have the latest bug fixes and features in either software.

Adding the additional bounds check you suggest just ignores the problem, rather than fixing it. Many features, including 3D font support and others, will not work. We could make asy call gs --version and include the old driver support for obsolete versions of gs, but I don't yet see a convincing reason to justify the coding effort and future maintanence hassles.

from asymptote.

johncbowman avatar johncbowman commented on July 1, 2024

According to http://www.ghostscript.com/download/gsdnld.html
the latest GPL release is gs-9.18. Version 9.14 has been around since Mar 2014.
I'm inclined to do nothing as the problem you report will eventually go away once everyone has got around to upgrading.

from asymptote.

jsonn avatar jsonn commented on July 1, 2024

Please note that they are exclusively talking about the AGPL on that page. The last GPL version is 9.06. The AGPL is a no-go in many commercial settings as it now extends all the GPLv3 restrictions even to internal applications and as usual, the boundary between what is legally a derived work and what the FSF believes it to be is quite unclear.

That said, the reason why I was originally looking at the update is that the older 2.15 version doesn't build either:

../base/graph.asy: 1153.15: Q8.4          
runtime: Cannot read label width

Full build log at http://ftp.netbsd.org/pub/pkgsrc/misc/joerg/20150827.1854/asymptote-2.15nb9/build.log

from asymptote.

johncbowman avatar johncbowman commented on July 1, 2024

Ok, I addressed this request with 3cf0adc
which at least allows one to build a version of asy for out-of-date systems
by specifying make CFLAGS=-DEPSWRITE

from asymptote.

johncbowman avatar johncbowman commented on July 1, 2024

In ab000e7
you simply need to set the environment variable ASYMPTOTE_EPSDRIVER to epswrite.

from asymptote.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.