bugGNU Octave - Bugs: bug #36460, setting of ghostscript...


bug #36460: setting of ghostscript TextAlphaBits and GraphicsAlphaBits

Submitted by:  John Hunt <huntj>
Submitted on:  Sun 13 May 2012 01:19:34 PM UTC  
Category:  Plotting Severity:  3 - Normal
Priority:  5 - Normal Item Group:  Feature Request
Status:  Fixed Assigned to:  Ben Abbott <bpabbott>
Originator Name:  Open/Closed:  Closed
Release:  dev Operating System:  GNU/Linux

Add a New Comment (Rich Markup)

You are not logged in

Please log in, so followups can be emailed to you.


Sat 16 Jun 2012 01:18:04 AM UTC, comment #1: 

I made some changes to John's patch, and pushed a changeset in his name.


Ben Abbott <bpabbott>
Project MemberIn charge of this item.
Sun 13 May 2012 01:19:34 PM UTC, original submission:  

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 ?

John Hunt <huntj>


(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:

Attached Files
file #25852:  antialiasing.patch added by huntj (2KiB - text/x-patch)


Depends on the following items: None found

Items that depend on this one: None found


Carbon-Copy List
  • -email is unavailable- added by rik5 (Updated the item)
  • -email is unavailable- added by bpabbott (Updated the item)
  • -email is unavailable- added by huntj (Submitted the item)

    Do you think this task is very important?
    If so, you can add your encouragement to it.
    This task has 0 encouragements so far.

    Only project members can vote.




    Follow 7 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2012-06-29 rik5 StatusReady For Test => Fixed
        Open/ClosedOpen => Closed
    2012-06-16 bpabbott StatusIn Progress => Ready For Test
    2012-06-15 bpabbott StatusNone => In Progress
        Assigned toNone => bpabbott
        Release3.6.1 => dev
    2012-05-13 huntj Attached File- => Added antialiasing.patch, #25852

    Back to the top

    Powered by Savane 3.5