summaryrefslogtreecommitdiff
path: root/lisp/emacs-lisp/check-declare.el
diff options
context:
space:
mode:
authorChong Yidong <cyd@gnu.org>2012-08-16 14:40:57 +0800
committerChong Yidong <cyd@gnu.org>2012-08-16 14:40:57 +0800
commit179dad8ed18677af1251493751e3c9de4c80ee43 (patch)
tree921010ec2d8d06e358b2dca7e93f270ae1ab973e /lisp/emacs-lisp/check-declare.el
parent032a42c88d421ee434e783e29bf2cde3d6a81e7b (diff)
downloademacs-179dad8ed18677af1251493751e3c9de4c80ee43.tar.gz
emacs-179dad8ed18677af1251493751e3c9de4c80ee43.tar.bz2
emacs-179dad8ed18677af1251493751e3c9de4c80ee43.zip
Fix average font width calculation on NS.
* src/nsfont.m (nsfont_open): Similar to the Xft backend, set min_width to space_width and average_width to the average over printable ASCII characters. (ns_char_width): Code cleanup. (ns_ascii_average_width): New utility function.
Diffstat (limited to 'lisp/emacs-lisp/check-declare.el')
0 files changed, 0 insertions, 0 deletions