Commit 8efa7740 authored by Rein Klazes's avatar Rein Klazes Committed by Alexandre Julliard

Let GetFontLanguageInfo() return the GCP_REORDER flag only in case the

DC alignment is right-to-left.
parent e4dfaab2
......@@ -1915,8 +1915,10 @@ DWORD WINAPI GetFontLanguageInfo(HDC hdc)
if( (fontsig.fsCsb[0]&GCP_USEKERNING_MASK)!=0 )
result|=GCP_USEKERNING;
if( (fontsig.fsCsb[0]&GCP_REORDER_MASK)!=0 )
result|=GCP_REORDER;
/* this might need a test for a HEBREW- or ARABIC_CHARSET as well */
if( GetTextAlign( hdc) & TA_RTLREADING )
if( (fontsig.fsCsb[0]&GCP_REORDER_MASK)!=0 )
result|=GCP_REORDER;
return result;
}
......
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