]> git.imager.perl.org - imager.git/commit
make sure T1lib anti-aliasing is properly setup for non AA text
authorTony Cook <tony@develop-help.com>
Fri, 19 Jul 2013 13:30:26 +0000 (23:30 +1000)
committerTony Cook <tony@develop-help.com>
Fri, 19 Jul 2013 13:30:26 +0000 (23:30 +1000)
commit0d052fd9e115cc7f0cc3c2b2ef2bfaa093a63cd3
treed33e9dab4e3decf4baf1e8bb9c812c4b22f0a0eb
parent6ba09ab9038542bd2e0107910e5cdd0285c000cc
make sure T1lib anti-aliasing is properly setup for non AA text

Previously t1_aa was initialized to 0, the same as the non-AA setting,
which meant if the first text drawn was non-AA that T1 anti-aliasing
hadn't been configured.

Initialize it to -1, an invalid anti-aliasing setting so that an initial
AA setting of "none" will properly initialize.
Changes
T1/Changes
T1/T1.pm
T1/imt1.c