[NtGDI] Change TextOut

Separate TextOut for internal use.
Use flTextAlign internally.
Not sure why GetDeviceCap was used for determining rendering. SVN commit
logs are unavailable. Include code from wine that might make more sense.
This commit is contained in:
James Tabor 2019-03-05 16:03:15 -06:00
parent f5f6ea2965
commit 3377fe184e
2 changed files with 97 additions and 30 deletions

View file

@ -410,7 +410,7 @@ IntGetFontLanguageInfo(PDC Dc)
pdcattr = Dc->pdcattr;
/* This might need a test for a HEBREW- or ARABIC_CHARSET as well */
if ( pdcattr->lTextAlign & TA_RTLREADING )
if ( pdcattr->flTextAlign & TA_RTLREADING )
if( (fontsig.fsCsb[0]&GCP_REORDER_MASK)!=0 )
result|=GCP_REORDER;