< prev index next >

src/java.desktop/share/classes/sun/font/GlyphList.java

Print this page

        

*** 1,7 **** /* ! * Copyright (c) 2000, 2013, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 only, as * published by the Free Software Foundation. Oracle designates this --- 1,7 ---- /* ! * Copyright (c) 2000, 2018, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 only, as * published by the Free Software Foundation. Oracle designates this
*** 81,92 **** private static final int MINGRAYLENGTH = 1024; private static final int MAXGRAYLENGTH = 8192; private static final int DEFAULT_LENGTH = 32; int glyphindex; ! int metrics[]; ! byte graybits[]; /* A reference to the strike is needed for the case when the GlyphList * may be added to a queue for batch processing, (e.g. OpenGL) and we need * to be completely certain that the strike is still valid when the glyphs * images are later referenced. This does mean that if such code discards --- 81,92 ---- private static final int MINGRAYLENGTH = 1024; private static final int MAXGRAYLENGTH = 8192; private static final int DEFAULT_LENGTH = 32; int glyphindex; ! int[] metrics; ! byte[] graybits; /* A reference to the strike is needed for the case when the GlyphList * may be added to a queue for batch processing, (e.g. OpenGL) and we need * to be completely certain that the strike is still valid when the glyphs * images are later referenced. This does mean that if such code discards
*** 105,118 **** * still be higher in those cases. */ int len = 0; int maxLen = 0; int maxPosLen = 0; ! int glyphData[]; ! char chData[]; ! long images[]; ! float positions[]; float x, y; float gposx, gposy; boolean usePositions; /* lcdRGBOrder is used only by LCD text rendering. Its here because --- 105,118 ---- * still be higher in those cases. */ int len = 0; int maxLen = 0; int maxPosLen = 0; ! int[] glyphData; ! char[] chData; ! long[] images; ! float[] positions; float x, y; float gposx, gposy; boolean usePositions; /* lcdRGBOrder is used only by LCD text rendering. Its here because
< prev index next >