diff options
author | Martin Schröder <martin@oneiros.de> | 2008-03-23 16:38:33 +0000 |
---|---|---|
committer | Martin Schröder <martin@oneiros.de> | 2008-03-23 16:38:33 +0000 |
commit | 46b33fcf1608dbdc0e2f48761ae28d30fd520304 (patch) | |
tree | 72bc0f79bca1655628d163040b2348af836b9ed4 /Build/source/texk/web2c/pdftexdir/mapfile.c | |
parent | 0e50747f61798f158b03612ae1e892fbe1e6d979 (diff) |
- import pdftex 1.40.8-alpha-20080323
- update xpdf to 3.02pl2
- update libpng to 1.2.25
git-svn-id: svn://tug.org/texlive/trunk@7095 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/texk/web2c/pdftexdir/mapfile.c')
-rw-r--r-- | Build/source/texk/web2c/pdftexdir/mapfile.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Build/source/texk/web2c/pdftexdir/mapfile.c b/Build/source/texk/web2c/pdftexdir/mapfile.c index a51a77988a0..2a40209aa18 100644 --- a/Build/source/texk/web2c/pdftexdir/mapfile.c +++ b/Build/source/texk/web2c/pdftexdir/mapfile.c @@ -17,7 +17,7 @@ You should have received a copy of the GNU General Public License along with pdfTeX; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. -$Id: mapfile.c 116 2007-05-25 18:11:08Z ms $ +$Id$ */ #include <math.h> @@ -528,7 +528,7 @@ static void fm_scan_line() done: if (fm->ps_name != NULL && (check_std_t1font(fm->ps_name) >= 0)) set_std_t1font(fm); - if (is_fontfile(fm)) { + if (is_fontfile(fm) && strlen(fm_fontfile(fm)) > 3) { if (strcasecmp(strend(fm_fontfile(fm)) - 4, ".ttf") == 0) set_truetype(fm); else if (strcasecmp(strend(fm_fontfile(fm)) - 4, ".otf") == 0) |