Searched refs:font (Results 1 - 25 of 386) sorted by relevance

1234567891011>>

/openjdk7/jdk/src/share/classes/sun/font/
H A DFont2DHandle.java26 package sun.font;
35 * determines it the font resource has errors (a bad font file)
50 * The net effect of these steps is that very soon after a font
61 * On discovering a bad font, all but the latter remove references to
62 * the font. See FontManager.deRegisterBadFont(Font2D)
69 public Font2DHandle(Font2D font) { argument
70 font2D = font;
H A DFontScalerException.java26 package sun.font;
H A DGlyphDisposedListener.java26 package sun.font;
H A DTextSource.java30 package sun.font;
33 import java.awt.font.FontRenderContext;
34 import java.awt.font.LineMetrics;
38 * All text in the source uses the same font, metrics, and render context,
H A DFontDesignMetrics.java26 package sun.font;
36 import java.awt.font.FontRenderContext;
37 import java.awt.font.TextLayout;
58 * specify the size of glyphs in a font. This point size defines a
70 * The FontDesignMetrics class expresses font metrics in terms of arbitrary
71 * <i>typographic units</i> (not points) chosen by the font supplier
72 * and used in the underlying platform font representations. These units are
75 * font. A typographic unit is the smallest measurable unit in the
76 * em-square. The number of units-per-em is determined by the font
85 * in a 9-point font
121 private Font font; field in class:FontDesignMetrics
203 Font font; field in class:FontDesignMetrics.MetricsKey
210 MetricsKey(Font font, FontRenderContext frc) argument
214 init(Font font, FontRenderContext frc) argument
249 getMetrics(Font font) argument
253 getMetrics(Font font, FontRenderContext frc) argument
333 FontDesignMetrics(Font font) argument
339 FontDesignMetrics(Font font, FontRenderContext frc) argument
[all...]
H A DSunLayoutEngine.java31 package sun.font;
33 import sun.font.GlyphLayout.*;
43 * 2) we keep a mapping independent of font using the key Most likely
46 * Once we know which engine to use for a font, we always know, so we
51 * font/script pair. The engine would hold onto the table(s) from the
52 * font that it needs. If we have multiple threads using the same
58 * still requires a separate layout engine per font, because of the
66 * potentially half a dozen per font. But we'd have to stack-allocate
67 * some state that included the pointer to the required font tables.
70 * selector and the font
126 getEngine(Font2D font, int script, int lang) argument
168 nativeLayout(Font2D font, FontStrike strike, float[] mat, int gmask, int baseIndex, char[] chars, int offset, int limit, int min, int max, int script, int lang, int typo_flags, Point2D.Float pt, GVData data, long upem, long layoutTables) argument
[all...]
H A DTrueTypeGlyphMapper.java26 package sun.font;
46 TrueTypeFont font; field in class:TrueTypeGlyphMapper
50 public TrueTypeGlyphMapper(TrueTypeFont font) { argument
51 this.font = font;
53 cmap = CMap.initialize(font);
61 ByteBuffer buffer = font.getTableBuffer(TrueTypeFont.maxpTag);
63 if (FontUtilities.isSolaris && isJAlocale && font.supportsJA()) {
87 (font + " out of range glyph id=" +
101 FontUtilities.getLogger().severe("Null Cmap for " + font
[all...]
/openjdk7/jdk/src/solaris/native/sun/awt/
H A Dawt_MenuComponent.h29 jfieldID font; member in struct:MenuComponentIDs
H A Dmulti_font.h36 XmString awtJNI_MakeMultiFontString(JNIEnv *env,jstring s,jobject font);
37 XmFontList awtJNI_GetFontList(JNIEnv *env,jobject font);
39 XFontSet awtJNI_MakeFontSet(JNIEnv *env,jobject font);
40 struct FontData *awtJNI_GetFontData(JNIEnv *env,jobject font, char **errmsg);
42 int32_t length, jobject font);
/openjdk7/jdk/src/windows/classes/sun/awt/windows/
H A DWFontMetrics.java32 * A font metrics object for a WServer font.
48 * The standard ascent of the font. This is the logical height
51 * characters in the font may extend above this height.
56 * The standard descent of the font. This is the logical height
59 * characters in the font may extend below this height.
64 * The standard leading for the font. This is the logical amount
72 * The standard height of a line of text in this font. This is
82 * The maximum ascent for all characters in this font. No character
88 * The maximum descent for all characters in this font
112 WFontMetrics(Font font) argument
192 getFontMetrics(Font font) argument
[all...]
/openjdk7/jdk/src/share/demo/jfc/SampleTree/
H A DSampleData.java52 protected Font font; field in class:SampleData
63 font = newFont;
69 * Sets the font that is used to represent this object.
72 font = newFont;
79 return font;
/openjdk7/jdk/src/solaris/native/sun/font/
H A DX11FontScaler.h69 * Important note : All AWTxxx functions are defined in font.h.
76 JNIEXPORT void JNICALL AWTFreeFont(AWTFont font);
77 JNIEXPORT unsigned JNICALL AWTFontMinByte1(AWTFont font);
78 JNIEXPORT unsigned JNICALL AWTFontMaxByte1(AWTFont font);
79 JNIEXPORT unsigned JNICALL AWTFontMinCharOrByte2(AWTFont font);
80 JNIEXPORT unsigned JNICALL AWTFontMaxCharOrByte2(AWTFont font);
81 JNIEXPORT unsigned JNICALL AWTFontDefaultChar(AWTFont font);
83 JNIEXPORT AWTChar JNICALL AWTFontPerChar(AWTFont font, int index);
84 JNIEXPORT AWTChar JNICALL AWTFontMaxBounds(AWTFont font);
85 JNIEXPORT int JNICALL AWTFontAscent(AWTFont font);
[all...]
/openjdk7/jdk/src/share/classes/javax/swing/plaf/
H A DFontUIResource.java34 * UI classes which set default font properties should use
42 * of all JavaBeans<sup><font size="-2">TM</font></sup>
56 public FontUIResource(Font font) { argument
57 super(font);
/openjdk7/jdk/test/java/awt/font/TextLayout/
H A DCombiningPerf.java34 import java.awt.font.FontRenderContext;
35 import java.awt.font.TextLayout;
40 private static Font font; field in class:CombiningPerf
48 font = new Font("Lucida Sans Regular", PLAIN, 12);
57 TextLayout tl = new TextLayout(french, font, frc);
58 tl = new TextLayout(ascii, font, frc);
59 tl = new TextLayout(frenchX, font, frc);
81 TextLayout tl = new TextLayout(text, font, frc);
/openjdk7/jdk/src/share/classes/sun/java2d/pipe/
H A DAATextRenderer.java28 import java.awt.font.GlyphVector;
30 import sun.font.GlyphList;
H A DLCDTextRenderer.java28 import java.awt.font.GlyphVector;
30 import sun.font.GlyphList;
H A DSolidTextRenderer.java28 import java.awt.font.GlyphVector;
31 import sun.font.GlyphList;
/openjdk7/jdk/test/java/awt/FontClass/SurrogateTest/
H A DSuppCharTest.java32 import java.awt.font.*;
42 final Font font = new Font(EXTB_FONT, Font.PLAIN, 36);
43 if (!EXTB_FONT.equalsIgnoreCase(font.getFamily(Locale.ENGLISH))) {
51 Component c = new SuppCharComp(font, str);
54 b.setFont(font);
67 GlyphVector gv = font.createGlyphVector(frc, str);
82 if (font.canDisplayUpTo(str) != -1) {
97 Font font = null; field in class:SuppCharComp
98 public SuppCharComp(Font font, String str) { argument
99 this.font
[all...]
/openjdk7/jdk/src/share/classes/sun/java2d/loops/
H A DFontInfo.java31 import sun.font.Font2D;
32 import sun.font.FontStrike;
33 import sun.font.FontStrikeDesc;
47 public Font font; field in class:FontInfo
79 "font="+font+", "+
/openjdk7/jdk/src/solaris/classes/sun/awt/motif/
H A DX11FontMetrics.java33 * A font metrics object for a WServer font.
44 * The standard ascent of the font. This is the logical height
47 * characters in the font may extend above this height.
52 * The standard descent of the font. This is the logical height
55 * characters in the font may extend below this height.
60 * The standard leading for the font. This is the logical amount
68 * The standard height of a line of text in this font. This is
78 * The maximum ascent for all characters in this font. No character
84 * The maximum descent for all characters in this font
118 X11FontMetrics(Font font) argument
205 getMFCharsWidth(char chars[], int offset, int length, Font font) argument
223 getFontMetrics(Font font) argument
[all...]
/openjdk7/jdk/src/share/classes/java/awt/
H A DFontMetrics.java29 import java.awt.font.FontRenderContext;
30 import java.awt.font.LineMetrics;
35 * The <code>FontMetrics</code> class defines a font metrics object, which
36 * encapsulates information about the rendering of a particular font on a
67 * In addition, every character in a font has an <i>ascent</i>, a
92 * generally independent of the rotation applied to the font (modulo
113 * The actual {@link Font} from which the font metrics are
120 protected Font font; field in class:FontMetrics
131 * @param font the <code>Font</code>
134 protected FontMetrics(Font font) { argument
[all...]
/openjdk7/jdk/src/share/classes/javax/swing/text/html/
H A Ddefault.css29 body {font-size: 14pt;
30 font-family: Serif;
31 font-weight: normal;
38 h1 {font-size: x-large;
39 font-weight: bold;
43 h2 {font-size: large;
44 font-weight: bold;
48 h3 {font-size: medium;
49 font-weight: bold;
53 h4 {font
[all...]
/openjdk7/jdk/src/share/demo/java2d/J2DBench/src/j2dbench/tests/text/
H A DTextConstructionTests.java50 import java.awt.font.FontRenderContext;
51 import java.awt.font.GlyphVector;
52 import java.awt.font.TextLayout;
108 gv = font.createGlyphVector(frc, text);
127 final Font font = tcctx.font;
132 gv = font.createGlyphVector(frc, text);
144 final Font font = tcctx.font;
149 gv = font
[all...]
/openjdk7/jdk/src/share/classes/java/awt/font/
H A DLayoutPath.java28 package java.awt.font;
H A DLineMetrics.java26 package java.awt.font;

Completed in 153 milliseconds

1234567891011>>