./multimedia/libass, Portable subtitle renderer for the ASS/SSA subtitle format

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ] [ Add to tracker ]

Branch: CURRENT, Version: 0.16.0, Package name: libass-0.16.0, Maintainer: pkgsrc-users

libass is a portable subtitle renderer for the ASS/SSA (Advanced
Substation Alpha/Substation Alpha) subtitle format. It is mostly
compatible with VSFilter.

Required to run:
[textproc/enca] [converters/fribidi] [graphics/freetype2] [fonts/fontconfig] [fonts/harfbuzz]

Required to build:

Master sites:

Filesize: 387.016 KB

Version history: (Expand)

CVS history: (Expand)

   2022-05-13 07:21:03 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
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
   2021-12-08 17:07:18 by Adam Ciarcinski | Files touched by this commit (3063)
Log message:
revbump for icu and libffi
   2021-10-26 13:01:20 by Nia Alarie | Files touched by this commit (177)
Log message:
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 \ 
./multimedia/adobe-flash-player/distinfo \ 
./multimedia/libdvdcss/distinfo libdvdcss-1.4.3.tar.bz2
   2021-10-07 16:32:21 by Nia Alarie | Files touched by this commit (179)
Log message:
multimedia: Remove SHA1 hashes for distfiles
   2021-09-14 08:46:18 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
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 \ 

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.


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
   2021-05-02 19:43:54 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
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)
   2020-10-27 19:07:57 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
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 \ 
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
   2020-08-17 22:20:41 by Leonardo Taccari | Files touched by this commit (2202)
Log message:
*: revbump after fontconfig bl3 changes (libuuid removal)