[lltx] [luatex] lua module search behaviour
Élie Roux
elie.roux at telecom-bretagne.eu
Mon Apr 15 09:02:58 CEST 2013
Dear Taco and all,
Here is a patch that fixes all the problems (including those with
luaotfload):
Index: tfmofm.w
===================================================================
--- tfmofm.w (révision 4633)
+++ tfmofm.w (copie de travail)
@@ -623,7 +623,7 @@
/* 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);
Could this reach TeXLive 2013?
Thank you,
--
Elie
More information about the lualatex-dev
mailing list