summaryrefslogtreecommitdiff
path: root/lisp/emacs-lisp/generic.el
diff options
context:
space:
mode:
authorChong Yidong <cyd@gnu.org>2012-08-15 15:58:34 +0800
committerChong Yidong <cyd@gnu.org>2012-08-15 15:58:34 +0800
commitf2045622a553a1f3919ccef6d94fc6e1207e38f6 (patch)
treed938f60c4ace8cd1123d6046f93890022d8f6943 /lisp/emacs-lisp/generic.el
parente568d279c5ba2c408703653aee8f8f764b3eb897 (diff)
downloademacs-f2045622a553a1f3919ccef6d94fc6e1207e38f6.tar.gz
emacs-f2045622a553a1f3919ccef6d94fc6e1207e38f6.tar.bz2
emacs-f2045622a553a1f3919ccef6d94fc6e1207e38f6.zip
Extract better font information from the GTK >= 3.2 font chooser.
* gtkutil.c (xg_get_font): Rename from xg_get_font_name. When using the new font chooser, use gtk_font_chooser_get_font_desc to extract the font descriptor instead of just the font name. In that case, return a font spec instead of a string. (x_last_font_name): Move to this file from xfns.c. * xfns.c (Fx_select_font): The return value can also be a font spec. Move x_last_font_name management to gtkutil.c. * xfaces.c: Make font weight and style symbols non-static. * lisp/frame.el (set-frame-font): Accept font objects.
Diffstat (limited to 'lisp/emacs-lisp/generic.el')
0 files changed, 0 insertions, 0 deletions