]> www.fi.muni.cz Git - evince.git/blobdiff - backend/dvi/mdvi-lib/t1.c
help/C: documented toolbar (bug # 503638)
[evince.git] / backend / dvi / mdvi-lib / t1.c
index e7cd4f80f4bd9fcbd443258c5ad940a59cea9f49..bc910ba6b9d1712b282e4b9954ba301e75f0dcc9 100644 (file)
@@ -13,7 +13,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.
  */
 
 /* 
@@ -184,7 +184,7 @@ static void t1_reset_resolution(int xdpi, int ydpi)
                T1_DeleteAllSizes(i);
        /* reset device resolutions */
        if(T1_SetDeviceResolutions((float)xdpi, (float)ydpi) < 0)
-               warning(_("(t1) failed to reset device resolution\n"));
+               mdvi_warning(_("(t1) failed to reset device resolution\n"));
        else
                DEBUG((DBG_TYPE1, 
                        "(t1) reset successful, new resolution is (%d, %d)\n",
@@ -212,7 +212,7 @@ static void t1_transform_font(T1Info *info)
                        info->fontname, info->encoding->name));
                T1_DeleteAllSizes(info->t1id);
                if(T1_ReencodeFont(info->t1id, info->encoding->vector) < 0)
-                       warning(_("%s: could not encode font\n"), info->fontname);
+                       mdvi_warning(_("%s: could not encode font\n"), info->fontname);
        }
        if(info->mapinfo.slant) {
                DEBUG((DBG_TYPE1, "(t1) %s: slanting by %.3f\n",