-static BOOL is_hinting_enabled(void)
-{
- static int enabled = -1;
-
- if (enabled == -1)
- {
- /* Use the >= 2.2.0 function if available */
- FT_TrueTypeEngineType type = FT_Get_TrueType_Engine_Type(g_FreeTypeLibrary);
- enabled = (type == FT_TRUETYPE_ENGINE_TYPE_PATENTED);
-
- DPRINT1("hinting is %senabled\n", enabled ? "" : "NOT ");
- }
- return enabled;
-}
-
-static BOOL is_subpixel_rendering_enabled( void )
-{
- static int enabled = -1;
- if (enabled == -1)
- {
- /* FreeType >= 2.8.1 offers LCD-optimezed rendering without lcd filters. */
- if (FT_SimpleVersion >= FT_VERSION_VALUE(2, 8, 1))
- enabled = TRUE;
- else enabled = FALSE;
-
- DPRINT1("subpixel rendering is %senabled\n", enabled ? "" : "NOT ");
- }
- return enabled;
-}
-