summaryrefslogtreecommitdiff
path: root/Build/source/texk/xdv2pdf
diff options
context:
space:
mode:
authorPeter Breitenlohner <peb@mppmu.mpg.de>2010-02-23 10:23:36 +0000
committerPeter Breitenlohner <peb@mppmu.mpg.de>2010-02-23 10:23:36 +0000
commitd8425926834dd0212352a8b99dd1faebbec500f0 (patch)
tree540e3e3645dc22ad83ff03bdb442dc8ebfd4b1bc /Build/source/texk/xdv2pdf
parent86139e39298448100d0e15d0ea68ed45a6cf298f (diff)
texk/xdv2pdf: simplify
git-svn-id: svn://tug.org/texlive/trunk@17164 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/texk/xdv2pdf')
-rw-r--r--Build/source/texk/xdv2pdf/ChangeLog4
-rw-r--r--Build/source/texk/xdv2pdf/xdv2pdf_main.c15
2 files changed, 5 insertions, 14 deletions
diff --git a/Build/source/texk/xdv2pdf/ChangeLog b/Build/source/texk/xdv2pdf/ChangeLog
index 13f9f0d80a7..c0704ba3684 100644
--- a/Build/source/texk/xdv2pdf/ChangeLog
+++ b/Build/source/texk/xdv2pdf/ChangeLog
@@ -1,3 +1,7 @@
+2010-02-23 Peter Breitenlohner <peb@mppmu.mpg.de>
+
+ * xdv2pdf_main.c (main): Reduce to the required minimum.
+
2010-02-18 Peter Breitenlohner <peb@mppmu.mpg.de>
* xdv2pdf_main.c, xdv_kpse_formats.h: Initialize search paths
diff --git a/Build/source/texk/xdv2pdf/xdv2pdf_main.c b/Build/source/texk/xdv2pdf/xdv2pdf_main.c
index 64bf700b946..018ff7ceffe 100644
--- a/Build/source/texk/xdv2pdf/xdv2pdf_main.c
+++ b/Build/source/texk/xdv2pdf/xdv2pdf_main.c
@@ -254,21 +254,8 @@ main(int argc, char** argv)
kpse_set_program_name (argv[0], progname);
- /* It seems to be critical that I do a kpse_cnf_get to trigger the reading of texmf.cnf files
- BEFORE the INIT_FORMAT stuff below. I don't really understand all the interactions
- of search paths, config files, etc., but for now this is working for me. */
- kpse_cnf_get("TETEXDIR");
-
- /* Initialize search paths. */
- kpse_init_format (kpse_cnf_format);
- kpse_init_format (kpse_db_format);
+ /* Initialize type1 search path and change the suffix list. */
kpse_init_format (kpse_type1_format);
- kpse_init_format (kpse_opentype_format);
- kpse_init_format (kpse_tfm_format);
- kpse_init_format (kpse_fontmap_format);
- kpse_init_format (kpse_enc_format);
-
- /* Re-initialize type1 suffix list (without ".pfa"). */
kpse_set_suffixes (kpse_type1_format, false, ".pfb", NULL);
#endif /* not XDV2PDF_OLD_FORMATS */