mirror of
https://github.com/mpv-player/mpv
synced 2025-03-26 22:42:47 +01:00
reorganization of subtitles and osd section, removed repeating lines, patch by me and Torinthiel
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@11589 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
a85d14ea1e
commit
d5066b11ef
@ -711,9 +711,21 @@ OSD/SUB feature. There are many ways to get it:
|
||||
</para>
|
||||
|
||||
<itemizedlist>
|
||||
<listitem><para>
|
||||
Use the font generator tool at <filename
|
||||
class="directory">TOOLS/subfont-c</filename>. It's a complete tool to
|
||||
convert from TTF/Type1/etc font to mplayer font pkg (read
|
||||
<filename>TOOLS/subfont-c/README</filename> for details).
|
||||
</para></listitem>
|
||||
<listitem><para>
|
||||
Use the font generator GIMP plugin at <filename
|
||||
class="directory">TOOLS/subfont-GIMP</filename> (note: you must have HSI
|
||||
RAW plugin too, see URL below).
|
||||
<!-- FIXME: where's that URL? -->
|
||||
</para></listitem>
|
||||
<listitem><para>
|
||||
using a TrueType (TTF) font, by the means of the <systemitem class="library">freetype</systemitem>
|
||||
library. Version 2.0.9 or greater is mandatory! Then you have two methods:
|
||||
library. Version 2.0.9 or greater is mandatory! Then you have two methods:
|
||||
<itemizedlist>
|
||||
<listitem><para>
|
||||
use the <option>-font /path/to/arial.ttf</option> option to specify a
|
||||
@ -723,6 +735,11 @@ library. Version 2.0.9 or greater is mandatory! Then you have two methods:
|
||||
create a symlink:<screen>ln -s /path/to/arial.ttf ~/.mplayer/subfont.ttf</screen>
|
||||
</para></listitem>
|
||||
</itemizedlist>
|
||||
If <application>MPlayer</application> was compiled with
|
||||
<systemitem class="library">fontconfig</systemitem> support, the above methods
|
||||
won't work, instead the <option>-font</option> expects a fontconfig font name
|
||||
and defaults to the sans-serif font. To get a list of fonts known to fontconfig,
|
||||
use <command>fc-list</command>. Example: <option>-font 'Bitstream Vera Sans'</option>
|
||||
</para></listitem>
|
||||
<listitem><para>
|
||||
Download ready-to-use font packages from <application>MPlayer</application>
|
||||
@ -769,39 +786,7 @@ library. Version 2.0.9 or greater is mandatory! Then you have two methods:
|
||||
</table>
|
||||
|
||||
</para></listitem>
|
||||
<listitem><para>
|
||||
Use the font generator tool at <filename
|
||||
class="directory">TOOLS/subfont-c</filename>. It's a complete tool to
|
||||
convert from TTF/Type1/etc font to mplayer font pkg. (read
|
||||
<filename>TOOLS/subfont-c/README</filename> for details)
|
||||
</para></listitem>
|
||||
<listitem><para>
|
||||
Use the font generator GIMP plugin at <filename
|
||||
class="directory">TOOLS/subfont-GIMP</filename> (note: you must have HSI
|
||||
RAW plugin too, see URL below)
|
||||
<!-- FIXME: where's that URL? -->
|
||||
</para></listitem>
|
||||
<listitem><para>
|
||||
using a TrueType (TTF) font, by the means of the <systemitem class="library">
|
||||
freetype</systemitem> library. Version 2.0.9 or greater is mandatory! Then
|
||||
you have two methods:
|
||||
<itemizedlist>
|
||||
<listitem><para>
|
||||
use the <option>-font /path/to/arial.ttf</option> option to specify a
|
||||
TrueType font file on every occasion
|
||||
</para></listitem>
|
||||
<listitem><para>
|
||||
create a symlink:<screen>ln -s /path/to/arial.ttf ~/.mplayer/subfont.ttf</screen>
|
||||
</para></listitem>
|
||||
</itemizedlist>
|
||||
If compiled with <systemitem class="library">fontconfig</systemitem>
|
||||
support, the above methods won't work, instead the <option>-font</option>
|
||||
expects a fontconfig font name and defaults to the sans-serif font. To get
|
||||
a list of fonts known to fontconfig, use <command>fc-list</command>.
|
||||
Example: <option>-font 'Bitstream Vera Sans'</option>
|
||||
</para></listitem>
|
||||
</itemizedlist>
|
||||
|
||||
<para>
|
||||
If you chose non-TTF fonts, UNZIP the file you downloaded to <filename
|
||||
class="directory">~/.mplayer</filename> or <filename
|
||||
|
Loading…
x
Reference in New Issue
Block a user