Remove FcInit() calls from tools

Library is supposed to automatically initialize itself.  If it doesn't,
it's a bug.
This commit is contained in:
Behdad Esfahbod 2013-01-03 20:33:34 -06:00
parent 102a4344dd
commit 17eda89ed2
5 changed files with 0 additions and 27 deletions

View File

@ -136,11 +136,6 @@ main (int argc, char **argv)
i = 1;
#endif
if (!FcInit ())
{
fprintf (stderr, "Can't init font config library\n");
return 1;
}
if (argv[i])
{
pat = FcNameParse ((FcChar8 *) argv[i]);

View File

@ -143,11 +143,6 @@ main (int argc, char **argv)
i = 1;
#endif
if (!FcInit ())
{
fprintf (stderr, "Can't init font config library\n");
return 1;
}
if (argv[i])
{
pat = FcNameParse ((FcChar8 *) argv[i]);

View File

@ -134,11 +134,6 @@ main (int argc, char **argv)
i = 1;
#endif
if (!FcInit ())
{
fprintf (stderr, "Can't init font config library\n");
return 1;
}
if (argv[i])
{
pat = FcNameParse ((FcChar8 *) argv[i]);

View File

@ -136,12 +136,6 @@ main (int argc, char **argv)
if (i == argc)
usage (argv[0], 1);
if (!FcInit ())
{
fprintf (stderr, "Can't init font config library\n");
return 1;
}
for (; i < argc; i++)
{
int index;

View File

@ -126,12 +126,6 @@ main (int argc, char **argv)
if (i == argc)
usage (argv[0], 1);
if (!FcInit ())
{
fprintf (stderr, "Can't init font config library\n");
return 1;
}
fs = FcFontSetCreate ();
for (; i < argc; i++)