Azgaar / Fantasy-Map-Generator

Web application generating interactive and highly customizable maps

Home Page:https://azgaar.github.io/Fantasy-Map-Generator

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Unreadable state labels when generated from biome layer

basxto opened this issue · comments

Describe the bug

When generating new maps with biomes view, state labels become unreadable.
It doesn’t look like it really has to be “Biomes map”, but that “Labels” layer not being active during generation.
On first sight it looks like the character width of curved labels got calculated wrong since straight burg labels look fine.

The labels can be fixed with a click on label regeneration.

Steps to reproduce

  1. Select “Layer preset” “Biomes map”
  2. Generate a “New Map!”
  3. Switch to “Layer preset” “Political map”

Expected behavior

Readable state names

.map file

Givraia 2024-03-04-18-34.map.zip

Screenshots

03-04_18:34_1600x788

System

  • Version: 1.96.2
  • Browser: Firefox 121.0.1
  • OS: Archlinux

It seems to be Firefox-specific issue, looking into it

No, ec5e44b (1.96.03) also fixed this issue. It works now.

I can still see the issue in FF

For 1.96.03? I tested in my still open 1.96.02 tab, where it indeed still occurs, and the new 1.96.03, where it doesn’t even though I’m doing the same actions.

Should be fine now. The Labels layer rendering was dependent on layer visibility in Firefox and labels size calculation was incorrect. Now it should be fine