commit 4ebaf18e9234bf58aae7a5c47fc15ec4c80812b6 from: Mechiel Lukkien via: David du Colombier <0intro@gmail.com> date: Fri Mar 23 11:05:33 2018 UTC fontsrv: skip only the surrogate pairs fontsrv wasn't rendering fontawesome icons, which uses the private use area around 0xf000. commit - 72fc31acb3d91224d1ebf8769076cc3c4e2d2ed5 commit + 4ebaf18e9234bf58aae7a5c47fc15ec4c80812b6 blob - f48f5b4967b2b607094cfdac0c41bc36e1512be6 blob + adb007c2e432e16d68e5194af519f20408dd2d45 --- src/cmd/fontsrv/osx.c +++ src/cmd/fontsrv/osx.c @@ -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