Searched refs:xlfd (Results 1 - 8 of 8) sorted by relevance

/openjdk7/jdk/src/solaris/classes/sun/font/
H A DNativeFont.java105 String xlfd = platName.toLowerCase(Locale.ENGLISH);
106 if (xlfd.startsWith("-")) {
108 pos = xlfd.indexOf('-', pos);
119 String tmpFamily = xlfd.substring(hPos[1]+1, hPos[2]);
131 String tmpWeight = xlfd.substring(hPos[2]+1, hPos[3]);
132 String tmpSlant = xlfd.substring(hPos[3]+1, hPos[4]);
168 encoding = xlfd.substring(hPos[12]+1);
170 encoding = xlfd.substring(hPos[13]+1);
215 String xlfd = sb.toString();
218 bytes = xlfd
225 fontExists(String xlfd) argument
235 haveBitmapFonts(byte[] xlfd) argument
236 fontExists(byte[] xlfd) argument
[all...]
/openjdk7/jdk/src/solaris/native/sun/font/
H A DX11FontScaler.c86 char* xlfd = (char*)malloc(len+1); local
88 if (xlfd == NULL) {
92 (*env)->GetByteArrayRegion(env, xlfdBytes, 0, len, (jbyte*)xlfd);
93 xlfd[len] = '\0';
96 AWTLoadFont (xlfd, &(context->xFont));
97 free(xlfd);
154 char* xlfd = (char*)malloc(len+1); local
156 if (xlfd == NULL) {
160 (*env)->GetByteArrayRegion(env, xlfdBytes, 0, len, (jbyte*)xlfd);
161 xlfd[le
178 char* xlfd = (char*)malloc(len+1); local
[all...]
H A DX11FontScaler.h74 JNIEXPORT int JNICALL AWTCountFonts(char* xlfd);
/openjdk7/jdk/src/solaris/native/sun/awt/
H A Dmulti_font.c487 static void registerEncoding(char *xlfd, char *tag) argument
489 char *e = xlfd + strlen(xlfd);
492 do { --e; } while (e != xlfd && *e != '-');
493 do { --e; } while (e != xlfd && *e != '-');
494 if (e != xlfd) {
541 xf = loadFont(awt_display, fdata->flist[0].xlfd, size * 10);
544 /* printf("Cannot load font: %s\n", fdata->list[0].xlfd); */
555 registerEncoding(fdata->flist[0].xlfd, tag);
572 xf = loadFont(awt_display, fdata->flist[i].xlfd, siz
607 jstring xlfd = NULL; local
[all...]
H A Dawt_Font.c244 /* try the exact xlfd name in font configuration file */
558 * set xlfd name
572 fdata->flist[i].xlfd = malloc(strlen(nativename)
574 jio_snprintf(fdata->flist[i].xlfd, strlen(nativename) + 10,
611 loadFont(awt_display, fdata->flist[i].xlfd, size * 10);
963 free((void *)fdata->flist[i].xlfd);
H A Dawt_p.h265 char *xlfd; member in struct:awtFontList
/openjdk7/jdk/src/solaris/native/sun/java2d/x11/
H A DX11FontScaler_md.c114 JNIEXPORT int JNICALL AWTCountFonts(char* xlfd) { argument
122 names = XListFonts(awt_display, xlfd, 3, &count);
/openjdk7/jdk/src/solaris/classes/sun/awt/
H A DX11FontManager.java169 /* if it's headless, no xlfd should be used */
374 " xlfd=" + fontPart);
382 * this becomes important for an xlfd we
466 String xlfd = platName.replaceAll("%d", "*");
467 if (NativeFont.fontExists(xlfd)) {
468 return xlfd;
630 * xlfd key is stored as one of the set of platform names
659 // An X font spec (xlfd) includes an encoding. The same TrueType font file

Completed in 42 milliseconds