Lines Matching defs:font

117             SetFontProperty(dc, ANSI_FIXED_FONT, TEXT("win.ansiFixed.font"), 1.0f);
118 SetFontProperty(dc, ANSI_VAR_FONT, TEXT("win.ansiVar.font"), 1.0f);
119 SetFontProperty(dc, DEVICE_DEFAULT_FONT, TEXT("win.deviceDefault.font"), 1.0f);
120 SetFontProperty(dc, DEFAULT_GUI_FONT, TEXT("win.defaultGUI.font"), invScaleY);
121 SetFontProperty(dc, OEM_FIXED_FONT, TEXT("win.oemFixed.font"), 1.0f);
122 SetFontProperty(dc, SYSTEM_FONT, TEXT("win.system.font"), 1.0f);
123 SetFontProperty(dc, SYSTEM_FIXED_FONT, TEXT("win.systemFixed.font"), 1.0f);
134 // Does the actual lookup for shell dialog font (MS Shell Dlg). fontName
162 // Determines what the font MS Shell Dlg maps to.
174 LPTSTR font = resolveShellDialogFont(TEXT("MS Shell Dlg 2"), handle);
175 if (font == NULL) {
176 font = resolveShellDialogFont(TEXT("MS Shell Dlg"), handle);
179 return font;
314 SetFontProperty(TEXT("win.menu.font"), ncmetrics.lfMenuFont, invScaleY);
323 SetFontProperty(TEXT("win.status.font"), ncmetrics.lfStatusFont, invScaleY);
324 SetFontProperty(TEXT("win.tooltip.font"), ncmetrics.lfStatusFont, invScaleY);
327 SetFontProperty(TEXT("win.messagebox.font"), ncmetrics.lfMessageFont, invScaleY);
345 SetFontProperty(TEXT("win.icon.font"), iconmetrics.lfFont, invScaleY);
360 Eg if we previously were using standard font smoothing and we still are
409 * is not because of the desktop font settings change. Much more likely
418 * font settings.
794 HGDIOBJ font = GetStockObject(fontID);
795 if (font != NULL && SelectObject(dc, font) != NULL) {
807 // MS Shell Dlg is an indirect font name, find the
859 void AwtDesktopProperties::SetFontProperty(LPCTSTR propName, const LOGFONT & font,
865 fontName = JNU_NewStringPlatform(GetEnv(), font.lfFaceName);
872 // convert font size specified in pixels to font size in points
874 pointSize = (-font.lfHeight)*72/pixelsPerInch;
878 pointSize = rescale(-font.lfHeight, invScale);
880 // convert Windows font style to Java style
882 DTRACE_PRINTLN1("weight=%d", font.lfWeight);
883 if ( font.lfWeight >= FW_BOLD ) {
886 if ( font.lfItalic ) {