diff options
| author | Po Lu | 2024-06-03 16:34:51 +0800 |
|---|---|---|
| committer | Po Lu | 2024-06-03 16:36:29 +0800 |
| commit | 56376585134d627f96c71b7b063ec51548d3ad3f (patch) | |
| tree | c1adb3192c8b11ac5ef10b2bd754b84ba7d0800b /java | |
| parent | 760b54de080c238ea9f7b16055e820862d3e8896 (diff) | |
| download | emacs-56376585134d627f96c71b7b063ec51548d3ad3f.tar.gz emacs-56376585134d627f96c71b7b063ec51548d3ad3f.zip | |
Maintain relationship between tool bar image and default font width
* doc/lispref/display.texi (Image Descriptors): Document new
value of QCscale.
* lisp/cus-start.el (standard) <image-scaling-factor>: New
definition.
* lisp/image.el (image-scaling-factor): Move to C.
(create-image): Provide `default' as the default scaling factor.
(image--default-smoothing): Accept non-integer scaling factors.
(image-compute-scaling-factor): Document that this function
is no longer invoked by Emacs.
* lisp/tool-bar.el (tool-bar--image-expression): Disable
transform smoothing for tool-bar icons.
* src/dispextern.h (clear_image_cache): New definition.
* src/frame.c (gui_set_font): Clear such image cache entries as
derive their scales from the default font width.
* src/image.c (clear_image_cache): Export function.
(compute_image_size): Implement `default' by reading
Vimage_scaling_factor and/or computing a scale factor from the
frame's column width, as the case may be.
New argument F. All callers changed.
(syms_of_image) <Vimage_scaling_factor>: Move from image.el.
Diffstat (limited to 'java')
0 files changed, 0 insertions, 0 deletions