mirror of
https://github.com/mpv-player/mpv.git
synced 2026-10-27 05:49:38 +08:00
smth
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6789 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
@@ -32,7 +32,7 @@ outline=1.5
|
||||
|
||||
if [ ! -x $subfont_exec ]; then
|
||||
echo "fontgen: 'subfont' not found or not executable!"
|
||||
echo "fontgen: trying to make sources"
|
||||
echo "fontgen: trying to compile"
|
||||
|
||||
make || exit
|
||||
|
||||
|
||||
@@ -1,11 +1,14 @@
|
||||
#!/bin/bash
|
||||
|
||||
#unicode="--unicode"
|
||||
font=arial.ttf
|
||||
#font=arial.ttf
|
||||
#font=mints-mild.pcf
|
||||
#font=/home/alex/artwiz-mints-mild-latin2.hex
|
||||
font=$1
|
||||
#font=verdana.ttf
|
||||
encoding=iso-8859-2
|
||||
fontsize=24
|
||||
symbolssize=35
|
||||
fontsize=$2
|
||||
symbolssize=$3
|
||||
blur=2
|
||||
outline=1.5
|
||||
|
||||
|
||||
@@ -260,7 +260,7 @@ void render() {
|
||||
fprintf(f, "name 'Subtitle font for %s %s, \"%s%s%s\" face, size: %.1f pixels.'\n",
|
||||
encoding_name,
|
||||
unicode_desc ? "charset, Unicode encoding":"encoding",
|
||||
face->family_name,
|
||||
face->family_name ? face->family_name : font_path,
|
||||
face->style_name ? " ":"", face->style_name ? face->style_name:"",
|
||||
ppem);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user