]> git.eshelyaron.com Git - emacs.git/commit
w32: fail gracefully when using invalid glyphs on DWrite
authorCecilio Pardo <cpardo@imayhem.com>
Thu, 27 Mar 2025 12:26:00 +0000 (13:26 +0100)
committerEshel Yaron <me@eshelyaron.com>
Fri, 28 Mar 2025 16:17:25 +0000 (17:17 +0100)
commitd7ee518ac0194ed2b2548012185924ae4f48cb8b
tree0482c9ee22c4ccec536bdc02a1225bf70ba8af81
parent5c669032aaa31dc536ea2c677b10799fbf4194cc
w32: fail gracefully when using invalid glyphs on DWrite

* src/w32dwrite.c (text_extents_internal): Return false instead
of crashing with bad glyph indexes.  (Bug#77196)

(cherry picked from commit 33a46ff565296b491e808aa63d1dbaa2d994bbb5)
src/w32dwrite.c