]> www.fi.muni.cz Git - evince.git/blobdiff - backend/dvi/mdvi-lib/fontsrch.c
dvi: Add image_done method to DviDevice to notify that the image is finished
[evince.git] / backend / dvi / mdvi-lib / fontsrch.c
index 415ed9157799c2f9303e4f672543b3a0866e09b4..8ebaa5ca0dd1e2af2aca3c227fd17f1fa9e95b22 100644 (file)
@@ -14,7 +14,7 @@
  *
  * 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.
  */
 
 /*
@@ -47,6 +47,7 @@
  * fonts are configured.
  */
 
+#include <config.h>
 #include "mdvi.h"
 
 #define HAVE_PROTOTYPES 1
@@ -254,8 +255,8 @@ again:
        }
 
        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;
@@ -274,8 +275,8 @@ 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;
        }
 
@@ -302,8 +303,8 @@ metrics:
                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;