Lines Matching refs:slot
70 public final int compositeGlyphCode(int slot, int glyphCode) {
71 return (slot << 24 | (glyphCode & GLYPHMASK));
80 /* This requires that slot 0 is never empty. */
111 private final CharToGlyphMapper getSlotMapper(int slot) {
112 CharToGlyphMapper mapper = slotMappers[slot];
114 mapper = font.getSlotFont(slot).getMapper();
115 slotMappers[slot] = mapper;
122 for (int slot = 0; slot < font.numSlots; slot++) {
123 if (!hasExcludes || !font.isExcludedChar(slot, unicode)) {
124 CharToGlyphMapper mapper = getSlotMapper(slot);
127 glyphCode = compositeGlyphCode(slot, glyphCode);
145 * needed. For now just use the first slot as JDK 1.4 did.
147 for (int slot=0; slot<1 /*font.numSlots*/; slot++) {
148 CharToGlyphMapper mapper = slotMappers[slot];
150 mapper = font.getSlotFont(slot).getMapper();
151 slotMappers[slot] = mapper;
221 i += 1; // Empty glyph slot after surrogate
249 i += 1; // Empty glyph slot after surrogate