[tex-k] dvipsk
Akira Kakuto
kakuto at fsci.fuk.kindai.ac.jp
Thu Jan 27 03:55:49 CET 2005
> > .... Note in this release that I also *enabled* the
> > changes by default; that is, dvipsk and odvipsk are the same
> > binary, and dvipsk is omega-enabled.
>
> That would imply to completely remove odvipsk. Right?
>
> A. Attached one more (I hope final) patch "patch-06", starting with:
In the Omega mode, tfm can be nonexistent, and search() should
return NULL silently in order to search for ofm next,
without calling mktextfm which always fails in the case
where ofm is used. Thus kpse_find_file should first be called
with mustexistflag=false.
side effect:
In the Omega mode (default), mktextfm is never called.
If one wants to call mktextfm, one must invoke
with -noomega option.
Best regards,
Akira
--- search.c.orig Thu Jan 27 11:05:40 2005
+++ search.c Thu Jan 27 11:26:42 2005
@@ -75,6 +75,7 @@
#ifdef KPATHSEA
char *realnameoffile ;
+extern Boolean noomega ;
FILE *
search P3C(kpse_file_format_type, format, char *, file, char *, mode)
@@ -90,7 +91,9 @@
/* Most file looked for through here must exist -- the exception is
VF's. Bitmap fonts go through pksearch. */
- found_name = kpse_find_file (file, format, format != vfpath);
+ found_name = kpse_find_file (file, format, 0);
+ if (!found_name && noomega)
+ found_name = kpse_find_file (file, format, format != vfpath);
if (found_name) {
unsigned len = strlen (found_name);
More information about the tex-k
mailing list