]> granicus.if.org Git - libass/commit
font: ignore bearing for strikes
authorGrigori Goronzy <greg@chown.ath.cx>
Tue, 15 Sep 2015 01:00:05 +0000 (03:00 +0200)
committerGrigori Goronzy <greg@chown.ath.cx>
Wed, 16 Sep 2015 09:28:12 +0000 (11:28 +0200)
commit45ae478d2dd4576a09b0680e0b8b220a9c30330e
tree7e7f34cd7addd0ae95df42448506420018d969a5
parentb4c3e218f52a041340631e2d3e686ea8d9cc4da3
font: ignore bearing for strikes

This is more robust and simpler. The bearing calculations initially
were bugged, but getting rid of them completely seems better. It is
consistent with other text renderers as well. To simplify things, also
move striking before the additional scale is applied and get rid of the
half-pixel overlapping thing; it is not needed with additive blending.

Fixes #193.
libass/ass_font.c