octave-bug-tracker
[Top][All Lists]
Advanced

[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

URL:
  <http://savannah.gnu.org/bugs/?36460>

                 Summary: setting of ghostscript TextAlphaBits and
GraphicsAlphaBits
                 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

    _______________________________________________________

Details:

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
interp.

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

<http://savannah.gnu.org/bugs/download.php?file_id=25852>

    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?36460>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

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