t1strip: access writet1 (from pdftex) for t1 font handling (including stripping)
[PyX/mjg.git] / pyx / t1strip / search.c
blob83a5b421ef524b67de744bb8d23a96ad06a60470
1 #include <stdio.h>
2 #include <kpathsea/tex-file.h>
4 FILE* search(kpse_file_format_type format, char *file, char *mode)
6 kpse_set_program_name("dvips", "dvips"); // this should be placed somewhere else; should be pretend to be dvips?
7 // kpse_type1_format should be in parameter format, but it isn't -> fix the binding with writet1
8 printf("%s\n", kpse_find_file(file, kpse_type1_format, 1));
9 return fopen(kpse_find_file(file, kpse_type1_format, 1), mode);