[Top][All Lists]

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

Re: Fltk toolkit: how to force *non*-anti-aliased operation

From: Pantxo
Subject: Re: Fltk toolkit: how to force *non*-anti-aliased operation
Date: Wed, 14 Feb 2018 13:47:03 -0700 (MST)

Rose Merry wrote
> Hello! 
> Octave version 4.0.3 (Debian Stretch; sorry, didn't check latest version). 
> I do not want modern and beautiful anti-aliasing (AA). How to force all
> fltk graphics to be non-anti-aliased? 
> For gnuplot everything is already non-anti-aliased, out of the box. Font
> name and size can be changed using:
> set(0,'defaultaxesfontname','terminus'); 
> set(0,'defaultaxesfontsize',12); 
> set(0,'defaulttextfontname','terminus'); 
> set(0,'defaulttextfontsize',12); 
> plot(1:N); 
> title(['wfevew']); 
> But when I do it in fltk, I get garbage (tried several sizes, that do work
> for gnuplot): 
> Also, the blue plot line is AA-ed. 
> Thanks.
> -----------------------------------------
> Join us March 12-15 at CERN near Geneva
> Switzerland for OctConf 2018.  More info:
> -----------------------------------------


Your example works for me in Octave 4.2, glyphs are rendered correctly. Is
"terminus" the only problematic font ?

In Octave 4.2+ the figure property "graphicssmoothing" controls wether
anti-aliasing is applied when rendering lines and polygons. As for text, it
is currently not possible, the text/axes property "textsmoothing" that
should control AA is not implemented.


Sent from:

reply via email to

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