diff options
| author | Chong Yidong | 2012-08-16 14:40:57 +0800 |
|---|---|---|
| committer | Chong Yidong | 2012-08-16 14:40:57 +0800 |
| commit | 179dad8ed18677af1251493751e3c9de4c80ee43 (patch) | |
| tree | 921010ec2d8d06e358b2dca7e93f270ae1ab973e /src/syntax.c | |
| parent | 032a42c88d421ee434e783e29bf2cde3d6a81e7b (diff) | |
| download | emacs-179dad8ed18677af1251493751e3c9de4c80ee43.tar.gz 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 'src/syntax.c')
0 files changed, 0 insertions, 0 deletions