mirror of
https://github.com/reactos/wine.git
synced 2024-11-25 04:39:45 +00:00
Let GetFontLanguageInfo() return the GCP_REORDER flag only in case the
DC alignment is right-to-left.
This commit is contained in:
parent
e4dfaab29e
commit
8efa774003
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user