Add missing reference images.
|
@ -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.
|
||||
|
|
BIN
tests/visual_tests/images/formatting-500-reference.png
Normal file
After Width: | Height: | Size: 12 KiB |
BIN
tests/visual_tests/images/lines-4-200-reference.png
Normal file
After Width: | Height: | Size: 20 KiB |
BIN
tests/visual_tests/images/lines-4-400-reference.png
Normal file
After Width: | Height: | Size: 51 KiB |
BIN
tests/visual_tests/images/lines-4-600-reference.png
Normal file
After Width: | Height: | Size: 85 KiB |
BIN
tests/visual_tests/images/lines-4-800-reference.png
Normal file
After Width: | Height: | Size: 120 KiB |
BIN
tests/visual_tests/images/lines-5-200-reference.png
Normal file
After Width: | Height: | Size: 22 KiB |
BIN
tests/visual_tests/images/lines-5-400-reference.png
Normal file
After Width: | Height: | Size: 69 KiB |
BIN
tests/visual_tests/images/lines-5-600-reference.png
Normal file
After Width: | Height: | Size: 118 KiB |
BIN
tests/visual_tests/images/lines-5-800-reference.png
Normal file
After Width: | Height: | Size: 182 KiB |
BIN
tests/visual_tests/images/lines-6-200-reference.png
Normal file
After Width: | Height: | Size: 24 KiB |
BIN
tests/visual_tests/images/lines-6-400-reference.png
Normal file
After Width: | Height: | Size: 63 KiB |
BIN
tests/visual_tests/images/lines-6-600-reference.png
Normal file
After Width: | Height: | Size: 104 KiB |
BIN
tests/visual_tests/images/lines-6-800-reference.png
Normal file
After Width: | Height: | Size: 151 KiB |
BIN
tests/visual_tests/images/shieldsymbolizer-2-500-reference.png
Normal file
After Width: | Height: | Size: 2.4 KiB |
BIN
tests/visual_tests/images/shieldsymbolizer-3-500-reference.png
Normal file
After Width: | Height: | Size: 2.2 KiB |
BIN
tests/visual_tests/images/shieldsymbolizer-4-500-reference.png
Normal file
After Width: | Height: | Size: 2.5 KiB |
|
@ -55,6 +55,7 @@ files = [
|
|||
{'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):
|
||||
|
|