Lines Matching refs:slot

55     int localeSlot = -1; // primary slot for this locale.
148 * one pre-pended as slot 0.
165 * it is harmless that we do not know a slot is already initialised
207 * This code allows for initialisation of each slot on demand.
228 private void doDeferredInitialisation(int slot) {
229 if (deferredInitialisation[slot] == false) {
243 if (components[slot] == null) {
254 componentFileNames[slot] != null) {
255 components[slot] =
256 fm.initialiseDeferredFont(componentFileNames[slot]);
259 if (components[slot] == null) {
260 components[slot] = fm.getDefaultPhysicalFont();
262 String name = components[slot].getFontName(null);
263 if (componentNames[slot] == null) {
264 componentNames[slot] = name;
265 } else if (!componentNames[slot].equalsIgnoreCase(name)) {
266 components[slot] =
267 (PhysicalFont) fm.findFont2D(componentNames[slot],
272 deferredInitialisation[slot] = false;
281 for (int slot=0; slot<numSlots; slot++) {
282 if (components[slot] == oldFont) {
283 components[slot] = newFont;
285 componentNames[slot] = newFont.getFontName(null);
291 public boolean isExcludedChar(int slot, int charcode) {
294 slot >= numMetricsSlots) {
299 int maxIndex = maxIndices[slot];
300 if (slot > 0) {
301 minIndex = maxIndices[slot - 1];
327 public PhysicalFont getSlotFont(int slot) {
329 * initialisation: a boolean test on obtaining a slot font,
330 * which will happen per slot, on initialisation of a strike
333 if (deferredInitialisation[slot]) {
334 doDeferredInitialisation(slot);
338 PhysicalFont font = components[slot];
342 findFont2D(componentNames[slot], style,
344 components[slot] = font;
360 * physical font as the first slot and called by code which
374 int slot = glyphCode >>> 24;
375 if (slot >= numSlots) {
380 PhysicalFont slotFont = getSlotFont(slot);
421 /* Find the first slot that supports the default encoding and use
430 * encoding with that first slot. In such a case check all slots.
436 for (int slot=0; slot<numCoreSlots; slot++) {
437 if (getSlotFont(slot).supportsEncoding(null)) {
438 localeSlot = slot;