[PATCH v3 4/4] gdi32: Split create_face to a separate function.

Rémi Bernon rbernon at codeweavers.com
Mon Sep 21 04:08:26 CDT 2020


On 2020-09-21 11:02, Huw Davies wrote:
> On Thu, Sep 17, 2020 at 07:30:45PM +0200, Rémi Bernon wrote:
>> Make it not depend on FreeType so we can also use it before creating
>> FT_Face.
>>
>> We also open and fstat the file first, checking for its existence and
>> in preparation for mmaping it to parse the font info later.
> 
> This is probably fine as it stands, but it would be good to see a bit
> more of where you're going before making this change.
> 
> Huw.
> 

Sure, here's where I currently intend to go:

https://gitlab.com/rbernon/wine/-/commits/wip/freetype/v3/

I'll probably also drop the FreeType cache manager usage, as it's not 
really useful anymore (since we won't be loading so many fonts with 
FreeType). I had some additional patches that use it for all FreeType 
code in gdi32 (including for GdiFont), but I need to sort out some 
issues related to font lifecycle and some internal cache first.
-- 
Rémi Bernon <rbernon at codeweavers.com>



More information about the wine-devel mailing list