diff options
| author | Cecilio Pardo | 2025-04-19 22:46:38 +0200 |
|---|---|---|
| committer | Eli Zaretskii | 2025-04-23 17:22:14 +0300 |
| commit | 05480592898a2a33e7e683280456ada0d663bfd4 (patch) | |
| tree | 271da299c24d027eb29545190b8b8d74ac1a3435 /java/org | |
| parent | 01f97fabfe1bde122cc64590523cf5499b1b6d8d (diff) | |
| download | emacs-05480592898a2a33e7e683280456ada0d663bfd4.tar.gz emacs-05480592898a2a33e7e683280456ada0d663bfd4.zip | |
w32: change the way text is measured when using DirectWrite
Now the glyph outline is inspected directly to get its real size,
as the direct measuring functions give generic values for some
fonts.
* src/w32dwrite.c (data structures): Added data structures from
header files that are not present in the 32bit MinGW build
environment.
(text_extents_internal): Call GetGlyphRunOutline to get exact
glyph vertical bounds. Add new parameter to make this optional
if case that information is not required.
(w32_dwrite_text_extents, w32_initialize_direct_write)
(w32_dwrite_draw): New parameter for 'text_extents_internal'.
(Bug#77171)
Diffstat (limited to 'java/org')
0 files changed, 0 insertions, 0 deletions