Changeset 215
- Timestamp:
- Dec 19, 2010, 11:57:48 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/openjdk/jdk/src/windows/native/sun/windows/awt_DesktopProperties.cpp
r204 r215 487 487 // ECH 10/6/2000 seems to be fixed on NT4 SP5, but not on 98 488 488 SetBooleanProperty(TEXT("win.frame.fullWindowDragsOn"), GetBooleanParameter(SPI_GETDRAGFULLWINDOWS)); 489 #ifndef __WIN32OS2__ 489 490 SetBooleanProperty(TEXT("win.text.fontSmoothingOn"), GetBooleanParameter(SPI_GETFONTSMOOTHING)); 490 491 // TODO END … … 498 499 GetLCDSubPixelOrder()); 499 500 } 501 #else 502 // The hinting quality of standard Type1 fonts on OS/2 is very low; 503 // FreeType auto-hinting makes them better but still not good. Therefore, 504 // we want to use LCD antialiasing by default. 505 SetBooleanProperty(TEXT("win.text.fontSmoothingOn"), TRUE); 506 SetIntegerProperty(TEXT("win.text.fontSmoothingType"), 2); // ClearType 507 SetIntegerProperty(TEXT("win.text.fontSmoothingContrast"), 1000); 508 SetIntegerProperty(TEXT("win.text.fontSmoothingOrientation"), 1); // LCD_RGB 509 #endif 500 510 501 511 int cxdrag = GetSystemMetrics(SM_CXDRAG);
Note:
See TracChangeset
for help on using the changeset viewer.