dwrite: Adjust comment regarding digits substitution during shaping.

Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Nikolay Sivov 2021-02-08 17:33:13 +03:00 committed by Alexandre Julliard
parent 0631cecd52
commit ec648ea7d0
1 changed files with 1 additions and 1 deletions

View File

@ -5929,7 +5929,7 @@ static void opentype_get_nominal_glyphs(struct scriptshaping_context *context, c
context->glyph_infos[i].mask |= rtlm_mask;
}
/* TODO: should this check for glyph availability? */
/* Glyph availability is not tested for a replacement digit. */
if (*context->u.subst.digits && codepoint >= '0' && codepoint <= '9')
codepoint = context->u.subst.digits[codepoint - '0'];