6321N/A * Copyright (c) 1998, 2003, Oracle and/or its affiliates. All rights reserved. 0N/A * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 0N/A * This code is free software; you can redistribute it and/or modify it 0N/A * under the terms of the GNU General Public License version 2 only, as 2362N/A * published by the Free Software Foundation. Oracle designates this 0N/A * particular file as subject to the "Classpath" exception as provided 2362N/A * by Oracle in the LICENSE file that accompanied this code. 0N/A * This code is distributed in the hope that it will be useful, but WITHOUT 0N/A * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or 0N/A * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License 0N/A * version 2 for more details (a copy is included in the LICENSE file that 0N/A * accompanied this code). 0N/A * You should have received a copy of the GNU General Public License version 0N/A * 2 along with this work; if not, write to the Free Software Foundation, 0N/A * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 2362N/A * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA 2362N/A * or visit www.oracle.com if you need additional information or have any 0N/A * (C) Copyright IBM Corp. 1998-2003 All Rights Reserved 0N/A * A factory for text labels. Basically this just holds onto the stuff that 0N/A * doesn't change-- the render context, context, and bidi info for the context-- and gets 0N/A * called for each subrange you want to create. 0N/A * @see FontRenderContext 0N/A * @see ExtendedTextLabel 0N/A * Initialize a factory to produce glyph arrays. 6321N/A * @param frc the FontRenderContext to use for the arrays to be produced. 0N/A * @param text the text of the paragraph. 0N/A * @param bidi the bidi information for the paragraph text, or null if the 0N/A * entire text is left-to-right text. 0N/A * Set a line context for the factory. Shaping only occurs on this line. 0N/A * Characters are ordered as they would appear on this line. 0N/A * @param lineStart the index within the text of the start of the line. 0N/A * @param lineLimit the index within the text of the limit of the line. 0N/A * Create an extended glyph array for the text between start and limit. 0N/A * @param font the font to use to generate glyphs and character positions. 0N/A * @param start the start of the subrange for which to create the glyph array 0N/A * @param limit the limit of the subrange for which to create glyph array 0N/A * Start and limit must be within the bounds of the current line. If no 0N/A * line context has been set, the entire text is used as the current line. 0N/A * The text between start and limit will be treated as though it all has 0N/A * the same bidi level (and thus the same directionality) as the character 0N/A * at start. Clients should ensure that all text between start and limit 0N/A * has the same bidi level for the current line. 0N/A * Create a simple glyph array for the text between start and limit. 0N/A * @param font the font to use to generate glyphs and character positions. 0N/A * @param start the start of the subrange for which to create the glyph array 6321N/A * @param limit the limit of the subrange for which to create glyph array