diff options
| author | John Schoenick <[email protected]> | 2015-09-09 18:35:41 -0700 |
|---|---|---|
| committer | John Schoenick <[email protected]> | 2015-09-09 18:35:41 -0700 |
| commit | 0d8dceea4310fde5706b3ce1c70609d72a38efdf (patch) | |
| tree | c831ef32c2c801a5c5a80401736b52c7b5a528ec /mp/src/public/vgui/VGUI.h | |
| parent | Updated the SDK with the latest code from the TF and HL2 branches. (diff) | |
| download | source-sdk-2013-master.tar.xz source-sdk-2013-master.zip | |
Diffstat (limited to 'mp/src/public/vgui/VGUI.h')
| -rw-r--r-- | mp/src/public/vgui/VGUI.h | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/mp/src/public/vgui/VGUI.h b/mp/src/public/vgui/VGUI.h index cd2e9650..34fddfeb 100644 --- a/mp/src/public/vgui/VGUI.h +++ b/mp/src/public/vgui/VGUI.h @@ -66,12 +66,10 @@ const HFont INVALID_FONT = 0; // the value of an invalid font handle #include "tier1/strtools.h" -#if defined( OSX ) // || defined( LINUX ) -// Set to 1 to use GetKernedCharWidth() instead of GetCharABCwide(). Alfred -// initially started using that code on the Mac because it did better -// kerning, but he was a leery about switching win32 over. I enabled this -// for Linux, but it causes some strings to look different than Windows. So -// I've disabled it for now. mikesart - 12/2012. +#if 0 // defined( OSX ) // || defined( LINUX ) +// Disabled all platforms. Did a major cleanup of osxfont.cpp, and having this +// turned off renders much closer to Windows and Linux and also uses the same +// code paths (which is good). #define USE_GETKERNEDCHARWIDTH 1 #else #define USE_GETKERNEDCHARWIDTH 0 |