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

 
 

bug #36460: setting of ghostscript TextAlphaBits and GraphicsAlphaBits

Submitter:  John Hunt <huntj>
Submitted:  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:  bpabbott
Originator Name:  Open/Closed:  * Closed
Release:  * dev Operating System:  * GNU/Linux
Fixed Release:  None Planned Release:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

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.

http://hg.savannah.gnu.org/hgweb/octave/rev/0d6dae0f6bc2


Ben Abbott <bpabbott>
Group Member
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:
   
   
Comment:
   

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)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only group 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.13-d3ae.
    Corresponding source code