Commit 7c12181f authored by Behdad Esfahbod's avatar Behdad Esfahbod

Improve charset printing

parent d2c8ac37
......@@ -116,13 +116,13 @@ FcCharSetPrint (const FcCharSet *c)
}
#endif
printf ("\n");
for (i = 0; i < c->num; i++)
{
intptr_t leaf_offset = leaves[i];
FcCharLeaf *leaf = FcOffsetToPtr (leaves, leaf_offset, FcCharLeaf);
if (i)
printf ("\t");
printf ("\t");
printf ("%04x:", numbers[i]);
for (j = 0; j < 256/32; j++)
printf (" %08x", leaf->map[j]);
......
......@@ -61,7 +61,7 @@ FcFreeTypeLangSet (const FcCharSet *charset,
return 0;
if (FcDebug() & FC_DBG_LANGSET)
{
printf ("font charset\n");
printf ("font charset");
FcCharSetPrint (charset);
printf ("\n");
}
......@@ -69,7 +69,7 @@ FcFreeTypeLangSet (const FcCharSet *charset,
{
if (FcDebug() & FC_DBG_LANGSET)
{
printf ("%s charset\n", fcLangCharSets[i].lang);
printf ("%s charset", fcLangCharSets[i].lang);
FcCharSetPrint (&fcLangCharSets[i].charset);
printf ("\n");
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment