Skip to content

Update minimum FreeType to 2.10

Adrian Johnson requested to merge ajohnson/cairo:update-freetype into master

cairo-ft-font.c is full of a large number if include guards for FreeType API that in some cases is 10 - 20 years old. I've updated the minimum version of FreeType to 2.10 (released in 2019). This version includes all the API we use except for the COLRv1 and SVG API. Updating to this allows most of the include guards to be removed.

I've also updated FT_Get_X11_Font_Format, which was deprecated 10 years ago, to the new name.

Merge request reports