Add XXX note about Unicode Plane 16

This commit is contained in:
Behdad Esfahbod 2009-06-05 16:57:35 -04:00
parent efe5eae26b
commit 86bdf4598f
1 changed files with 3 additions and 3 deletions

View File

@ -143,12 +143,12 @@ FcCharSetPutLeaf (FcCharSet *fcs,
intptr_t *leaves = FcCharSetLeaves (fcs); intptr_t *leaves = FcCharSetLeaves (fcs);
FcChar16 *numbers = FcCharSetNumbers (fcs); FcChar16 *numbers = FcCharSetNumbers (fcs);
/* XXX We can't handle Unicode values in Plane 16 */
ucs4 >>= 8; ucs4 >>= 8;
if (ucs4 >= 0x10000) if (ucs4 >= 0x10000)
return FcFalse; return FcFalse;
if (!fcs->num)
leaves = malloc (sizeof (*leaves)); if (fcs->num == fcs->alloced)
else
{ {
intptr_t *new_leaves = realloc (leaves, (fcs->num + 1) * intptr_t *new_leaves = realloc (leaves, (fcs->num + 1) *
sizeof (*leaves)); sizeof (*leaves));