summaryrefslogtreecommitdiffstats
path: root/COPYING
diff options
context:
space:
mode:
authorGrigori Goronzy <greg@blackbox>2009-08-23 03:49:22 +0200
committerGrigori Goronzy <greg@blackbox>2009-08-23 04:31:25 +0200
commit0db2bfa543b90cbabac621a4d2f3362b9d746c11 (patch)
tree68fb79d180cca3062c717aa28404fd24af8039a7 /COPYING
parent2eae3a9907c211457e3ba8690fcd5ca54f77bcce (diff)
downloadlibass-0db2bfa543b90cbabac621a4d2f3362b9d746c11.tar.bz2
libass-0db2bfa543b90cbabac621a4d2f3362b9d746c11.tar.xz
Fix glyph overlap blending
Use the bitmap pointer for the cache hash key. This preserves the blending history, which fixes occasional corruptions due to previous replacements not being dealt with correctly. It also simplifies the hash key a lot and thus speeds up cache lookups. Additionally, change the blending equation from max(a, b) to min(a + b, 0xff), i.e. a saturating addition. Usually this looks a lot better.
Diffstat (limited to 'COPYING')
0 files changed, 0 insertions, 0 deletions