]> git.eshelyaron.com Git - emacs.git/commit
Add support for `ch' and `cw' dimension specifiers for images
authorZajcev Evgeny <zevlg@yandex.ru>
Thu, 21 Mar 2024 14:47:29 +0000 (17:47 +0300)
committerEshel Yaron <me@eshelyaron.com>
Tue, 2 Apr 2024 13:27:46 +0000 (15:27 +0200)
commitd16d2cbe39d38440d7004411e5a4bb1f741f0d07
treeac5bc3e6ce482167c4203c371678809f346b31c2
parent4490340f29cbd63b93e0038fd95185ec6a79784f
Add support for `ch' and `cw' dimension specifiers for images

* src/image.c (image_get_dimension, lookup_image): Handle `ch'
and `cw' dimension specifiers in addition to `em'.
* src/dispextern.h: Add new members `face_font_height' and
`face_font_width' to `struct image'.

* doc/lispref/display.texi (Image Descriptors): Document
`ch' and `cw'.

(cherry picked from commit 61d70186a4a80d0ffc0aaef224e514ff9cac0372)
doc/lispref/display.texi
src/dispextern.h
src/image.c