rem: String pfb_filename;
add: String pfb_filename = ps_fontname + ".pfb";
context: installed_type1(const String &otf_filename, const String &ps_fontname, bool allow_generate, ErrorHandler *errh){#if HAVE_AUTO_CFFTOT1    // no font available if not in automatic mode    if (!automatic || !ps_fontname)	return String();    String pfb_filename;# if HAVE_KPATHSEA    // look for .pfb and .pfa    pfb_filename = ps_fontname + ".pfb";    if (String found = kpsei_string(kpsei_find_file(pfb_filename.c_str(), KPSEI_FMT_TYPE1)))	return found;    String pfa_filename = ps_fontname + ".pfa";    if (String found = kpsei_string(kpsei_find_file(pfa_filename.c_str(), KPSEI_FMT_TYPE1)))	return found;# endif    // if not found, and can generate on the fly, run cfftot1    if (allow_generate && otf_filename && otf_filename != "-"	&& getodir(O_TYPE1, errh)) {	pfb_filename = odir[O_TYPE1] + "/" + pfb_filename;	if (pfb_filename.find_left('\'') >= 0 || otf_filename.find_left('\'') >+ 0)	    return String();	String command = "cfftot1 '" + otf_filename + "' -n '" + ps_fontname + "' '" + pfb_filename + "'";	int retval = mysystem(command.c_str(), errh);	if (retval == 127)	    errh->error("could not run '%s'", command.c_str());	else if (retval < 0)	    errh->error("could not run '%s': %s", command.c_str(), strerror(errno));	else if (retval != 0)	    errh->error("'%s' failed", command.c_str());	if (retval == 0) {	    update_odir(O_TYPE1, pfb_filename, errh);	    return pfb_filename;	}    }#endif    return String();}