diff options
author | Karl Berry <karl@freefriends.org> | 2013-04-15 22:53:52 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2013-04-15 22:53:52 +0000 |
commit | 7128c4ee927e794de295962ee7bcffa8d548b788 (patch) | |
tree | 5bdbda52fe48568e893b46a1c4dc52fbe31ac214 /Build/source/texk/web2c/luatexdir/font/tfmofm.w | |
parent | 0f15f2894a74e1811305abd588b8dbcfddf986cf (diff) |
.ofm and ini_version checks from elie
git-svn-id: svn://tug.org/texlive/trunk@29960 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/texk/web2c/luatexdir/font/tfmofm.w')
-rw-r--r-- | Build/source/texk/web2c/luatexdir/font/tfmofm.w | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Build/source/texk/web2c/luatexdir/font/tfmofm.w b/Build/source/texk/web2c/luatexdir/font/tfmofm.w index 2e6719b9755..511729570a4 100644 --- a/Build/source/texk/web2c/luatexdir/font/tfmofm.w +++ b/Build/source/texk/web2c/luatexdir/font/tfmofm.w @@ -623,7 +623,7 @@ int read_tfm_info(internal_font_number f, const char *cnom, scaled s) /* cnom can be an absolute filename, xbasename() fixes that. */ tmpnam = strdup(xbasename(cnom)); - if (strcmp(tmpnam + strlen(tmpnam) - 4, ".tfm") == 0) { + if (strcmp(tmpnam + strlen(tmpnam) - 4, ".tfm") == 0 || strcmp(tmpnam + strlen(tmpnam) - 4, ".ofm") == 0) { *(tmpnam + strlen(tmpnam) - 4) = 0; } set_font_name(f, tmpnam); |