Closed hholzgra closed 1 year ago
Not sure what happened to cause this, but explicitly doing a set_source_rgb(0,0,0)
to force black text before drawing an actual index entry fixes both of these strange effects. I do understand that this fixes the "invisible text" problem as it may have inherited that from the previous drawing state left behind by mapnik, but not how it can have an influence on the tree row "ghosts".
Anyway, seems to be fixed now, and as I was already on it I also fixed page frame size and page number positioning issues.
This is a weird one: ever since the index generation code was refactored sometimes multi page index pages only show category headers, but no actual index entries are visible. The text is there, it becomes visible when marking for copy/paste, but it is not rendered in a visible way.
Even more strange: if the last map page rendered had tree rows rendered these green lines appear on index pages, too.