Improve charset printing
This commit is contained in:
parent
d2c8ac373e
commit
7c12181f7a
|
@ -116,12 +116,12 @@ 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 ("%04x:", numbers[i]);
|
||||
for (j = 0; j < 256/32; 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");
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue