xmlgraphics-batik-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Cameron McCormack <...@mcc.id.au>
Subject Re: disable text anti-aliasing
Date Thu, 06 Mar 2008 02:59:07 GMT
Hi Massimo.

massimo citterio:
> how can I disable antialiasing in text?
> I think I should use the  font-rendering attribute, but It doesn't work
> 
> It seems to be supported:
> http://xmlgraphics.apache.org/batik/status.html
> 
> I tried with all of:
> optimizeSpeed | optimizeLegibility | geometricPrecision
> 
> in the example:
> 	<text
>    font-rendering="geometricPrecision"
>    id="textHistory"
>    transform="matrix(1 0 0 1 39.9497 19.9729)"
>    fill="#FFFFFF"
>    font-family="'Modena-CondensedMedium'"
>    font-size="11.34">Some text here</text>

You’re on the right track, but the attribute is text-rendering="",
not font-rendering="".  ‘optimizeSpeed’ is the value you want.

Cameron

-- 
Cameron McCormack, http://mcc.id.au/
	xmpp:heycam@jabber.org  ▪  ICQ 26955922  ▪  MSN cam@mcc.id.au

---------------------------------------------------------------------
To unsubscribe, e-mail: batik-dev-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: batik-dev-help@xmlgraphics.apache.org


Mime
View raw message