fix bug when fontgroup_create
Patch for macos
fix bug when fontgroup_create