Add XXX note about Unicode Plane 16
This commit is contained in:
parent
efe5eae26b
commit
86bdf4598f
|
@ -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));
|
||||||
|
|
Loading…
Reference in New Issue