[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Octave-bug-tracker] [bug #36460] setting of ghostscript TextAlphaBits a

From: John Hunt
Subject: [Octave-bug-tracker] [bug #36460] setting of ghostscript TextAlphaBits and GraphicsAlphaBits
Date: Sun, 13 May 2012 13:19:34 +0000
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:11.0) Gecko/20100101 Firefox/11.0


                 Summary: setting of ghostscript TextAlphaBits and
                 Project: GNU Octave
            Submitted by: huntj
            Submitted on: Sun 13 May 2012 01:19:34 PM GMT
                Category: Plotting
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: Feature Request
                  Status: None
             Assigned to: None
         Originator Name: 
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
                 Release: 3.6.1
        Operating System: GNU/Linux



The patch attached allows to set the TextAlphaBits and GraphicsAlphaBits
options sent to ghostscript for bitmap output
(tested with png).

This allows to workaround an antialiasing bug in ghostscript (9.05), which
makes thin white lines appear in surface plots (pcolor or surf) with shading

The solution is then to disable antialiasing for graphics :

print --GraphicsAlphaBits=1 try.png

Text antialiasing can also be turned off :

print --TextAlphaBits=1 --GraphicsAlphaBits=1 try.png

The default are --GraphicsAlphaBits=4 and --TextAlphaBits=4

Could it be included in octave ? should it be documented ?


File Attachments:

Date: Sun 13 May 2012 01:19:34 PM GMT  Name: antialiasing.patch  Size: 2kB  
By: huntj



Reply to this item at:


  Message sent via/by Savannah

reply via email to

[Prev in Thread] Current Thread [Next in Thread]