cff29546 / pzmap2dzi

A command-line tool to convert Project Zomboid map data into Deep Zoom format
MIT License
53 stars 17 forks source link

relocate room/object text for bigger text sizes #24

Open Nightreaver opened 1 month ago

Nightreaver commented 1 month ago

I wonder if its would be possible to relocate the text of room and objects more to the center of the square (maybe depending on text size ?)

image image

due to my "omit 2" I set the text size to 40 to be still readable, and now the words are broken into two lines

cff29546 commented 1 month ago

In the current design, the text render is limited to a single square so that the rendered text won't be truncated by image file borders. To remove that limit, a more complicated design that adaptively avoids truncation will be needed. This could be a future improvement.