From a098453e4cabfe339417450c4df518575f5cb848 Mon Sep 17 00:00:00 2001 From: Volker Hilsheimer Date: Fri, 22 Jul 2022 16:14:19 +0200 Subject: Update freetype to 2.12.1 ftdebug.c files are new, adapted the import script to copy the source file for Windows as well. Updated the .pro file for 5.15, adding those source files that define symbols that were reported as unresolved when building. Fixes: QTBUG-105032 Change-Id: I1e846167b268df4b1b0a50dcec602def1a0bdcb4 Reviewed-by: Kai Koehne (cherry picked from commit e79d7f12e6ca15c499a553e4a701a2887e4b184c) Reviewed-by: Qt CI Bot Reviewed-by: Volker Hilsheimer --- .../include/freetype/internal/svginterface.h | 46 ++++++++++++++++++++++ 1 file changed, 46 insertions(+) create mode 100644 src/3rdparty/freetype/include/freetype/internal/svginterface.h (limited to 'src/3rdparty/freetype/include/freetype/internal/svginterface.h') diff --git a/src/3rdparty/freetype/include/freetype/internal/svginterface.h b/src/3rdparty/freetype/include/freetype/internal/svginterface.h new file mode 100644 index 0000000000..1b325e5e9d --- /dev/null +++ b/src/3rdparty/freetype/include/freetype/internal/svginterface.h @@ -0,0 +1,46 @@ +/**************************************************************************** + * + * svginterface.h + * + * Interface of ot-svg module (specification only). + * + * Copyright (C) 2022 by + * David Turner, Robert Wilhelm, Werner Lemberg, and Moazin Khatti. + * + * This file is part of the FreeType project, and may only be used, + * modified, and distributed under the terms of the FreeType project + * license, LICENSE.TXT. By continuing to use, modify, or distribute + * this file you indicate that you have read the license and + * understand and accept it fully. + * + */ + + +#ifndef SVGINTERFACE_H_ +#define SVGINTERFACE_H_ + +#include +#include + + +FT_BEGIN_HEADER + + typedef FT_Error + (*Preset_Bitmap_Func)( FT_Module module, + FT_GlyphSlot slot, + FT_Bool cache ); + + typedef struct SVG_Interface_ + { + Preset_Bitmap_Func preset_slot; + + } SVG_Interface; + + typedef SVG_Interface* SVG_Service; + +FT_END_HEADER + +#endif /* SVGINTERFACE_H_ */ + + +/* END */ -- cgit v1.2.3