diff options
author | Lars Ingebrigtsen <larsi@gnus.org> | 2021-10-21 04:30:02 +0200 |
---|---|---|
committer | Lars Ingebrigtsen <larsi@gnus.org> | 2021-10-21 04:30:02 +0200 |
commit | 65fd3ca84f75aee0dfebb87fa793dae57c1caf35 (patch) | |
tree | 929b299592e19b39fafc0bbbcccdc6175133f8ef /lisp/files.el | |
parent | 4e9764e6a155aa403d69d38fa06f4a774140f63c (diff) | |
download | emacs-65fd3ca84f75aee0dfebb87fa793dae57c1caf35.tar.gz emacs-65fd3ca84f75aee0dfebb87fa793dae57c1caf35.tar.bz2 emacs-65fd3ca84f75aee0dfebb87fa793dae57c1caf35.zip |
Support the "medium" font weight
* lisp/faces.el (set-face-attribute): Mention new font weights in
doc string.
* src/font.c (struct table_entry): Allow more synonyms.
(weight_table): Expand to support separating medium and normal
weights. Also add heavy/ultra-heavy and some other variants.
(font_parse_fcname): Support more names.
* src/gtkutil.c (xg_weight_to_symbol): Support all the Pango weights.
(xg_style_to_symbol): Make into functions.
(xg_get_font): Adjust.
* src/w32font.c (w32_to_fc_weight): Use symbols.
* src/xfaces.c (syms_of_xfaces): Add the new symbols.
Diffstat (limited to 'lisp/files.el')
0 files changed, 0 insertions, 0 deletions