Up to [cvs.NetBSD.org] / pkgsrc / multimedia / libass
Request diff between arbitrary revisions
Keyword substitution: kv
Default branch: MAIN
libass: updated to 0.17.3 libass (0.17.3) * Fix 0.17.2 regression in the fontconfig fontprovider leading to undesirable widths being chosen from large typographic families * Fix configure generated with slibtool-provided autoconf macros * Fix "make check" for shared-only builds * Constify some API parameters in a backwards-compatible manner * Add new ass_malloc and ass_free API functions * Tweak default optimization flags * Speed up parsing of events with very long override blocks * Improve handling of HarfBuzz-related failures
libass: update to 0.17.2. libass (0.17.2) * Fix rendering of \h in certain cases * Fix a minor memory leak in the CoreText and DirectWrite font provider * Fix wrong ASS_Image dimensions for huge BorderStyle=4 backgrounds potentially leading to out of bound reads by API users * Improve quality of animated rectangular clips * Improve accuracy of cache limits * Full-Unicode cmaps are now always preferred * Improve font selection compatibility in the DirectWrite font provider * Improved documentation * Color mangling notes in ass_types.h were updated for tone mapping and HDR video * Guidelines for producing portable ASS files can now be found in our wiki * Updating selective overrides now forces a cache clear to avoid issues with outdated caches * Frame and storage resolutions are now limited to what a single ASS_Image can represent * make check now runs checkasm if assembly is enabled * CoreText can now be used on Mac OS X 10.5 * Meson/muon is now offered as a secondary build system bringing back first-party MSVC support Note however it is not at feature parity with autotools in all cases * aarch64: add optimized assembly routines covering the same set as on x86; they work on both little and big endian systems * x86: add SSSE3 versions of some assembly routines to help CPUs without AVX2 * x86: it is now possible to build binaries with optimized assembly and SHSTK support * Improve VSFilter compatibility: * Trailing spaces are no longer trimmed from style and event string fields (this does not affect Text) * All BiDi paragraph separators now delimit BiDi runs * Fix treatment of font weights < 10 * Match GDI's faux italic slant * Employ faux italics and faux bolding in the same cases as GDI * Better match font selection with regard to italic and weight * Treat empty Style name as "Default" * Various drawing fixes * Reject drawings not starting with a valid m command or invalid m followed by valid n * Drop coordinates following invalid commands rather than appending them to the prior command * Ignore p commands without enough preceding nodes * Partially fix s and p commands used outside of a properly closed b-spline sequence
libass: updated to 0.17.1 libass (0.17.1) * Fix buffer overread if soft-wrapping occurred and ASS_FEATURE_WHOLE_TEXT_LAYOUT was enabled via API or due to Encoding -1 (bug introduced in 0.16.0) * x86: detect GNU Hurd and configure NASM appropriately
libass: updated to 0.17.0 libass (0.17.0) * 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: * Fix premature truncation of animated alphas (was a 0.15.0 regression) * Fix handling of small delay parameters for legacy SSA Effects * Fix x-scaling with PlayResX * Fix x-scaling for anamorphic video (except for \be whose scaling remains buggy in general) * Support SSA's AlphaLevel style field * Support the \kt override tag from VSFilter's v4++ set * Parse ScriptType headers * Parse integer header, style and event field values like VSFilter * Ignore trailing whitespace in an event's text
libass: updated to 0.16.0 libass (0.16.0) * Fix missing `-framework` options in libass.pc on macOS * Fix missing GDI or DirectWrite options in libass.pc on Win32 * 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 * Fix minimum dependency versions in configure and our pc-file * Fix our public headers for use with GCC versions between 3.1.0 and 4.5.0 (was a regression introduced in 0.15.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 * MS Windows-only issue: Fix crashes with FreeType >= 2.11.1 on Win32 when rendering strikethrough or underline * Improve `\iclip` quality * Improve quality of very small outlines * Switch to wyhash for much better cache performance * Propagate ZWJ/ZWNJ effects across glyph run boundaries * Do not depend on compiler-specific defines to actually use built assembly * Expand documentation and fix mistakes in it * configure now errors out if an explicitly requested feature is unavailable * MS Windows-only issue: ease linking against static/shared GNU FriBidi * Add ASS_FEATURE_WHOLE_TEXT_LAYOUT to apply bidi, shaping and \fay to the entire unsplit event text. The non-portable `Encoding=-1` mode always behaves as if the feature were enabled * MS Windows-only issue: add support for arbitrary Unicode paths; see documentation of related functions for details * Improve VSFilter compatibility * Do not treat format lines using `Actor` in place of `Name` as custom format lines. The former is used by VSFilter itself, the latter by Aegisub * Run bidi and shaping on each glyph run separately by default * Match VSFilter's \fsp effects on bidi and shaping * Match VSFilter's \fay behaviour * Support non-Unicode font cmaps when Win32 API or iconv is available and can convert to the relevant encoding * Treat empty clip outlines as if everything was outside the clip not inside (was a 0.14.0 regression) * Parse integer parameters of override tags more like VSFilter
multimedia: Replace RMD160 checksums with BLAKE2s checksums All checksums have been double-checked against existing RMD160 and SHA512 hashes The following distfiles could not be fetched (for legal reasons?): ./multimedia/adobe-flash-player/distinfo adobe-flash-player-32.0.0.465/flash_player_npapi_linux.i386.tar.gz ./multimedia/adobe-flash-player/distinfo adobe-flash-player-32.0.0.465/flash_player_npapi_linux.x86_64.tar.gz ./multimedia/libdvdcss/distinfo libdvdcss-1.4.3.tar.bz2
multimedia: Remove SHA1 hashes for distfiles
libass: updated to 0.15.2 Release 0.15.2 This is a bug fix release without API or ABI changes, mainly to fix more known 0.15.0 and 0.15.1 regressions. But as a bonus, it is now possible to build the DirectWrite system font provider for Microsoft’s Universal Windows Platform (UWP). Two known minor 0.15.x DirectWrite system font regressions remain: when a font is attached/memory-loaded but a different (non-attached) style of the same font is used by the subtitles (only the attached style[s] will be used; this also affects Core Text since 0.13.0 but not Fontconfig); in the unlikely case that the full name of a system font equals the family name of another system font (only the family name matches will be found). Also please note that our IRC channel #libass has moved from freenode.net to Libera.Chat, and all presence on freenode.net has been fully retired. Changes: Fix some known 0.15.x regressions: Fix Core Text font fallback failing on some fonts with multiple names Fix DirectWrite failing to look up any but the first loaded variant of system fonts Fix some format string bugs, which could lead to garbled log messages or on some platforms crashes Fix ass_set_fonts_dir failing to load long paths Better handling of control characters that have no associated font glyphs DirectWrite: font lookup is now closer to VSFilter DirectWrite: this font provider can now be built for UWP
libass: updated to 0.15.1 Release 0.15.1 This is purely a bug fix and polish release, with no significant API or ABI changes. The only API change is that ass_add_font is now declared to accept const char *. Previously it took only char *, but const has worked in practice since the very first standalone libass release. Fix currently known 0.15.0 regressions: Fix crashing on some ASS files with embedded fonts Fix total font fallback failure with some fonts on Core Text Fix embedded and memory fonts not actually being used unless ass_set_fonts was called after they have been added Fix events assuming the largest xbord-value of a preceding event of the same frame during collision handling Fix \fscx0 and \fscy0 making more text disappear than they should Fix shift in vertical positioning of some right-to-left events with \an4-6, \pos, \move or Scroll effects Fix imprecise output for \be with huge argument Fix the --enable-large-tiles configure switch doing nothing Fix output of ASM-enabled builds deviating from non-ASM builds Fix ASM-builds on Haiku and 32-bit *BSDs Overhaul x86 assembly for better performance and to allow ASM-enabled PIC-builds on 32-bit Reduce temporary allocation in rendering DirectWrite: request fonts on demand for better performance and improved compatibility with external on-demand font activation Log libass version numbers upon renderer startup Accept pointers to const as arguments to ass_add_font Improve VSFilter compatibility: Disregard zero area events in collision handling Do not apply \fsp to vector drawings Fix bug preventing cutting out glyphs from border & shadow with abnormal \fad values (or causing aliasing artifacts in some cases with normal values)
libass: updated to 0.15.0 Release 0.15.0 Boo! Three long years in the making due to large internal changes, this long-awaited release brings bug fixes, speed, and a new mechanism for opting into VSFilter-incompatible features: 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
libass: updated to 0.14.0 libass (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 * Support Core Text font provider on Mac OS X 10.6 and 10.7 * 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.
Release 0.13.7 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 Fix TrueType/OpenType font collection handling with the DirectWrite backend
libass: update to 0.13.4 changes from 0.13.1 to 0.13.4 Bug fixes found with fuzzing Fix memory reallocation in the shaper. (CVE-2016-7972) Fix two small memory leaks in the parser and test program. Fix illegal read in Gaussian blur coefficient calculations. (CVE-2016-7970) Fix mode 0/3 line wrapping equalization in specific cases which could result in illegal reads while laying out and shaping text. (CVE-2016-7969) 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. 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.
Release 0.13.1: Much faster duplicate event check in ass_process_chunk. This can bring a large speedup for embedded subtitles with lots of events. To make this possible, it is now forbidden to combine calls to ass_process_chunk with any other method of manipulating the event list, namely, manual manipulation and calls to ass_process_data, ass_read_memory and ass_read_file. Interpret negative timestamp components as actual negative numbers. This change increases compatibility with VSFilter. Font matching changes for VSFilter compatibility 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 Bug fixes Fix building the assembler code for the x32 ABI Fix static linking against libass through pkg-config when libass uses libiconv Fix some small memory leaks, potential crashes and bad data uses
Add SHA512 digests for distfiles for multimedia category Problems found locating distfiles: Package adobe-flash-plugin11: missing distfile flash-plugin-11.2.202.540-release.i386.rpm Package gmplayer: missing distfile mplayer/AlienMind-1.2.tar.bz2 Package gmplayer: missing distfile mplayer/BlueHeart-1.5.tar.bz2 Package gmplayer: missing distfile mplayer/CornerMP-aqua-1.4.tar.bz2 Package gmplayer: missing distfile mplayer/MPlayer-1.1.1.tar.xz Package gmplayer: missing distfile mplayer/WMP6-2.2.tar.bz2 Package gmplayer: missing distfile mplayer/gnome-1.1.tar.bz2 Package gmplayer: missing distfile mplayer/hwswskin-1.3.tar.bz2 Package gmplayer: missing distfile mplayer/neutron-1.6.tar.bz2 Package gmplayer: missing distfile mplayer/plastic-1.3.tar.bz2 Package gmplayer: missing distfile mplayer/slim-1.3.tar.bz2 Package gmplayer: missing distfile mplayer/xine-lcd-1.2.tar.bz2 Package handbrake: missing distfile handbrake/HandBrake-0.9.3.tar.gz Package handbrake: missing distfile handbrake/bzip2-1.0.5.tar.gz Package handbrake: missing distfile handbrake/faad2-2.6.1.tar.gz Package handbrake: missing distfile handbrake/lame-3.98.tar.gz Package handbrake: missing distfile handbrake/libdvdread-0.9.7.tar.gz Package handbrake: missing distfile handbrake/libmp4v2-r45.tar.gz Package handbrake: missing distfile handbrake/libquicktime-0.9.10.tar.gz Package handbrake: missing distfile handbrake/libtheora-1.0.tar.gz Package handbrake: missing distfile handbrake/mpeg2dec-0.5.1.tar.gz Package handbrake: missing distfile handbrake/x264-r1028-83baa7f.tar.gz Package handbrake: missing distfile handbrake/zlib-1.2.3.tar.gz Package libdvdcss: missing distfile libdvdcss-1.3.99.tar.bz2 Package mplayer-share: missing distfile mplayer/MPlayer-1.1.1.tar.xz Package mpv: missing distfile mpv-0.12.0.tar.gz Package realplayer-codecs: missing distfile rp8codecs-20040626.tar.bz2 Package realplayer-codecs: missing distfile rp8codecs-alpha-20050115.tar.bz2 Package win32-codecs: missing distfile rp9codecs-win32-20050115.tar.bz2 Package xanim: missing distfile xa2.0_cvid_netbsd386.o.gz Package xanim: missing distfile xa2.0_iv32_netbsd386.o.gz Package xanim: missing distfile xa1.0_cyuv_netbsd68k.o.gz Package xanim: missing distfile xa2.0_cvid_linuxELF.o.gz Package xanim: missing distfile xa2.0_iv32_linuxELF.o.gz Package xanim: missing distfile xa1.0_cyuv_sparcAOUT.o.gz Package xanim: missing distfile xa2.0_cvid_sparcELF.o.gz Package xanim: missing distfile xa2.0_iv32_sparcELF.o.gz Package xanim: missing distfile xa1.0_cyuv_linuxPPC.o.gz Otherwise, existing SHA1 digests verified and found to be the same on the machine holding the existing distfiles (morden). All existing SHA1 digests retained for now as an audit trail.
Changes 0.12.2: Add extern "C" guards to the public headers for C++ compatibility Improvements to style override API and implementation Bugfixes: * Fix some rasterizer bugs of unknown severity * Fix a broken memset() of unknown severity * Make timestamp parsing more lenient, which makes libass accept invalid files accepted by most other ASS parsers * Increase compatibility with broken ASS drawings accepted by VSFilter
Changes 0.12.1: * Make ASS drawings with an extremely high number of control points work This change increases compatibility with VSFilter. * Bugfixes * Fix a crash when using newer harfbuzz versions * Load embedded memory fonts correctly * Large shadow offsets rendered incorrectly * Fix incorrect closing of last drawing contour * Fix issues with undefined behavior in shifts * Lots of of malloc() error checking
Changes 0.11.2: * Improve yasm version check * Fix \fscx0 crashes * Actually export ass_library_version * Fix change detection with vector clips * SIMD assembly bugfixes * Parse drawing numbers as floats * Fix shaper sign bug * Initialize \pbo correctly
Update to 0.11.1: libass (0.11.1) * Fix distfile generation * No functional changes libass (0.11.0) * Add bitmap run combining/compositing This changes the text rendering model and increases compatibility with VSFilter. It may make rendering faster or slower in certain cases. * Add AVX/SSE2 implementations for \be and compositing This adds yasm as (optional) build dependency. * Add ass_library_version() API funcion (GC #113) * Add 'profile' program for benchmarks * Improve gaussian blur * Fix compilation with MSVC 2013 * Speed up HarfBuzz shaper * Speed up cache * Notable compatibility bugfixes * Reset origin on \fay changes (GC #88) * Tons of parser fixes * Fix ascender/descender metrics (GH #8) * Fix \pbo sign and scaling * Don't reset wrap style on \r (GC #116, GH #45) * Notable bugfixes: * Correctly handle @font advance (GC #94) * Disable ligatures for non-zero \fsp * Make sure to release vector clip (GH #22)
Update to 0.10.2: libass (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
Update to 0.10.1; bump ABI depends due to new fribidi dependency. libass (0.10.1) * 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 libass (0.10.0) * Bidirectional layout and Arabic shaping via FriBidi (GC #13) * OpenType shaping via HarfBuzz-ng (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) * Build system tweaks
Added multimedia/libass version 0.9.12 libass is a portable subtitle renderer for the ASS/SSA (Advanced Substation Alpha/Substation Alpha) subtitle format. It is mostly compatible with VSFilter.
Initial revision