[evince] dvi: Use new font name instead of the old one
- From: Carlos Garcia Campos <carlosgc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evince] dvi: Use new font name instead of the old one
- Date: Sat, 4 Feb 2012 12:09:18 +0000 (UTC)
commit 8bab924afda51112750e267e10ce561cc6f51536
Author: Marek KaÅÃk <mkasik redhat com>
Date: Sat Feb 4 13:08:05 2012 +0100
dvi: Use new font name instead of the old one
https://bugzilla.gnome.org/show_bug.cgi?id=612298
backend/dvi/mdvi-lib/t1.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/backend/dvi/mdvi-lib/t1.c b/backend/dvi/mdvi-lib/t1.c
index bc910ba..d63f055 100644
--- a/backend/dvi/mdvi-lib/t1.c
+++ b/backend/dvi/mdvi-lib/t1.c
@@ -143,7 +143,7 @@ char *t1_lookup_font(const char *name, Ushort *hdpi, Ushort *vdpi)
/* get the `base' name */
if(ext) {
- newname = mdvi_strdup(name);
+ newname = mdvi_strdup(info.fontfile);
newname[ext - info.fontfile - 1] = 0;
} else
newname = (char *)name; /* we don't modify this */
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]