Searched refs:Font2D (Results 1 - 25 of 33) sorted by relevance

12

/openjdk7/jdk/src/share/classes/sun/font/
H A DFont2DHandle.java30 * reference a Font2D object. This introduces occasional minor
33 * A handle is created by a Font2D constructor and references
34 * the Font2D itself. In the event that the Font2D implementation
36 * it makes its handle point at another "stable" Font2D.
37 * Once all referers no longer have a reference to the Font2D it
40 * already using a bad Font2D (ie have already dereferenced the
56 * Font2D is held by
62 * the font. See FontManager.deRegisterBadFont(Font2D)
67 public Font2D font2
[all...]
H A DFontManager.java62 public void deRegisterBadFont(Font2D font2D);
71 public Font2D findFont2D(String name, int style, int fallback);
74 * Creates a Font2D for the specified font file, that is expected
86 * @return the created Font2D instance
88 public Font2D createFont2D(File fontFile, int fontFormat,
H A DFontStrikeDisposer.java56 Font2D font2D;
66 public FontStrikeDisposer(Font2D font2D, FontStrikeDesc desc,
74 public FontStrikeDisposer(Font2D font2D, FontStrikeDesc desc,
82 public FontStrikeDisposer(Font2D font2D, FontStrikeDesc desc,
89 public FontStrikeDisposer(Font2D font2D, FontStrikeDesc desc) {
H A DFontAccess.java44 public abstract Font2D getFont2D(Font f);
H A DFontFamily.java40 protected Font2D plain;
41 protected Font2D bold;
42 protected Font2D italic;
43 protected Font2D bolditalic;
59 static void remove(Font2D font2D) {
97 familyRank = Font2D.DEFAULT_RANK;
108 public void setFont(Font2D font, int style) {
143 public Font2D getFontWithExactStyleMatch(int style) {
172 public Font2D getFont(int style) {
220 Font2D getClosestStyl
[all...]
H A DFreetypeFontScaler.java61 public FreetypeFontScaler(Font2D font, int indexInCollection,
224 private native long initNativeScaler(Font2D font, int type,
226 private native StrikeMetrics getFontMetricsNative(Font2D font,
228 private native float getGlyphAdvanceNative(Font2D font,
230 private native void getGlyphMetricsNative(Font2D font,
233 private native long getGlyphImageNative(Font2D font,
235 private native Rectangle2D.Float getGlyphOutlineBoundsNative(Font2D font,
237 private native GeneralPath getGlyphOutlineNative(Font2D font,
240 private native GeneralPath getGlyphVectorOutlineNative(Font2D font,
243 native Point2D.Float getGlyphPointNative(Font2D fon
[all...]
H A DPhysicalFont.java37 public abstract class PhysicalFont extends Font2D {
45 ((Font2D)o).fullName.equals(this.fullName));
H A DSunFontManager.java174 protected ConcurrentHashMap<String, Font2D>
175 fullNameToFont = new ConcurrentHashMap<String, Font2D>();
424 registerFontsInDir(jreFontDirName, true, Font2D.JRE_RANK,
616 Font2D newFont = findFont2D(family, style, NO_FALLBACK);
645 addCompositeToFontList(cf, Font2D.FONT_CONFIG_RANK);
662 ConcurrentHashMap<String, Font2D>
678 * have a Font2D instance will have that re-directed to the new Font
686 Font2D oldFont = (Font2D)
800 if (oldFont.mapper != null && rank > Font2D
[all...]
H A DFontScaler.java68 * - scalers are disposed when associated Font2D object (e.g. TruetypeFont)
73 * - Majority of Font2D objects are linked from various mapping arrays
93 Class arglst[] = new Class[] {Font2D.class, int.class,
119 public static FontScaler getScaler(Font2D font,
156 protected WeakReference<Font2D> font = null;
H A DSunLayoutEngine.java126 public LayoutEngine getEngine(Font2D font, int script, int lang) {
155 Font2D font = key.font();
168 nativeLayout(Font2D font, FontStrike strike, float[] mat, int gmask,
H A DFontUtilities.java177 * @return the Font2D object returned by Font.getFont2D()
179 public static Font2D getFont2D(Font font) {
399 Font2D font2D = FontUtilities.getFont2D(font);
414 Font2D dialog = fm.findFont2D("dialog", font.getStyle(), FontManager.NO_FALLBACK);
505 Font2D font2D = getFont2D(font);
H A DNullFontScaler.java35 public NullFontScaler(Font2D font, int indexInCollection,
H A DGlyphLayout.java103 private Font2D font;
110 LayoutEngineKey(Font2D font, int script, int lang) {
114 void init(Font2D font, int script, int lang) {
124 Font2D font() {
159 public LayoutEngine getEngine(Font2D font, int script, int lang);
410 Font2D font2D = FontUtilities.getFont2D(font);
421 Font2D pfont = _fontRuns.getFont();
519 private void nextEngineRecord(int start, int limit, int script, int lang, Font2D font, int gmask) {
649 void init(int start, int limit, Font2D font, int script, int lang, int gmask) {
H A DFontStrikeDesc.java112 public static int getAAHintIntVal(Object aa, Font2D font2D, int ptSize) {
142 public static int getAAHintIntVal(Font2D font2D, Font font,
H A DFontResolver.java117 Font2D font2D = FontUtilities.getFont2D(font);
H A DCompositeFont.java41 public final class CompositeFont extends Font2D {
119 fontRank = Font2D.FONT_CONFIG_RANK;
/openjdk7/jdk/src/macosx/classes/sun/font/
H A DCStrikeDisposer.java53 public CStrikeDisposer(Font2D font2D, FontStrikeDesc desc,
60 public CStrikeDisposer(Font2D font2D, FontStrikeDesc desc,
67 public CStrikeDisposer(Font2D font2D, FontStrikeDesc desc,
74 public CStrikeDisposer(Font2D font2D, FontStrikeDesc desc) {
H A DCFontManager.java45 private static Hashtable<String, Font2D> genericFonts = new Hashtable<String, Font2D>();
77 // This is a way to register any kind of Font2D, not just files and composites.
78 public static Font2D[] getGenericFonts() {
79 return (Font2D[])genericFonts.values().toArray(new Font2D[0]);
82 public Font2D registerGenericFont(Font2D f)
86 public Font2D registerGenericFont(Font2D
[all...]
/openjdk7/jdk/src/solaris/classes/sun/font/
H A DNativeStrikeDisposer.java54 public NativeStrikeDisposer(Font2D font2D, FontStrikeDesc desc,
60 public NativeStrikeDisposer(Font2D font2D, FontStrikeDesc desc,
66 public NativeStrikeDisposer(Font2D font2D, FontStrikeDesc desc,
72 public NativeStrikeDisposer(Font2D font2D, FontStrikeDesc desc) {
H A DFontConfigManager.java278 Font2D f2d = fm.findFont2D(fcInfo.firstFont.familyName,
307 Font2D f2d = fm.findFont2D(fcInfo.firstFont.familyName,
326 int fontRank = Font2D.UNKNOWN_RANK;
330 fontRank = Font2D.TTF_RANK;
333 fontRank = Font2D.TYPE1_RANK;
402 Font2D f2D = family.getFontWithExactStyleMatch(fcInfo.style);
/openjdk7/jdk/src/share/classes/sun/java2d/loops/
H A DFontInfo.java31 import sun.font.Font2D;
40 * to the strike which also references the Font2D.
42 * there is still some potential for a bad Font2D to be used for a short
48 public Font2D font2D;
/openjdk7/jdk/src/share/classes/java/awt/
H A DFont.java54 import sun.font.Font2D;
227 public Font2D getFont2D(Font font) {
489 private Font2D getFont2D() {
610 /* Font2D instances created by this method track their font file
611 * so that when the Font2D is GC'd it can also remove the file.
638 * to break the tie with the original Font2D and find a new Font.
640 * what the Font2D and the values. To speed things along :
957 /* After all references to a Font2D are dropped, the file
2021 Font2D font2d = getFont2D();
2059 Font2D font2
[all...]
/openjdk7/jdk/src/share/classes/sun/java2d/
H A DSunGraphicsEnvironment.java63 import sun.font.Font2D;
/openjdk7/jdk/src/share/classes/sun/print/
H A DPathGraphics.java32 import sun.font.Font2D;
703 Font2D font2D = FontUtilities.getFont2D(font);
741 Font2D slotFont = cf.getSlotFont(slot);
1003 private static char[] getGlyphToCharMapForFont(Font2D font2D) {
/openjdk7/jdk/src/solaris/classes/sun/awt/
H A DX11GraphicsEnvironment.java48 import sun.font.Font2D;

Completed in 67 milliseconds

12