You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
App crashes while line breaking text for rendering #11386
Looks like the managed code line breaks while the native does not. DPI does not seem to be relevant, repros without the VS chars, the first mark is also irrelevant - the second one (in the word that does not fit on line) matters. DW reports all characters as Latin script, however, WPF reports the digits as Digit script, contrasting with Latin for the enclosing square. The default font in the flow document is Georgia, which does not have the enclosing char, so font fallback occurs. Neither does Segoe UI (for less confusing debugging I recommend using 20DD enclosing circle instead). Because of #6857 that means these get split into separate runs. My guess is that the native code and manage code use different fallback for the enclosing character, and the nulldef glyph in Georgia is really wide, so using that font needs to wrap while using e.g. Segoe UI's nulldef fits and does not need to wrap. The native code most likely needs to be updated to match the managed fix.
Activity
miloush commentedon Jan 25, 2026
Looks like the managed code line breaks while the native does not. DPI does not seem to be relevant, repros without the VS chars, the first mark is also irrelevant - the second one (in the word that does not fit on line) matters. DW reports all characters as Latin script, however, WPF reports the digits as Digit script, contrasting with Latin for the enclosing square. The default font in the flow document is Georgia, which does not have the enclosing char, so font fallback occurs. Neither does Segoe UI (for less confusing debugging I recommend using 20DD enclosing circle instead). Because of #6857 that means these get split into separate runs. My guess is that the native code and manage code use different fallback for the enclosing character, and the nulldef glyph in Georgia is really wide, so using that font needs to wrap while using e.g. Segoe UI's nulldef fits and does not need to wrap. The native code most likely needs to be updated to match the managed fix.
etvorun commentedon Jan 26, 2026
@miloush any pointers to native code which needs to be updated :) ?