(resend/renumber)[4/14]dwrite: implement a list of font data for IDWriteFontFamily

Alexandre Julliard julliard at winehq.org
Wed Sep 3 12:18:46 CDT 2014


Aric Stewart <aric at codeweavers.com> writes:

> There ends up being 2 ways that a IDWriteFont is created, one via
> existing data (as shown here) where we do not need the data
> initialized and one via an external resource (Such as a logfont or
> IDWriteFontFace) where we will use the initialized data.
>
> Would you prefer that I do not alloc/initialize the data in
> create_font and instead only alloc/initialize in the external resource
> case?

It would probably make more sense to have create_font_base allocate it
and then call create_font_from_data.

-- 
Alexandre Julliard
julliard at winehq.org



More information about the wine-devel mailing list