Lines Matching defs:categories
2747 static String categories[][6] = {
2780 for (i = 0; categories[i][0] != NULL; i++) {
2781 for (j = 0; categories[i][j] != NULL; j++) {
2782 categories[i][j] = Canonical(categories[i][j]);
2788 canonicalBold = categories[BOLDINDEX];
2789 canonicalLight = categories[LIGHTINDEX];
2790 canonicalBook = categories[BOOKINDEX];
2809 categories[BOLDINDEX] = categories[LIGHTINDEX] =
2810 categories[BOOKINDEX] = NULL;
2822 for (j = 0; categories[j][0] != NULL; j++) {
2823 for (k = 0; categories[j][k] != NULL; k++) {
2824 if (compare == categories[j][k]) {
2825 pieces[i++] = categories[j][0];
2843 if (pieces[0] == categories[ITALICINDEX] && numPieces < PIECEMAX-1) {
2845 pieces[0] = categories[NORMALINDEX];
2851 categories[BOLDINDEX] = canonicalBold;
2852 categories[LIGHTINDEX] = canonicalLight;
2853 categories[BOOKINDEX] = canonicalBook;
2856 pieces[i] = categories[DEMIINDEX];
2858 pieces[i] = categories[NORMALINDEX];
2860 pieces[i] = categories[NORMALINDEX];
2878 for (j = 0; categories[j][0] != NULL; j++) {
2879 for (k = 0; categories[j][k] != NULL; k++) {
2880 if (compare == categories[j][k]) {
2881 compare = categories[j][0];
2889 if (i == 0 && compare == categories[ITALICINDEX] &&
2890 pieces[0] == categories[NORMALINDEX] &&
2892 pieces[1] == categories[ITALICINDEX]) i = 1;
2915 categories[LIGHTINDEX] = canonicalLight;
2916 categories[BOOKINDEX] = canonicalBook;
2918 for (i = 0; categories[0][i] != NULL; i++) {
2925 if (categories[0][i] == compare) return face;