mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1103388 - Use sideways orientation for lone <space> when text-orientation is mixed. r=smontagu
This commit is contained in:
parent
5f51a45106
commit
302e6a68fc
@ -1973,7 +1973,7 @@ gfxFontGroup::MakeSpaceTextRun(const Parameters *aParams, uint32_t aFlags)
|
||||
|
||||
uint16_t orientation = aFlags & TEXT_ORIENT_MASK;
|
||||
if (orientation == TEXT_ORIENT_VERTICAL_MIXED) {
|
||||
orientation = TEXT_ORIENT_VERTICAL_UPRIGHT;
|
||||
orientation = TEXT_ORIENT_VERTICAL_SIDEWAYS_RIGHT;
|
||||
}
|
||||
|
||||
gfxFont *font = GetFirstValidFont();
|
||||
|
Loading…
Reference in New Issue
Block a user