]> git.eshelyaron.com Git - emacs.git/commitdiff
Comment last change.
authorJason Rumney <jasonr@gnu.org>
Mon, 5 May 2008 09:16:55 +0000 (09:16 +0000)
committerJason Rumney <jasonr@gnu.org>
Mon, 5 May 2008 09:16:55 +0000 (09:16 +0000)
src/w32font.c

index 8b4ecc0a00c91dda67037c3387899d33b6c1041c..3b6e05419ff7bccc09eadf1ee528093b01a4efbd 100644 (file)
@@ -896,6 +896,10 @@ w32font_open_internal (f, font_entity, pixel_size, font_object)
      stuff later.  */
   compat_w32_font->max_bounds.descent = font->descent;
 
+  /* For temporary compatibility with legacy code that expects the
+     name to be usable in x-list-fonts. Eventually we expect to change
+     x-list-fonts and other places that use fonts so that this can be
+     an fcname or similar.  */
   font->props[FONT_NAME_INDEX] = Ffont_xlfd_name (font_object);
 
   return 1;