arch1t3cht / Aegisub

Cross-platform advanced subtitle editor, with new feature branches. Read the README on the feature branch.
http://www.aegisub.org
Other
738 stars 32 forks source link

Support for setting LayoutResX/Y properties #69

Open ToshY opened 1 year ago

ToshY commented 1 year ago

Problem

In libass 0.17.0 new headers were introduced LayoutResX and LayoutResY: https://github.com/libass/libass/releases/tag/0.17.0.

The corresponding PR https://github.com/libass/libass/pull/641 denotes the issues currently facing and which it solves, e.g. resampling with tags \frx, \fry, \frz, etc.

Solution

Add support for setting LayoutResX/Y and use it when loading in new file / resample resolution dialog.

arch1t3cht commented 1 year ago

I've been planning to add this, but as of now the libass linked on Windows hasn't been rebased to 0.17.0 yet, so it doesn't make too much sense to add this feature inside of Aegisub yet. Once libass is rebased, I'll figure something out. For the time being, these headers can be added with automation scripts.