Posted by
Herbie on
Oct 25, 2016; 11:00am
URL: http://imagej.273.s1.nabble.com/Controlling-font-aliasing-for-overlays-tp5017471p5017473.html
Good day Stein,
what about:
"setFont(name, size[, style])
Sets the font used by the drawString function. The first argument is the
font name. It should be "SansSerif", "Serif" or "Monospaced". The second
is the point size. The optional third argument is a string containing
"bold" or "italic", or both.
The third argument can also contain the keyword "antialiased". For
examples, run the TextDemo macro."
Perhaps not perfectly what you want...
HTH
Herbie
:::::::::::::::::::::::::::::::
Am 25.10.16 um 12:47 schrieb Stein Rørvik:
> I need to control whether or not the font drawing gets antialiased
> for image overlays created by a macro and then flattened. This seems
> to be controlled by the settings defined under Options - Fonts, but I
> can't find any way to change this from a macro. The macro recorder
> records nothing if I do changes here. I also cannot find anything
> about this in the macro functions documentation. Does anyone know a
> workaround?
>
> Stein
>
> -- ImageJ mailing list:
http://imagej.nih.gov/ij/list.html>
--
ImageJ mailing list:
http://imagej.nih.gov/ij/list.html