aboutsummaryrefslogtreecommitdiffstats
path: root/src/macfont.m
diff options
context:
space:
mode:
authorDmitry Antipov2013-12-13 19:55:23 +0400
committerDmitry Antipov2013-12-13 19:55:23 +0400
commit5035fbc19e2f569674237c61e6ffdd4719e092d5 (patch)
tree86e7b51ececff332f6bd3bebd92f389cc4024ce8 /src/macfont.m
parentb6c888cc7afed65f24c023b8e90b73649f438e14 (diff)
downloademacs-5035fbc19e2f569674237c61e6ffdd4719e092d5.tar.gz
emacs-5035fbc19e2f569674237c61e6ffdd4719e092d5.zip
* alloc.c, font.c, font.h, ftfont.c, ftxfont.c, macfont.m,
* nsfont.m, w32font.c, xfont.c, xftfont.c: Revert last and 2013-12-12 font-related change to avoid Bug#16128, which is quite hard to fix without even more substantial changes.
Diffstat (limited to 'src/macfont.m')
-rw-r--r--src/macfont.m2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/macfont.m b/src/macfont.m
index 66833cd1b80..10623eb12fe 100644
--- a/src/macfont.m
+++ b/src/macfont.m
@@ -882,7 +882,6 @@ macfont_descriptor_entity (FontDescriptorRef desc, Lisp_Object extra,
882 CFStringRef name; 882 CFStringRef name;
883 883
884 entity = font_make_entity (); 884 entity = font_make_entity ();
885 XFONT_ENTITY (entity)->driver = &macfont_driver;
886 885
887 ASET (entity, FONT_TYPE_INDEX, macfont_driver.type); 886 ASET (entity, FONT_TYPE_INDEX, macfont_driver.type);
888 ASET (entity, FONT_REGISTRY_INDEX, Qiso10646_1); 887 ASET (entity, FONT_REGISTRY_INDEX, Qiso10646_1);
@@ -2492,7 +2491,6 @@ macfont_open (struct frame * f, Lisp_Object entity, int pixel_size)
2492 ASET (font_object, FONT_FULLNAME_INDEX, 2491 ASET (font_object, FONT_FULLNAME_INDEX,
2493 AREF (font_object, FONT_NAME_INDEX)); 2492 AREF (font_object, FONT_NAME_INDEX));
2494 font = XFONT_OBJECT (font_object); 2493 font = XFONT_OBJECT (font_object);
2495 font->frame = f;
2496 font->pixel_size = size; 2494 font->pixel_size = size;
2497 font->driver = &macfont_driver; 2495 font->driver = &macfont_driver;
2498 font->encoding_charset = font->repertory_charset = -1; 2496 font->encoding_charset = font->repertory_charset = -1;