Lines Matching defs:char_code
56 grub_uint32_t char_code;
170 grub_uint32_t char_code, int nocut)
193 err, glyph_idx, char_code & GRUB_FONT_CODE_CHAR_MASK,
194 char_code & GRUB_FONT_CODE_RIGHT_JOINED
195 ? ((char_code & GRUB_FONT_CODE_LEFT_JOINED) ? _(" (medial)"):
197 : ((char_code & GRUB_FONT_CODE_LEFT_JOINED) ? _(" (rightmost)"):
213 printf ("%x\n", char_code);
277 glyph_info->char_code = char_code;
316 grub_uint32_t char_code, int nocut)
321 glyph_idx = FT_Get_Char_Index (face, char_code);
324 add_glyph (font_info, glyph_idx, face, char_code, nocut);
329 char_code | GRUB_FONT_CODE_RIGHT_JOINED, nocut);
332 if (!cur && char_code >= GRUB_UNICODE_ARABIC_START
333 && char_code < GRUB_UNICODE_ARABIC_END)
337 if (grub_unicode_arabic_shapes[i].code == char_code
345 char_code | GRUB_FONT_CODE_RIGHT_JOINED, nocut);
355 char_code | GRUB_FONT_CODE_LEFT_JOINED, nocut);
358 if (!cur && char_code >= GRUB_UNICODE_ARABIC_START
359 && char_code < GRUB_UNICODE_ARABIC_END)
363 if (grub_unicode_arabic_shapes[i].code == char_code
371 char_code | GRUB_FONT_CODE_LEFT_JOINED, nocut);
380 char_code | GRUB_FONT_CODE_LEFT_JOINED
384 if (!cur && char_code >= GRUB_UNICODE_ARABIC_START
385 && char_code < GRUB_UNICODE_ARABIC_END)
389 if (grub_unicode_arabic_shapes[i].code == char_code
397 char_code | GRUB_FONT_CODE_LEFT_JOINED
692 grub_uint32_t char_code, glyph_index;
694 for (char_code = FT_Get_First_Char (face, &glyph_index);
696 char_code = FT_Get_Next_Char (face, char_code, &glyph_index))
697 add_char (font_info, face, char_code, nocut);
743 printf (_("\nGlyph #%d, U+%04x\n"), num, glyph->char_code);
820 /* printf ("Width or height from glyph U+%04x not supported, skipping.\n", glyph->char_code); */
852 out[glyph->char_code >> 3] |= (1 << (glyph->char_code & 7));
965 data32 = grub_cpu_to_be32 (cur->char_code);
1200 counter[(cur->char_code & 0xffff) + 1]++;
1206 tmp[counter[(cur->char_code & 0xffff)]++] = *cur;
1211 counter[((cur->char_code & 0xffff0000) >> 16) + 1]++;
1217 font_info.glyphs_sorted[counter[(cur->char_code & 0xffff0000) >> 16]++]