rem: if (!WMCountInArray(face->sizes, (void*)size)) { WMAddToArray(face->sizes, (void*)size); } } WMSortArray(face->sizes, compare_int);
add: for (j = 0; j < sizeof(scalableFontSizes)/sizeof(int); j++) { size = scalableFontSizes[j];  if (!WMCountInArray(face->sizes, (void*)size)) { WMAddToArray(face->sizes, (void*)size); } } WMSortArray(face->sizes, compare_int);
context: addSizeToTypeface(Typeface *face, int size){    if (size == 0) {	int j;			for (j = 0; j < sizeof(scalableFontSizes)/sizeof(int); j++) {	    size = scalableFontSizes[j];	    if (!WMCountInArray(face->sizes, (void*)size)) {		WMAddToArray(face->sizes, (void*)size);	    }	}	WMSortArray(face->sizes, compare_int);    } else {	if (!WMCountInArray(face->sizes, (void*)size)) {	    WMAddToArray(face->sizes, (void*)size);	    WMSortArray(face->sizes, compare_int);	}    }}