Bug 1103388 - Use sideways orientation for lone <space> when text-orientation is mixed. r=smontagu

This commit is contained in:
Jonathan Kew 2014-11-24 21:42:53 +00:00
parent 5f51a45106
commit 302e6a68fc

View File

@ -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();