X-Git-Url: https://www.fi.muni.cz/~kas/git//home/kas/public_html/git/?a=blobdiff_plain;f=backend%2Fdvi%2Fmdvi-lib%2Ffontsrch.c;h=8ebaa5ca0dd1e2af2aca3c227fd17f1fa9e95b22;hb=c565f15e696db4b4cf983cdddf1e1ab273d547dc;hp=415ed9157799c2f9303e4f672543b3a0866e09b4;hpb=13a06349251874bd35d2f03c3fc93217cee749a2;p=evince.git diff --git a/backend/dvi/mdvi-lib/fontsrch.c b/backend/dvi/mdvi-lib/fontsrch.c index 415ed915..8ebaa5ca 100644 --- a/backend/dvi/mdvi-lib/fontsrch.c +++ b/backend/dvi/mdvi-lib/fontsrch.c @@ -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 #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;