View Single Post
Old 13th December 2017, 04:18   #204  |  Link
Blitzker
Registered User
 
Join Date: Nov 2011
Posts: 61
Quote:
Originally Posted by ilko View Post
hmm, I was interested into testing its potential but aegisub doesn't detect its presence like vsfiltermod or xy-vsfilter.

It might be a good alternative for fansubbers (I do typesetting / edition).
Quote:
Originally Posted by sneaker_ger View Post
Well, Aegisub already does offer libass rendering...
Quote:
Originally Posted by ilko View Post
of course, and the latest libass that it's based on is the v0.13.1. Since then, there have been improvements and fixes.

Just for example, vsfiltermod crashes when vector shapes have coordinate values in floating point (after re-sampling the resolution).
Libass support in aegisub is unfortunately built-in so to keep it up to date, you have to build the entire aegisub project.

But i took a look at the csri interface and it was simple enough so i included it in assfiltermod. Now you can just copy assfiltermod.dll in the csri folder of aegisub and you can select it just like vsfilter.

Here is a build that i tested on Aegisub 3.2.2 and all seems fine.
I added a new entry in the registry "CSRIFontsDir" that you can fill with a path(full folder path) to fonts files you want to auto-load.

x32: http://www.mediafire.com/file/73h86i...sri_v2_x32.zip
x64: http://www.mediafire.com/file/3pb5ae...sri_v2_x64.zip

It seems stable but will need some testing!

Have fun!

EDIT:
Code:
- Fixed a rendering glitch with csri (shadow box around subtitles on a dark background)
- Added support for font ligatures with the registry key "DisableFontLigatures" (0 = Enabled, 1 = Disabled)
- Added Avisynth support:
 - Works only on RGB32
 - Filter name is "AssRender(file, fonts, scale, lig, mask)
 - file(string) = .ass file (Required)
 - fonts(string) = fonts folder to auto-load (Default: "")
 - scale(double) = subtitles scaling (Default: 1.0)
 - lig(bool) = font ligatures (Default: false)
 - mask(bool) = when true, render on a black background (Default: false)
__________________
Latest dev builds of AssFilterMod can be found here: https://www.mediafire.com/folder/w1w...s/AssFilterMod

Last edited by Blitzker; 16th December 2017 at 05:26. Reason: csri v2
Blitzker is offline   Reply With Quote