*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
- * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
*/
/*
* fonts are configured.
*/
+#include <config.h>
#include "mdvi.h"
#define HAVE_PROTOTYPES 1
}
if(kid < MAX_CLASS - 1 && !STREQ(name, _mdvi_fallback_font)) {
- warning("font `%s' at %dx%d not found, trying `%s' instead\n",
- name, hdpi, vdpi, _mdvi_fallback_font);
+ mdvi_warning("font `%s' at %dx%d not found, trying `%s' instead\n",
+ name, hdpi, vdpi, _mdvi_fallback_font);
name = _mdvi_fallback_font;
kid = 0;
goto again;
}
ptr = last->next;
} else {
- warning("font `%s' not found, trying metric files instead\n",
- name);
+ mdvi_warning("font `%s' not found, trying metric files instead\n",
+ name);
ptr = (DviFontClass *)font_classes[MAX_CLASS-1].head;
}
return filename;
}
if(!STREQ(name, _mdvi_fallback_font)) {
- warning("metric file for `%s' not found, trying `%s' instead\n",
- name, _mdvi_fallback_font);
+ mdvi_warning("metric file for `%s' not found, trying `%s' instead\n",
+ name, _mdvi_fallback_font);
name = _mdvi_fallback_font;
ptr = (DviFontClass *)font_classes[MAX_CLASS-1].head;
goto metrics;