Opened 15 years ago

Last modified 15 years ago

#1489 assigned defect

\t(\fs) drawing issue

Reported by: petrkr@… Owned by: eugeni.stepanov@…
Priority: normal Component: libass
Version: unspecified Severity: normal
Keywords: Cc:
Blocked By: Blocking:
Reproduced by developer: no Analyzed by developer: no

Description

Looks like libass drawing "zoom" effect like if you changing font size from 10 to 14 only in 4 steps? it looks "jumply", in vsfilter that going by pixel

take a look at...

LibASS implementation (SVN r28823)
http://petrkr.net/a/zoom-libass.avi

VS Filter
http://petrkr.net/a/zoom-vsfiltr.avi

ASS Line
{\fs54\t(\fs64)}TESTING ZOOM

is problem on my side or on rendering side?

Change History (2)

comment:1 by eugeni.stepanov@…, 15 years ago

Status: newassigned

I also see this problem.

It happens because FreeType grid-fits font metrics, making sure that, for instance, face height is always some number of full pixels. If I scale it the exact amount, text will look blurry, especially for small font sizes.

I'm not sure what the right solution should be. Maybe it's a good idea to display static text grid-fitted, and switch to blurry text for animations.

comment:2 by petrkr@…, 15 years ago

Or maybe I'll use font x/y scale that's better

LibASS
http://petrkr.net/a/zoom-libass-fscale.avi

VSFiler
http://petrkr.net/a/zoom-vsfilter-fscale.avi

ASS Line
{\fs50\t(\fscy120\fscx120)}TESTING ZOOM

Note: See TracTickets for help on using tickets.