diff mde/font/font.d @ 83:2813ac68576f

Start of creating a separate gui demo module and leaving mde.d for testing.
author Diggory Hardy <diggory.hardy@gmail.com>
date Sat, 30 Aug 2008 10:54:32 +0100
parents 61ea26abe4dd
children e0f1ec7fe73a
line wrap: on
line diff
--- a/mde/font/font.d	Thu Aug 07 11:25:27 2008 +0100
+++ b/mde/font/font.d	Sat Aug 30 10:54:32 2008 +0100
@@ -68,8 +68,10 @@
             // Check version
             FT_Int maj, min, patch;
             FT_Library_Version (library, &maj, &min, &patch);
-            if (maj != 2 || min != 3)
+            if (maj != 2 || min != 3) {
                 logger.warn ("Using an untested FreeType version: {}.{}.{}", maj, min, patch);
+                logger.info ("The only tested version of freetype is 2.3.5");
+            }
             
             // Set LCD filtering method if LCD rendering is enabled.
             const RMF = FT_LOAD_TARGET_LCD | FT_LOAD_TARGET_LCD_V;