mirror of
https://gitlab.winehq.org/wine/wine.git
synced 2024-11-19 17:06:04 -07:00
dwrite/layout: Skip to the next typography range when current one has no features.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=57407 Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
This commit is contained in:
parent
698ab75a59
commit
5a7a4b7f1a
Notes:
Alexandre Julliard
2024-11-14 23:13:20 +01:00
Approved-by: Alexandre Julliard (@julliard) Merge-Request: https://gitlab.winehq.org/wine/wine/merge_requests/6816
1 changed files with 1 additions and 1 deletions
|
@ -897,7 +897,7 @@ static HRESULT layout_shape_get_user_features(const struct dwrite_textlayout *la
|
|||
feature_count = IDWriteTypography_GetFontFeatureCount(typography);
|
||||
if (!feature_count)
|
||||
{
|
||||
i = range->h.range.length - i + 1;
|
||||
i = range->h.range.startPosition + range->h.range.length;
|
||||
continue;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue