Aegisub/vsfilter/patchfiles/ugly-fades-fix2-incremental.patch
Niels Martin Hansen 65990cc0eb Update patch files as far as possible. Not everything is properly included.
csriapi.cpp is removed since the version a one dir up is the correct one, this one wasn't maintained.
These patch files were used as base for porting the patches to guliverkli2.

Originally committed to SVN as r2288.
2008-07-25 19:33:55 +00:00

15 lines
745 B
Diff

Index: C:/Users/jfs/Dev/Aegisub/vsfilter/subtitles/RTS.cpp
===================================================================
--- C:/Users/jfs/Dev/Aegisub/vsfilter/subtitles/RTS.cpp (revision 2284)
+++ C:/Users/jfs/Dev/Aegisub/vsfilter/subtitles/RTS.cpp (revision 2285)
@@ -703,7 +703,9 @@
if(w->m_style.borderStyle == 0)
{
- bbox |= w->Draw(spd, clipRect, pAlphaMask, x, y, sw, false, true);
+ // Always draw border part of widened region
+ // Draw fill part of widened region only if there isn't a chance the real fill is transculent
+ bbox |= w->Draw(spd, clipRect, pAlphaMask, x, y, sw, !(w->m_style.alpha[0]||w->m_style.alpha[1]||alpha), true);
}
else if(w->m_style.borderStyle == 1 && w->m_pOpaqueBox)
{