New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
\ko fails to remove outline from shadow #733
Comments
Thanks! I believe this affects any use of This is because we process karaoke very late, after the shadow has been generated. But
Oh, that’s clever! For any confused readers: this completely hides the fill and outline by setting their alpha to Personally, I’ve been positioning the line off-screen and applying a big shadow to bring it back on screen, which achieves exact coordinates while avoiding any traces of the fill/outline: e. g. |
By the way, |
Curiously, although |
Screenshots
Libass:
VSFilter:
Description of the issue
The above screenshots are taken at time 0 with the provided file. On VSFilter (specifically pinterf's VSFilter 3.2.0.809 via arch1t3cht/Aegisub), the shadow is not offset by the border size, while on libass it is. After 0.5 seconds (the duration given in the
\ko
tag), VSFilter and libass match.libass version
For convenience the screenshot was taken on
meson, commit: 0.14.0-680-g4625653c4c857abdbe92cd03d2dbdfdaed29f933
via arch1t3cht/Aegisub on Windows (note that the0.14.0
in the version string is just because TypesettingTools/libass is missing the newer version tags), but I also reproduced this on the latest git version (via libass-git on the AUR).Is it a regression?
Not that I know of.
ASS Sample
Special Fonts
The issue doesn't depend on a specific font
System Information
See above
Log
No response
Additional info
This was discovered when trying out a new version of the "shad trick" (i.e. using the shadow of an event with
\bordXX\shad0.01\1a&HFE&\3a&HFF&
to get a single bitmap of a thickened version of the event) that didn't need to draw the fill using\bordXX\shad0.01\1a&HFF&\2a&HFF&\3a&HFF&\ko
. Since\ko
is equivalent to\ko100
, this would render differently on VSFilter. Of course this can be fixed by writing\ko0
instead, but nonetheless this led to discovering this rendering differential.The text was updated successfully, but these errors were encountered: