[1/2] gdi32: Return ANSI character code as glyph index for bitmap fonts.

Alexandre Julliard julliard at winehq.org
Tue Dec 10 12:36:34 CST 2013


Akihiro Sagawa <sagawa.aki at gmail.com> writes:

> @@ -5975,7 +5975,7 @@ static FT_UInt get_GSUB_vert_glyph(const GdiFont *font, UINT glyph)
>      return GSUB_apply_feature(header, feature, glyph);
>  }
>  
> -static FT_UInt get_glyph_index(const GdiFont *font, UINT glyph)
> +static FT_UInt get_glyph_index(const GdiFont *font, UINT glyph, BOOL ret_char_code)
>  {
>      FT_UInt glyphId;
>  

It would be better to have a separate function instead of having the
same function return two different types of index.

-- 
Alexandre Julliard
julliard at winehq.org



More information about the wine-devel mailing list