| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Change the default style used for rendering plaintext subtitles with
libass. The following attributes change:
* FontSize: Increase the size multiplier used with the default
-subfont-autoscale 3 from 1.4 to 1.7, thus making the font 21%
larger. Actually implementing the -subfont-autoscale modes other
than 1 would give a multiplier of 5/3=1.67 for 4:3 aspect ratio
video, sqrt(337)/9=2.04 for 16:9.
* PrimaryColour: Change color from yellow to white.
* Outline: Before this was 2 regardless of user font size choice. Make
it FontSize/16 instead. With default font size this is about half
the previous width.
* Kerning: Enable kerning for the track. There won't be styling
designed for VSFilter's lack of kerning, and hopefully people won't
use broken fonts with bad kerning tables for the default font
either.
|
|
|
|
|
|
|
|
| |
The various ass_* functions were created when libass was part of the
MPlayer tree and the distinction between MPlayer-specific and other
functions was less clear. Now that libass is a clearly separate
library, using the same ass_* namespace for player functions is ugly.
Rename the functions to use mp_ass_ prefix instead.
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
Originally, when rendering plaintext subs with libass, the subtitles
were first converted to the "struct subtitle" form with sub_add_text()
and then from that to libass events. Change sd_ass to convert the
subtitles directly to libass events without using the old sub
machinery. The new conversion at least fixes some timing issues. Also
use the markup support added in the previous commit, so that
HTML-style markup is also supported in "plaintext" subs rendered with
libass.
|
|
|
|
|
| |
It was indirectly included through subreader.h but better do it
explicitly. ass_mp.h also included itself, remove that.
|
|
|
|
| |
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@31952 b3059339-0415-0410-9bf9-f77b7e298cf2
|
| |
|
| |
|
|
|
|
|
|
|
|
|
| |
Previously the argument of the "-sub" option was always interpreted as
a local filename when trying to read it as a libass file. Use the
stream layer to read it instead, so that protocols like 'http://' are
also supported like they are for the main video/audio file.
Based on patch by Yuriy Kaminskiy <yumkam@mail.ru>
|
|
|
|
|
|
|
|
|
|
| |
libass doesn't support fontconfig < 2.4.2 so fallbacks for these
ancient versions aren't needed anymore. Also update the man page
(English, German) to reflect the change. Additionally note that
-embeddedfonts controls the use of ASS script embedded fonts too.
-embeddedfonts is now always enabled by default. Fonts are never
extracted into a directory anymore but passed to libass via memory.
|
| |
|
|
|
|
|
|
|
| |
FreeType's native hinter causes rendering errors with many fonts,
especially with broken fonts that unfortunately tend to be used a
lot with SSA/ASS subtitles. Use the light autohinter for unscaled
OSD by default to avoid these problems.
|
| |
|
|
Remove the libass/ directory and use the newest standalone version of
the library instead.
|