- update to 0.17.0:
* This release’s major feature is the addition of a new ASS ScriptInfo
header pair: LayoutResX and LayoutResY. The introduction has been
coordinated with active VSFilters and will soon be available in xy-
VSFilter and XySubFilter as well.
* Since the beginning, many features in ASS scale relative to or are
otherwise affected by the storage resolution of the video file the subs
are bundled with. Adjusting subs for different video resolutions
traditionally took non-trivial effort. Of course this behavior must be
kept by default to preserve compatibility with existing files. But now,
setting both of the new headers to a positive, non-zero value will
replace the video storage resolution with the specified resolution for
the whole file, allowing easy reuse across all encodes of the same
display aspect ratio. This includes PAR effects, so reuse across
anamorphic and non-anamorphic releases is possible too.
* Detailed Changes:
* Fix various parts relating to automatic linebreaking
* Fix rendering when hinting was enabled and fontsizes or scales are zero
* Switch build to a non-recursive setup for improved parallelism
* Improve quality of SSA Effects movement
* Further documentation improvements
* Completely invalid Events are now discarded during parsing
* Introduction of LayoutRes{X,Y} script headers
* New AlphaLevel style override to set all alpha values while keeping the
color
* Add ASS_FEATURE_WRAP_UNICODE to allow automatic linebreaks in accordance
with the Unicode line breaking algorithm instead of ASS' much stricter
breaking rules. For the feature to be available at runtime, libass must
be linked against the new optional dependency libunibreak.
* Improve VSFilter compatibility:
OBS-URL: https://build.opensuse.org/request/show/1041176
OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/libass?expand=0&rev=60
- Update to version 0.16.0:
+ Fix crashes with fonts missing Postscript names and without one
being synthesised by the font provider.
+ Fix crashes on negative fontsizes and some overflows.
+ Fix a rare memory leak introduced in 0.13.0.
+ x86: Fix potential buffer over-read by 16 bytes with AVX2
assembly when large tiles are not enabled (the default).
+ x86: Fix PIC flags not being interpreted by the assembler,
breaking the asm-enabled build setup on NetBSD and OpenBSD. On
32-bit x86, if the toolchain requires PIC objects and relies on
compiler defaults to get PIC implicitly, you need to pass
--with-pic to configure to ensure NASM always produces PIC
objects.
+ x86: Fix AVX support not being detected on non-Intel CPUs and
some VMs.
+ x86: Fix CPUID being used on CPUs not supporting the
instruction (<= i486) and the way it is used for CPUs with less
than 7 CPUID-leafs which could lead to crashes due to illegal
instructions.
OBS-URL: https://build.opensuse.org/request/show/977965
OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/libass?expand=0&rev=58
- Update to version 0.15.0
* Fix backwards/VSFilter-incompatible font sizes with FreeType
2.10+
* Improve speed via better caching
* Require HarfBuzz unconditionally to ensure good shaping for
complex scripts
* ass_set_use_margins(true) now simply places text on the whole
screen instead of attempting to tie it to video positioning
(set by the margin values) and failing in various ways when
margins are used to implement pan & scan in a video player
* Add ass_track_set_feature() & catch-all
ASS_FEATURE_INCOMPATIBLE_EXTENSIONS
* Add ASS_FEATURE_BIDI_BRACKETS to enable Unicode 6.3+ bracket
matching when applying the Unicode Bidirectional Algorithm
(incompatible with VSFilter; requires libass built with
FriBidi 1.0+)
* Fix stack overflow on deeply nested \t tags
* Fix positioning of events with leading line breaks
* Fix small but nonzero \bord becoming \bord0 (regression in
0.14.0)
* Measure BorderStyle=4 box padding from glyph border, not
from glyph fill
* Scale everything from script resolution if storage size is
not set (including borders and shadows regardless of
ScaledBorderAndShadow)
* Fix the default aspect ratio calculation when neither
ass_set_pixel_aspect() nor ass_set_aspect_ratio() is called
* Multiple fixes for karaoke override tags
* Handle memory allocation failures better:
avoid some crashes and produce images closer to truth
* Avoid some integer overflows
* Add internal infrastructure for regression testing
* Improve VSFilter compatibility:
+ Treat invalid nested \t tags like VSFilter
+ Make \t(T,T,...) at time exactly T use the post-transition
values
+ Make lines stack more like they do in VSFilter
+ Default ScaledBorderAndShadow to 0 (like VSFilter),
except for subtitles that were produced by old FFmpeg/Libav
+ Make shadow positioning with 3D transforms match VSFilter's
+ Cut out glyphs from border & shadow in all the same cases
as VSFilter
+ Match VSFilter on animated color tags with negative
acceleration
+ Fix parsing of some files that VSFilter accepts but libass
didn't by ignoring leading whitespace in each line of an
ASS file or CodecPrivate
+ Improve font selection with CoreText
+ Stop faux-bolding fonts that are too bold to get faux bold
in VSFilter
+ Ignore leading/trailing spaces when calculating height of
nonblank lines
+ Match VSFilter on \fade with large alpha value arguments
+ Stop splitting bitmaps on font substitution
+ Multiple fixes for Banner and Scroll effects
+ Multiple fixes for karaoke override tags
OBS-URL: https://build.opensuse.org/request/show/851536
OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/libass?expand=0&rev=53
- Update to version 0.14.0:
* Brand new, faster and better outline stroker (replaces FreeType
stroker)
* Remove option to use the FreeType rasterizer
* Fix spots of missing border around self-intersecting shapes
* Switch from Yasm to NASM for building hand-written assembler
code
* Clear font cache in ass_set_fonts(). This fixes potentially
incorrect font choices and an occasional crash if this function
is called midway through rendering a file.
OBS-URL: https://build.opensuse.org/request/show/547733
OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/libass?expand=0&rev=51
* Fix invalid memory accesses with BorderStyle=4
* Fix change detection bug on frame resizes
* Fix cache bugs with border size
* Reduce precision of border width in font outline caching
* Don't treat :;<=>? as hexadecimal digits in color headers
* Fix parsing of unusual Alignment values in ASS style definitions
* Fix potential truncation in timestamp parsing
* Treat negative PlayResX/PlayResY like VSFilter
* Fixes to parsing of embedded fonts
* Remove arbitrary bitmap limit (fixes issues with subtitle rendering at 4K)
* Allow using shadow offset to adjust size of background with BorderStyle=4
OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/libass?expand=0&rev=49
* Fuzzing fixes bnc#1002982 CVE-2016-7969 CVE-2016-7972
* Improve compatibility/portablility of build system, should fix e.g. compilation on Solaris.
* Fix memory leak in DirectWrite font provider.
* Fix the rasterizer when rendering some large outlines.
* Remove hack that forced RTL base direction depending on font encoding.
* Greatly improve the internal caches with refcounting and gradual clearing.
OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/libass?expand=0&rev=41
- Update to 0.13.2
* Add ass_set_check_readorder() API function to disable use of
the ReadOrder field for duplicate checking in
ass_process_chunk().
* ass_step_sub(track, now, 0) now finds the start of the subtitle
at now.
* Bug fixes:
+ Fix an issue with the new duplicate checking, which could
lead to missing subtitles after seeking.
+ Fix a crash with Core Text under specific circumstances.
OBS-URL: https://build.opensuse.org/request/show/361475
OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/libass?expand=0&rev=39
* Much faster duplicate event check in ass_process_chunk.
* Interpret negative timestamp components as actual negative numbers.
* Look up fonts that contain PostScript outlines by their PostScript
name instead of their full names. Family names continue to be used for all fonts.
* Keep spaces in font names
* Drop support for Fontconfig < 2.10.92 to ensure correct font matching
* Fix some small memory leaks, potential crashes and bad data uses
OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/libass?expand=0&rev=35
- Version bup to 0.10.2
* API additions and some ABI changes, bumped SONAME
* Expose header field for VSFilter color mangling (GC #87)
* Add functions for explicit scaling hints (GC #6)
* Add 'type' field to ASS_Image (GC #31)
* Workaround Freetype's font size grid-fitting where appropriate
* Apply blur to both glyph and border when using opaque box
* Parser bugfixes
* Parse angles in style as number
* Fix fallback event formats
* Make closing ')' optional for some tags
* Fix crazy VSFilter behaviour for \move (GC #90)
* Make \r fall back to line style (GC #104)
* Parse style name like VSFilter
* Ignore junk in nested \t tags
* Make \clip tag arguments mandatory
* Properly handle script and language in the HarfBuzz shaper
* Allow ASS_Track and ASS_Renderer to have different ASS_Library
* Fix stroking in some rare cases
* Correctly handle @font advance (GC #94)
* Fix ascent/descent for some fonts (GC #106)
* Fix ass_step_sub to not require sorted events
* Fix blur scaling
* Don't mutate input strings (GC #88)
* Remove/change some error messages
* Fix various small memory leaks
OBS-URL: https://build.opensuse.org/request/show/203680
OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/libass?expand=0&rev=22
* Fix letter spacing
* Add \rSTYLENAME syntax support (GC #43)
* Fix border generation and border style reset (GC #56)
* Fix various issues with bug-for-bug compatibility of
transformations (\fax, \fay, etc.) to VSFilter (GC #46, GC #42)
* Fix drawing parsing (GC #47)
* Various fixes to shaper (GC #54, GC #55, GC#59)
* Fix change detection
* Add ass_set_line_position API to set a vertical subtitle offset
* Fix scaling of drawing baseline offset (\pbo) values
* Fix skipping of zero-width characters for FriBiDi shaper
* Use LTR text base direction by default, similar to VSFilter
OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/libass?expand=0&rev=20
This is the best I can do. If 11.4 doesn't provide a new enough fribidi there is nothing I can do... It's not an optional feature. We need to test the latest libass in Factory even if it is not available in 11.4.
I suggest a "osc copypac -r <last revision that builds> multimedia:libs libass multimedia:libs libass-pre121" or linking the latest fribidi in multimedia:libs.
- Update to version 0.10.0
+ Bidirectional layout and Arabic shaping via FriBidi (GC #13)
+ Add API for shaper configuration
+ Add support for `Language' Script Info property, this can be
used for hinting the text language
+ Vertical layout improvements
* Use `vert' and `vkna' OpenType features for vertical glyph
variants
* Position rotated glyphs onto baseline
+ Parse font encoding property for base text direction hinting
+ Refactor cache system
+ Use generic outlines in place of FreeType glyphs
+ Direct outline bitmap rendering
+ Fix whitespace trimming (GC #35)
+ Do not render border if there's no shadow or glyph (GC #29)
+ Adjust spacing after a italic to non-italic style change (GC #37)
+ Fix fade timing
+ Fix x positioning with borders (GC #27)
- Use pkgconfig() BuildRequires
- Parameterize the soname number
OBS-URL: https://build.opensuse.org/request/show/89752
OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/libass?expand=0&rev=18