Changeset - r22913:45dceaf044c9
[Not reviewed]
master
0 1 0
Michael Lutz - 6 years ago 2018-06-15 22:35:12
michi@icosahedron.de
Fix 768a31b: When cascading to another text layouter, clear the old font run state left over from the previous (failed) layout attempt.
1 file changed with 1 insertions and 0 deletions:
0 comments (0 inline, 0 general)
src/gfx_layout.cpp
Show inline comments
 
@@ -597,6 +597,7 @@ static inline void GetLayouter(Layouter:
 
	Font *f = Layouter::GetFont(state.fontsize, state.cur_colour);
 

	
 
	line.buffer = buff_begin;
 
	fontMapping.Clear();
 

	
 
	/*
 
	 * Go through the whole string while adding Font instances to the font map
0 comments (0 inline, 0 general)