BLF: Ignore Combining Characters for Mouse Selection #120675

Merged
Harley Acheson merged 1 commits from Harley/blender:ForEachCombining into main 2024-04-15 21:19:14 +02:00

1 Commits

Author SHA1 Message Date
Harley Acheson a43e9c4ea0 BLF: Ignore Combining Characters for Mouse Selection
buildbot/vexp-code-patch-lint Build done. Details
buildbot/vexp-code-patch-windows-amd64 Build done. Details
buildbot/vexp-code-patch-linux-x86_64 Build done. Details
buildbot/vexp-code-patch-darwin-arm64 Build done. Details
buildbot/vexp-code-patch-darwin-x86_64 Build done. Details
buildbot/vexp-code-patch-coordinator Build done. Details
When we iterate through glyph bounding boxes, we should ignore
combining characters, those without an advance. These types of
characters are placed over top of others, like for diacritical marks.
We never have a need to consider these, only for the parent glyph.
Otherwise mouse insertion of text cursor can occur at the wrong
location, at the edge of a diacritical mark.
2024-04-15 11:38:43 -07:00