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:
parent
0631cecd52
commit
ec648ea7d0
|
@ -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'];
|
||||
|
||||
|
|
Loading…
Reference in New Issue