< prev index next >
src/java.desktop/unix/native/libawt_xawt/awt/awt_InputMethod.c
Print this page
*** 674,686 ****
if (statusWindow == NULL){
THROW_OUT_OF_MEMORY_ERROR();
return NULL;
}
statusWindow->w = status;
! //12-point font
statusWindow->fontset = XCreateFontSet(dpy,
! "-*-*-medium-r-normal-*-*-120-*-*-*-*",
&mclr, &mccr, &dsr);
/* In case we didn't find the font set, release the list of missing characters */
if (mccr > 0) {
XFreeStringList(mclr);
}
--- 674,687 ----
if (statusWindow == NULL){
THROW_OUT_OF_MEMORY_ERROR();
return NULL;
}
statusWindow->w = status;
! //12, 13-point fonts
statusWindow->fontset = XCreateFontSet(dpy,
! "-*-*-medium-r-normal-*-*-120-*-*-*-*," \
! "-*-*-medium-r-normal-*-*-130-*-*-*-*",
&mclr, &mccr, &dsr);
/* In case we didn't find the font set, release the list of missing characters */
if (mccr > 0) {
XFreeStringList(mclr);
}
< prev index next >