vertical layout update

Added test case with Japanese text