]> git.eshelyaron.com Git - emacs.git/commit
Allow querying font by name for its height and other info. (Bug#19395)
authorEli Zaretskii <eliz@gnu.org>
Thu, 18 Dec 2014 16:07:26 +0000 (18:07 +0200)
committerEli Zaretskii <eliz@gnu.org>
Thu, 18 Dec 2014 16:07:26 +0000 (18:07 +0200)
commitb1978229162b0d4c3b14d8ad8bff383eb3511969
treed441fe077f75d8b962a24536edcc09f7af65a26d
parent687ae680bd12b0353e313808253e7a07c0828ebe
Allow querying font by name for its height and other info.  (Bug#19395)

 src/font.c (Ffont_info): Add more font information to the vector
 returned by the function, inspired by query-font.  Doc fix.

 doc/lispref/display.texi (Low-Level Font): Document font-info and query-font.

 lisp/international/mule-diag.el (describe-font-internal): Display
 additional info returned by font-info.
 lisp/linum.el (linum--face-width): Rename from linum--face-height,
 and use the new functionality of font-info.
 (linum-update-window): Use linum--face-width and frame-char-width,
 instead of approximating with height.

 etc/NEWS: Mention the enhancement in font-info.
doc/lispref/ChangeLog
doc/lispref/display.texi
etc/NEWS
lisp/ChangeLog
lisp/international/mule-diag.el
lisp/linum.el
src/ChangeLog
src/font.c