]> granicus.if.org Git - libass/commit
Scale rotation constants with font scale
authorGrigori Goronzy <greg@blackbox>
Tue, 30 Jun 2009 22:49:28 +0000 (00:49 +0200)
committerGrigori Goronzy <greg@blackbox>
Tue, 30 Jun 2009 23:22:48 +0000 (01:22 +0200)
commit49042cf5c3bac06c900a267a81bbbc4eb6f6b560
tree7ad32da3aa75458b534eb261c8db359c3d20c655
parente035b236cf3ddf49880fc6f60555ea89bb8744e6
Scale rotation constants with font scale

Rotations use a "magic" constant of, by default, 20000.  This number
is more or less taken from VSFilter; I'm not even really sure what is
(viewing distance, maybe), but scaling it according to font_scale
solves problems with distortions of rotations in case the rendering
resolution differs from the video resolution.
libass/ass_render.c