Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Add missing reference images.

  • Loading branch information...
commit e5351ced6f7bf63dfcea7435a65d27cbe7d2b24a 1 parent 4d5ab83
@herm herm authored
View
2  src/text/layout.cpp
@@ -102,7 +102,7 @@ void text_layout::break_line(text_line_ptr line, double wrap_width, unsigned tex
}
if (current_line_length > wrap_width)
{
- unsigned break_position = breakitr->preceding(i);
+ unsigned break_position = wrap_before ? breakitr->preceding(i) : breakitr->following(i);
if (break_position <= last_break_position || break_position == BreakIterator::DONE)
{
//A single word is longer than the maximum line width.
View
BIN  tests/visual_tests/images/formatting-500-reference.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
BIN  tests/visual_tests/images/lines-4-200-reference.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
BIN  tests/visual_tests/images/lines-4-400-reference.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
BIN  tests/visual_tests/images/lines-4-600-reference.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
BIN  tests/visual_tests/images/lines-4-800-reference.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
BIN  tests/visual_tests/images/lines-5-200-reference.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
BIN  tests/visual_tests/images/lines-5-400-reference.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
BIN  tests/visual_tests/images/lines-5-600-reference.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
BIN  tests/visual_tests/images/lines-5-800-reference.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
BIN  tests/visual_tests/images/lines-6-200-reference.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
BIN  tests/visual_tests/images/lines-6-400-reference.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
BIN  tests/visual_tests/images/lines-6-600-reference.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
BIN  tests/visual_tests/images/lines-6-800-reference.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
BIN  tests/visual_tests/images/shieldsymbolizer-2-500-reference.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
BIN  tests/visual_tests/images/shieldsymbolizer-3-500-reference.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
BIN  tests/visual_tests/images/shieldsymbolizer-4-500-reference.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
1  tests/visual_tests/test.py
@@ -55,6 +55,7 @@
{'name': "orientation", 'sizes': [(800, 200)]},
{'name': "hb-fontsets", 'sizes': [(800, 200)]},
{'name': "charspacing", 'sizes': [(200, 400)]},
+ {'name': "line_break", 'sizes': [(800, 800)]},
]
def render(filename, width, height, bbox, quiet=False):
Please sign in to comment.
Something went wrong with that request. Please try again.