if test "x$enable_dvi" = "xyes"; then
if test "x$enable_type1_fonts" = "xyes"; then
AC_CHECK_LIB([t1lib],T1_InitLib,enable_type1_fonts=yes,enable_type1_fonts=no)
AC_CHECK_LIB([t1],T1_InitLib,enable_type1_fonts=yes,enable_type1_fonts=no,-lm)
fi
if test "x$enable_type1_fonts" = xyes; then
$(DVI_LIBS) -lkpathsea
if WITH_TYPE1_FONTS
libgtkdvi_la_LIBADD += -lt1lib
libgtkdvi_la_LIBADD += -lt1 -lm
endif
DEBUG((DBG_TYPE1, "(t1) resetting device resolution (current: (%d,%d))\n",
t1lib_xdpi, t1lib_ydpi));
nfonts = T1_Get_no_fonts();
nfonts = T1_GetNoFonts();
for(i = 0; i < nfonts; i++)
T1_DeleteAllSizes(i);
/* reset device resolutions */