Home | History | Annotate | Download | only in src

Lines Matching refs:glyphs

487 	       _Xconst FT_UInt	*glyphs,
500 0, 0, x, y, glyphs, nglyphs);
505 XftGlyphCore (draw, color, pub, x, y, glyphs, nglyphs);
518 FT_UInt *glyphs, glyphs_local[NUM_LOCAL];
525 glyphs = glyphs_local;
528 glyphs = AllocUIntArray (len);
529 if (!glyphs)
533 glyphs[i] = XftCharIndex (draw->dpy, pub, string[i]);
534 XftDrawGlyphs (draw, color, pub, x, y, glyphs, len);
535 if (glyphs != glyphs_local)
536 free (glyphs);
548 FT_UInt *glyphs, glyphs_local[NUM_LOCAL];
555 glyphs = glyphs_local;
558 glyphs = AllocUIntArray (len);
559 if (!glyphs)
563 glyphs[i] = XftCharIndex (draw->dpy, pub, string[i]);
565 XftDrawGlyphs (draw, color, pub, x, y, glyphs, len);
566 if (glyphs != glyphs_local)
567 free (glyphs);
579 FT_UInt *glyphs, glyphs_local[NUM_LOCAL];
586 glyphs = glyphs_local;
589 glyphs = AllocUIntArray (len);
590 if (!glyphs)
594 glyphs[i] = XftCharIndex (draw->dpy, pub, string[i]);
596 XftDrawGlyphs (draw, color, pub, x, y, glyphs, len);
597 if (glyphs != glyphs_local)
598 free (glyphs);
610 FT_UInt *glyphs, *glyphs_new, glyphs_local[NUM_LOCAL];
620 glyphs = glyphs_local;
629 if (glyphs != glyphs_local)
630 free (glyphs);
633 memcpy (glyphs_new, glyphs, (size_t)size * sizeof (FT_UInt));
635 if (glyphs != glyphs_local)
636 free (glyphs);
637 glyphs = glyphs_new;
639 glyphs[i++] = XftCharIndex (draw->dpy, pub, ucs4);
643 XftDrawGlyphs (draw, color, pub, x, y, glyphs, i);
644 if (glyphs != glyphs_local)
645 free (glyphs);
658 FT_UInt *glyphs, *glyphs_new, glyphs_local[NUM_LOCAL];
668 glyphs = glyphs_local;
677 if (glyphs != glyphs_local)
678 free (glyphs);
681 memcpy (glyphs_new, glyphs, (size_t)size * sizeof (FT_UInt));
683 if (glyphs != glyphs_local)
684 free (glyphs);
685 glyphs = glyphs_new;
687 glyphs[i++] = XftCharIndex (draw->dpy, pub, ucs4);
691 XftDrawGlyphs (draw, color, pub, x, y, glyphs, i);
692 if (glyphs != glyphs_local)
693 free (glyphs);
700 glyphs,
714 0, 0, glyphs, len);
720 XftGlyphSpecCore (draw, color, pub, glyphs, len);
727 _Xconst XftGlyphFontSpec *glyphs,
737 if (((XftFontInt *) glyphs[i].font)->format)
740 while (i < len && ((XftFontInt *) glyphs[i].font)->format)
747 0, 0, glyphs + start , i - start);
752 while (i < len && !((XftFontInt *) glyphs[i].font)->format)
755 XftGlyphFontSpecCore (draw, color, glyphs + start, i - start);
767 XftGlyphSpec *glyphs, glyphs_local[NUM_LOCAL];
774 glyphs = glyphs_local;
777 glyphs = AllocGlyphSpecArray (len);
778 if (!glyphs)
783 glyphs[i].glyph = XftCharIndex(draw->dpy, pub, chars[i].ucs4);
784 glyphs[i].x = chars[i].x;
785 glyphs[i].y = chars[i].y;
788 XftDrawGlyphSpec (draw, color, pub, glyphs, len);
789 if (glyphs != glyphs_local)
790 free (glyphs);
799 XftGlyphFontSpec *glyphs, glyphs_local[NUM_LOCAL];
806 glyphs = glyphs_local;
809 glyphs = AllocGlyphFontSpecArray (len);
810 if (!glyphs)
815 glyphs[i].font = chars[i].font;
816 glyphs[i].glyph = XftCharIndex(draw->dpy, glyphs[i].font, chars[i].ucs4);
817 glyphs[i].x = chars[i].x;
818 glyphs[i].y = chars[i].y;
821 XftDrawGlyphFontSpec (draw, color, glyphs, len);
822 if (glyphs != glyphs_local)
823 free (glyphs);