* configure.ac: Skip unifont 6.3 pcf and bdf.
This commit is contained in:
parent
4861b6c851
commit
0277eab701
2 changed files with 9 additions and 0 deletions
|
@ -1,3 +1,7 @@
|
||||||
|
2013-12-07 Vladimir Serbinenko <phcoder@gmail.com>
|
||||||
|
|
||||||
|
* configure.ac: Skip unifont 6.3 pcf and bdf.
|
||||||
|
|
||||||
2013-12-07 Vladimir Serbinenko <phcoder@gmail.com>
|
2013-12-07 Vladimir Serbinenko <phcoder@gmail.com>
|
||||||
|
|
||||||
* Makefile.am: Remove partial font files if generation failed.
|
* Makefile.am: Remove partial font files if generation failed.
|
||||||
|
|
|
@ -1324,6 +1324,11 @@ FONT_SOURCE=
|
||||||
for ext in pcf pcf.gz bdf bdf.gz ttf ttf.gz; do
|
for ext in pcf pcf.gz bdf bdf.gz ttf ttf.gz; do
|
||||||
for dir in . /usr/src /usr/share/fonts/X11/misc /usr/share/fonts/unifont /usr/share/fonts/uni /usr/share/fonts/truetype/unifont /usr/share/fonts/misc; do
|
for dir in . /usr/src /usr/share/fonts/X11/misc /usr/share/fonts/unifont /usr/share/fonts/uni /usr/share/fonts/truetype/unifont /usr/share/fonts/misc; do
|
||||||
if test -f "$dir/unifont.$ext"; then
|
if test -f "$dir/unifont.$ext"; then
|
||||||
|
md5="$(md5sum "$dir/unifont.$ext"|awk '{ print $1; }')"
|
||||||
|
# PCF and BDF from version 6.3 isn't hanled properly by libfreetype.
|
||||||
|
if test "$md5" = 0a54834d2788c83886a3e1785a6a1e61 || test "$md5" = 28f2565c7a41d8d407e2551159385edb || test "$md5" = dae5e588461b3b92b87b6ffee734f936 || test "$md5" = 4a3d687aa5bb329ed05f4263a1016791 ; then
|
||||||
|
continue;
|
||||||
|
fi
|
||||||
FONT_SOURCE="$dir/unifont.$ext"
|
FONT_SOURCE="$dir/unifont.$ext"
|
||||||
break 2
|
break 2
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in a new issue