|
|
eac9cf |
diff -up enscript-1.6.6/afm/Makefile.am.rh477382 enscript-1.6.6/afm/Makefile.am
|
|
|
eac9cf |
--- enscript-1.6.6/afm/Makefile.am.rh477382 2012-09-20 00:17:34.000000000 +0200
|
|
|
eac9cf |
+++ enscript-1.6.6/afm/Makefile.am 2012-09-26 13:42:09.223974485 +0200
|
|
|
eac9cf |
@@ -29,9 +29,12 @@ hvnbo.afm hvno.afm hvo.afm ncb.afm ncbi.
|
|
|
eac9cf |
pobi.afm poi.afm por.afm sy.afm tib.afm tibi.afm tii.afm tir.afm \
|
|
|
eac9cf |
zcmi.afm zd.afm
|
|
|
eac9cf |
|
|
|
eac9cf |
-public_fonts = matrix.afm matrix.pfa
|
|
|
eac9cf |
+public_fonts = matrix.afm matrix.eps
|
|
|
eac9cf |
|
|
|
eac9cf |
afmdir = $(pkgdatadir)/afm
|
|
|
eac9cf |
dist_afm_DATA = font.map $(default_afm) $(public_fonts) MustRead.html
|
|
|
eac9cf |
|
|
|
eac9cf |
EXTRA_DIST = ChangeLog.old
|
|
|
eac9cf |
+
|
|
|
eac9cf |
+matrix.eps: matrix.pfa
|
|
|
eac9cf |
+ cp matrix.pfa matrix.eps
|
|
|
eac9cf |
diff -up enscript-1.6.6/src/util.c.rh477382 enscript-1.6.6/src/util.c
|
|
|
eac9cf |
--- enscript-1.6.6/src/util.c.rh477382 2011-10-30 17:48:42.000000000 +0100
|
|
|
eac9cf |
+++ enscript-1.6.6/src/util.c 2012-09-26 13:40:53.336866463 +0200
|
|
|
eac9cf |
@@ -1084,9 +1084,16 @@ download_font (char *name)
|
|
|
eac9cf |
buffer_append (&fname, ".pfb");
|
|
|
eac9cf |
if (stat (buffer_ptr (&fname), &stat_st) != 0)
|
|
|
eac9cf |
{
|
|
|
eac9cf |
- /* Couldn't find font description file, nothing to download. */
|
|
|
eac9cf |
- buffer_uninit (&fname);
|
|
|
eac9cf |
- return;
|
|
|
eac9cf |
+ /* .eps */
|
|
|
eac9cf |
+ buffer_clear (&fname);
|
|
|
eac9cf |
+ buffer_append (&fname, prefix);
|
|
|
eac9cf |
+ buffer_append (&fname, ".eps");
|
|
|
eac9cf |
+ if (stat (buffer_ptr (&fname), &stat_st) != 0)
|
|
|
eac9cf |
+ {
|
|
|
eac9cf |
+ /* Couldn't find font description file, nothing to download. */
|
|
|
eac9cf |
+ buffer_uninit (&fname);
|
|
|
eac9cf |
+ return;
|
|
|
eac9cf |
+ }
|
|
|
eac9cf |
}
|
|
|
eac9cf |
}
|
|
|
eac9cf |
|