Giter Site home page Giter Site logo

Comments (3)

CruiserOne avatar CruiserOne commented on June 16, 2024

Assuming you've compiled in X11 Window graphics (which Mageia Linux should be running) do this command instead (i.e. append ":Xbb" to the command line): astrolog -Xi -Xn -XG :Xbb

The new 24 bit bitmaps introduced in version 7.20 can't be drawn within an X11 window, which is still limited to the 16 color palette of previous versions. That limitation is known and not a bug, however what is a bug is that Astrolog shouldn't crash if you try, and should fall back to the old format automatically. The -XG switch will by default attempt to draw a detailed globe, so we need to turn that detail off. Change line 166 in your astrolog.as default settings file from ":Xbw" to ":Xbb", and detailed bitmaps will be off by default, and "astrolog -Xi -Xn -XG" by itself should work.

You can at least create detailed bitmap files on all systems. For example you can get an image like http://www.astrolog.org/astrolog/screen/astgraf2.png with the command line: astrolog -n -XG -Xo file.bmp

from astrolog.

katnatek avatar katnatek commented on June 16, 2024

Assuming you've compiled in X11 Window graphics (which Mageia Linux should be running) do this command instead (i.e. append ":Xbb" to the command line): astrolog -Xi -Xn -XG :Xbb

That works, thank you

The new 24 bit bitmaps introduced in version 7.20 can't be drawn within an X11 window, which is still limited to the 16 color palette of previous versions. That limitation is known and not a bug, however what is a bug is that Astrolog shouldn't crash if you try, and should fall back to the old format automatically. The -XG switch will by default attempt to draw a detailed globe, so we need to turn that detail off. Change line 166 in your astrolog.as default settings file from ":Xbw" to ":Xbb", and detailed bitmaps will be off by default, and "astrolog -Xi -Xn -XG" by itself should work.

I will try to integrate that on the package so the users don't have to do ;)

I will comment as soon as i make the test with new package

from astrolog.

katnatek avatar katnatek commented on June 16, 2024

Ok changing line 166 of astrolog.as at build time make once installed the package the command "astrolog -Xi -Xn -XG" run without issues.

I hope other things also.

from astrolog.

Related Issues (17)

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.