fontsrv: skip only the surrogate pairs
fontsrv wasn't rendering fontawesome icons, which uses the private use area around 0xf000.
This commit is contained in:
parent
72fc31acb3
commit
4ebaf18e92
1 changed files with 1 additions and 1 deletions
|
|
@ -30,7 +30,7 @@ mapUnicode(char *name, int i)
|
|||
{
|
||||
int j;
|
||||
|
||||
if(0xd800 <= i && i < 0xe0000) // surrogate pairs, will crash OS X libraries!
|
||||
if(0xd800 <= i && i < 0xe000) // surrogate pairs, will crash OS X libraries!
|
||||
return 0xfffd;
|
||||
for(j=0; j<nelem(skipquotemap); j++) {
|
||||
if(strstr(name, skipquotemap[j]))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue