Lines Matching refs:glyphs

78  * subsequent glyphs if defaultLayout is called after setting a glyph
121 * A font transform transforms both the baseline and all the glyphs
123 * If you do want to rotate individual glyphs, you need to apply a
128 * - select vertical metrics - glyphs are rotated pi/4 cc and vertical
139 private int[] glyphs; // always
140 private int[] userGlyphs; // used to return glyphs to the client.
156 private SoftReference fsref; // font strike reference for glyphs with no per-glyph transform
184 public StandardGlyphVector(Font font, FontRenderContext frc, int[] glyphs, float[] positions,
186 initGlyphVector(font, frc, glyphs, positions, indices, flags);
208 for (int i = j, n = 0; n < glyphs.length; i += 2) {
209 if (strike.getGlyphAdvance(glyphs[n++]) != 0) { // might be an inadequate test
220 public void initGlyphVector(Font font, FontRenderContext frc, int[] glyphs, float[] positions,
224 this.glyphs = glyphs;
225 this.userGlyphs = glyphs; // no need to check
244 public StandardGlyphVector(Font font, int[] glyphs, FontRenderContext frc) {
252 this.userGlyphs = glyphs;
253 this.glyphs = getValidatedGlyphs(this.userGlyphs);
306 return glyphs.length;
320 if (start > glyphs.length - count) { // watch out for overflow if index + count overlarge
337 if (ix < 0 && ix >= glyphs.length) {
342 return glyphs.length - 1 - ix;
350 if (start < 0 || count < 0 || (count > glyphs.length - start)) {
358 for (int i = 0, n = glyphs.length - 1 - start;
390 if (glyphs.length > 0) {
400 for (int i = 0; i < glyphs.length; ++i) {
419 return getGlyphsPixelBounds(renderFRC, x, y, 0, glyphs.length);
423 return getGlyphsOutline(0, glyphs.length, 0, 0);
427 return getGlyphsOutline(0, glyphs.length, x, y);
459 if (ix < 0 || ix >= glyphs.length) {
469 if (ix < 0 || ix >= glyphs.length) {
489 if (charIndices != null && glyphs.length > 1) {
516 if (start > glyphs.length + 1 - count) { // watch for overflow
524 if (ix < 0 || ix >= glyphs.length) {
530 lbcache = new Shape[glyphs.length];
549 Point2D.Float adv = gs.strike.getGlyphMetrics(glyphs[ix]);
574 if (ix < 0 || ix >= glyphs.length) {
580 vbcache = new Shape[glyphs.length];
599 if (ix < 0 || ix >= glyphs.length) {
610 getGlyphStrike(ix).strike.getGlyphMetrics(glyphs[ix]);
618 if (ix < 0 || ix >= glyphs.length) {
641 if (glyphs.length != other.glyphs.length) {
645 for (int i = 0; i < glyphs.length; ++i) {
646 if (glyphs[i] != other.glyphs[i]) {
693 return font.hashCode() ^ glyphs.length;
773 int requiredLength = glyphs.length * 2 + 2;
790 return internalGetGlyphPositions(0, glyphs.length + 1, 0, result);
794 * Get transform information for the requested range of glyphs.
795 * If no glyphs have a transform, return null.
801 if (start < 0 || count < 0 || start + count > glyphs.length) {
824 return getGlyphTransforms(0, glyphs.length, null);
842 setGlyphTransforms(srcTransforms, 0, 0, glyphs.length);
851 float[] result = new float[glyphs.length * 8];
852 for (int i = 0, n = 0; i < glyphs.length; ++i, n += 8) {
858 int glyphID = glyphs[i];
938 gs.strike.getGlyphImagePtrs(glyphs, images, glyphs.length);
942 System.arraycopy(this.positions, 0, positions, 0, glyphs.length * 2);
944 dtx.transform(this.positions, 0, positions, 0, glyphs.length);
1050 this.glyphs = userGlyphs;
1052 this.glyphs = getValidatedGlyphs(this.userGlyphs);
1076 * ready to handle as meaning invisible glyphs. The Font would report
1119 glyphs = new int[count]; // hmmm
1121 userGlyphs = glyphs;
1122 font2D.getMapper().charsToGlyphs(count, text, glyphs);
1151 * @param count the number of glyphs to get
1174 return getGlyphStrike(ix).getGlyphOutlineBounds(glyphs[ix], positions[ix*2], positions[ix*2+1]);
1189 getGlyphStrike(i).appendGlyphOutline(glyphs[i], result, px, py);
1219 fs.getGlyphImageBounds(glyphs[start++], pt, r);
1299 positions = new float[glyphs.length * 2 + 2];
1319 for (int i = 0, n = 2; i < glyphs.length; ++i, n += 2) {
1320 getGlyphStrike(i).addDefaultGlyphAdvance(glyphs[i], pt);
1446 // affects the time it takes to construct the glyphs, we try to keep the arrays as
1466 indices = new int[sgv.glyphs.length];
1592 int len = sgv.glyphs.length;
1597 int glyphID = sgv.glyphs[i];
1617 gs.strike.getGlyphImageBounds(sgv.glyphs[start++], pt, r);
1803 * unioning also needs to be aware to ignore empty glyphs.
1841 buf.append(", glyphs: (");
1842 buf.append(glyphs.length);
1844 for (int i = 0; i < glyphs.length; ++i) {
1848 buf.append(Integer.toHexString(glyphs[i]));