/openjdk7/jdk/src/windows/classes/sun/awt/windows/ |
H A D | WDefaultFontCharset.java | 37 private String fontName; field in class:WDefaultFontCharset 41 fontName = name;
|
H A D | WFontConfiguration.java | 106 public String getFallbackFamilyName(String fontName, String defaultFallback) { argument 110 String compatibilityName = getCompatibilityFamilyName(fontName); 134 protected Charset getDefaultFontCharset(String fontName) { argument 135 return new WDefaultFontCharset(fontName); 153 String fontName = findFontWithCharset(fontDescriptors, textInputCharset); 154 if (fontName == null) { 155 fontName = findFontWithCharset(fontDescriptors, "DEFAULT_CHARSET"); 157 return fontName; 161 String fontName = null; 165 fontName [all...] |
/openjdk7/jdk/test/java/awt/font/Threads/ |
H A D | FontThread.java | 34 String fontName = "Dialog"; field in class:FontThread 57 this.fontName = font; 61 System.out.println("started "+fontName); System.out.flush(); 63 System.out.println("done "+fontName); System.out.flush(); 67 Font f = new Font(fontName, Font.PLAIN, 12);
|
/openjdk7/jdk/src/macosx/classes/sun/font/ |
H A D | CFontConfiguration.java | 81 protected Charset getDefaultFontCharset(String fontName) { argument 101 public String getFallbackFamilyName(String fontName, argument
|
H A D | CFontManager.java | 90 String fontName = f.fullName; 93 if (fontName == null || "".equals(fontName)) { 101 if (logicalFont || !genericFonts.containsKey(fontName)) { 104 ", Font " + fontName + " rank="+rank); 115 genericFonts.put(fontName, f); 116 fullNameToFont.put(fontName.toLowerCase(Locale.ENGLISH), f); 120 return (Font2D)genericFonts.get(fontName); 259 void registerFont(String fontName, String fontFamilyName) { argument 260 final CFont font = new CFont(fontName, fontFamilyNam [all...] |
/openjdk7/hotspot/agent/src/share/classes/sun/jvm/hotspot/ui/ |
H A D | GraphicsUtilities.java | 39 public static Font lookupFont(String fontName) { argument 43 if (allFonts[i].getFontName().indexOf(fontName) != -1) {
|
/openjdk7/jdk/src/windows/classes/sun/awt/ |
H A D | Win32FontManager.java | 292 protected static native void registerFontWithPlatform(String fontName); argument 294 protected static native void deRegisterFontWithPlatform(String fontName); argument
|
/openjdk7/jdk/src/solaris/classes/sun/awt/motif/ |
H A D | MFontConfiguration.java | 221 public String getFallbackFamilyName(String fontName, String defaultFallback) { argument 224 String compatibilityName = getCompatibilityFamilyName(fontName); 257 protected Charset getDefaultFontCharset(String fontName) { argument 265 public String getMotifFontSet(String fontName, int style) { argument 266 assert isLogicalFontFamilyName(fontName); 267 fontName = fontName.toLowerCase(Locale.ENGLISH); 268 int fontIndex = getFontIndex(fontName);
|
/openjdk7/jdk/src/windows/native/sun/windows/ |
H A D | awt_Win32GraphicsEnv.cpp | 184 jstring fontName) 186 LPTSTR file = (LPTSTR)JNU_GetStringPlatformChars(env, fontName, JNI_FALSE); 189 JNU_ReleaseStringPlatformChars(env, fontName, file); 204 jstring fontName) 206 LPTSTR file = (LPTSTR)JNU_GetStringPlatformChars(env, fontName, JNI_FALSE); 209 JNU_ReleaseStringPlatformChars(env, fontName, file); 182 Java_sun_awt_Win32FontManager_registerFontWithPlatform(JNIEnv *env, jclass cl, jstring fontName) argument 202 Java_sun_awt_Win32FontManager_deRegisterFontWithPlatform(JNIEnv *env, jclass cl, jstring fontName) argument
|
H A D | awt_DesktopProperties.cpp | 98 // Does the actual lookup for shell dialog font (MS Shell Dlg). fontName 105 static LPTSTR resolveShellDialogFont(LPTSTR fontName, HKEY handle) { argument 107 if (RegQueryValueEx((HKEY)handle, fontName, NULL, 117 if (RegQueryValueEx((HKEY)handle, fontName, NULL, 703 jstring fontName = NULL; local 709 fontName = JNU_NewStringPlatform(GetEnv(), 716 fontName = JNU_NewStringPlatform(GetEnv(), 721 fontName = JNU_NewStringPlatform(GetEnv(), face); 737 key, fontName, style, pointSize); 738 GetEnv()->DeleteLocalRef(fontName); 748 jstring fontName; local [all...] |
H A D | awt_MenuItem.cpp | 468 jstring fontName = local 502 env->DeleteLocalRef(fontName); 536 jstring fontName = 539 JNU_PrintString(env, "font name", fontName);
|
H A D | awt_Font.cpp | 322 jstring fontName = (jstring)env->GetObjectField(font, local 324 wName = JNU_GetStringPlatformChars(env, fontName, NULL); 348 JNU_ReleaseStringPlatformChars(env, fontName, wName); 350 env->DeleteLocalRef(fontName); 1844 AwtFont::fontNameID = env->GetFieldID(cls, "fontName", 1870 jstring fontName = (jstring)env->GetObjectField(self, AwtFont::fontNameID); local 1871 DASSERT(fontName != NULL); 1872 LPCWSTR fontNameW = JNU_GetStringPlatformChars(env, fontName, NULL); 1874 JNU_ReleaseStringPlatformChars(env, fontName, fontNameW);
|
H A D | awt_PrintJob.cpp | 313 static jboolean jFontToWFontW(JNIEnv *env, HDC printDC, jstring fontName, 316 static jboolean jFontToWFontA(JNIEnv *env, HDC printDC, jstring fontName, 1872 (JNIEnv *env, jobject self, jlong printDC, jstring fontName, 1879 fontName, 1891 * is the device context we want to draw into. 'fontName' is 1898 static jboolean jFontToWFontA(JNIEnv *env, HDC printDC, jstring fontName, argument 1908 LPCWSTR fontNameW = JNU_GetStringPlatformChars(env, fontName, NULL); 2009 JNU_ReleaseStringPlatformChars(env, fontName, fontNameW); 2016 * is the device context we want to draw into. 'fontName' is 2023 static jboolean jFontToWFontW(JNIEnv *env, HDC printDC, jstring fontName, 1871 Java_sun_awt_windows_WPrinterJob_setFont(JNIEnv *env, jobject self, jlong printDC, jstring fontName, jfloat fontSize, jboolean isBold, jboolean isItalic, jint rotation, jfloat awScale) argument [all...] |
/openjdk7/jdk/src/solaris/classes/sun/font/ |
H A D | FcFontConfiguration.java | 129 public String getFallbackFamilyName(String fontName, argument 133 String compatibilityName = getCompatibilityFamilyName(fontName); 160 protected Charset getDefaultFontCharset(String fontName) { argument 176 public FontDescriptor[] getFontDescriptors(String fontName, int style) { argument 237 String fontName = publicFontNames[fontIndex]; 241 String faceName = fontName + "." + styleNames[styleIndex];
|
/openjdk7/jdk/src/share/classes/com/sun/java/swing/plaf/windows/ |
H A D | WindowsLookAndFeel.java | 1746 private Object getDesktopFontValue(String fontName, Object backup) { argument 1748 return new WindowsFontProperty(fontName, backup); 2315 private String fontName; field in class:WindowsLookAndFeel.WindowsFontSizeProperty 2319 WindowsFontSizeProperty(String key, String fontName, argument 2322 this.fontName = fontName; 2329 value = new FontUIResource(fontName, fontStyle, fontSize); 2332 value = new FontUIResource(fontName, fontStyle,
|
/openjdk7/jdk/src/share/classes/sun/awt/ |
H A D | FontConfiguration.java | 539 String fontName = fontNames[fontIndex]; 541 value = (String)localeMap.get(fontName + "." + styleName + "." + scriptName); 594 public static boolean isLogicalFontFamilyName(String fontName) { argument 595 return isLogicalFontFamilyNameLC(fontName.toLowerCase(Locale.ENGLISH)); 602 public static boolean isLogicalFontFamilyNameLC(String fontName) { argument 604 if (fontName.equals(fontNames[i])) { 627 public static boolean isLogicalFontFaceName(String fontName) { argument 628 return isLogicalFontFaceNameLC(fontName.toLowerCase(Locale.ENGLISH)); 635 public static boolean isLogicalFontFaceNameLC(String fontName) { argument 636 int period = fontName 647 getFontIndex(String fontName) argument 713 getFallbackFamilyName(String fontName, String defaultFallback) argument 720 getCompatibilityFamilyName(String fontName) argument 851 getFontDescriptors(String fontName, int style) argument 930 getFontCharsetEncoder(final String charsetName, String fontName) argument 976 getDefaultFontCharset( String fontName) argument [all...] |
/openjdk7/jdk/src/share/classes/sun/font/ |
H A D | SunFontManager.java | 746 String fontName = f.fullName; 748 if (fontName == null || "".equals(fontName)) { 751 if (compositeFonts.containsKey(fontName)) { 756 if (!physicalFonts.containsKey(fontName)) { 759 ", Font " + fontName + " rank="+rank); 761 physicalFonts.put(fontName, f); 769 fullNameToFont.put(fontName.toLowerCase(Locale.ENGLISH), f); 773 PhysicalFont oldFont = physicalFonts.get(fontName); 834 " font " + fontName 1866 getFileNameForFontName(String fontName) argument 3659 isNameForRegisteredFile(String fontName) argument [all...] |
/openjdk7/jdk/src/share/demo/jfc/Font2DTest/ |
H A D | FontPanel.java | 147 private String fontName = "Dialog"; field in class:FontPanel 187 testFont = new Font(fontName, fontStyle, (int)fontSize); 237 if ( !name.equals( fontName ) || style != fontStyle ) 240 fontName = name; 246 testFont = new Font(fontName, fontStyle, (int)fontSize); 371 options = ( fontName + "\n" + fontSize + "\n" + fontStyle + "\n" + 1060 String infoLine2 = ( "With " + fontName + " " + STYLES[fontStyle] + " at " +
|
/openjdk7/jdk/src/share/classes/javax/swing/text/html/ |
H A D | CSS.java | 2026 private void setFontName(FontFamily ff, String fontName) { argument 2027 ff.family = fontName;
|