Kaydet (Commit) ea8de68d authored tarafından Michael Stahl's avatar Michael Stahl

vcl: Vista implies usp10.dll >= 1.600

... claims https://en.wikipedia.org/wiki/Uniscribe - #ifdef this so it
can be removed when dropping XP support.

Change-Id: I9a51635cf9bb4876faf6dca011e6da9e1c2dc35d
üst 28f18b68
......@@ -626,6 +626,7 @@ static bool bManualCellAlign = true;
static void InitUSP()
{
#if _WIN32_WINNT < _WIN32_WINNT_VISTA
// get the usp10.dll version info
HMODULE usp10 = GetModuleHandle("usp10.dll");
void *pScriptIsComplex = reinterpret_cast< void* >( GetProcAddress(usp10, "ScriptIsComplex"));
......@@ -655,7 +656,10 @@ static void InitUSP()
// #i77976# USP>=1.0600 changed the need to manually align glyphs in their cells
if( nUspVersion >= 10600 )
#endif
{
bManualCellAlign = false;
}
bUspInited = true;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment