|
@@ -6,7 +6,7 @@
|
|
|
* PURPOSE: Generates the font configuration file by scanning various
|
|
|
* directories for GRASS stroke and Freetype-compatible fonts.
|
|
|
*
|
|
|
- * COPYRIGHT: (C) 2007 by the GRASS Development Team
|
|
|
+ * COPYRIGHT: (C) 2007-215 by the GRASS Development Team
|
|
|
*
|
|
|
* This program is free software under the GNU General Public
|
|
|
* License (>=v2). Read the file COPYING that comes with GRASS
|
|
@@ -23,6 +23,7 @@
|
|
|
|
|
|
#include <grass/gis.h>
|
|
|
#include <grass/fontcap.h>
|
|
|
+#include <grass/glocale.h>
|
|
|
|
|
|
#include "local_proto.h"
|
|
|
|
|
@@ -51,7 +52,7 @@ void find_freetype_fonts(void)
|
|
|
int i;
|
|
|
|
|
|
if (FT_Init_FreeType(&ftlibrary) != 0)
|
|
|
- G_fatal_error("Unable to initialise Freetype");
|
|
|
+ G_fatal_error(_("Unable to initialise Freetype"));
|
|
|
|
|
|
for (i = 0; i < numsearchdirs; i++)
|
|
|
find_fonts(searchdirs[i]);
|