Jonas Reith f18ff8f254 Fix atlas capital labels: realm name/culture block was colliding with the settlement's own name
Capitals systematically lost their own settlement-name label in the atlas
export to the higher-priority realm name at the same point -- the previous
offsets (font*0.9 up for the realm name, font*0.62 back down for the culture
line) weren't nearly enough clearance, so the two boxes still overlapped and
the settlement's own label got dropped by the collision check every time.

Replaced the ad-hoc offsets with an explicit bottom-up stack: settlement's
own label box (unshifted, drawn separately) -> culture line positioned
strictly above its top edge with a real gap -> realm name positioned
strictly above the culture line. Uses a conservative worst-case settlement
font (City tier) as the clearance baseline so it holds regardless of which
tier the capital actually is.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01TMfyZv91tonDnPJqbaTVJE
2026-08-30 21:38:43 +02:00
Description
No description provided
5.5 MiB
Languages
C++ 99.6%
CMake 0.4%