Description
- .NET Core Version: 7.0.100-preview.4.22252.9
- Windows version: 25151.1000.amd64fre.rs_prerelease.220625-1835
- Does the bug reproduce also in WPF for .NET Framework 4.8?: Yes
Problem description:
Punctuation, whitespace and alike are treated as base characters, forming clusters with vowel marks (instead of a dotted circle being inserted) when the marks are not in the font. The Indic engine is responsible for inserting the dotted circle, but it does not get to shape the run.
Someone should split the run for shaping if the characters are to be shaped using different fonts as a result of font fallback. My initial guess is line services are to blame.
Visual Studio is one of the affected products, the rendered glyphs depend on how the colorization and tokenization splits the runs:
but
Here is an example where the character is sometimes clustered with the preceding one (as a question mark in a box) and sometimes rendered as expected with a circle:
Minimal repro:
FallbackShaping.zip