Skip to content

Gazetteer labels misplaced when degrees-towards-zenith are negative #4174

@martignoni

Description

@martignoni

Expected Behaviour

When degrees-towards-zenith < 0 in gazetteer file, gazetteer labels should be displayed below the lower end of the line pointing to the polygon line, instead of above.

Actual Behaviour

Gazetteer labels are displayed above the lower end of the line pointing to the polygon line, which causes legibility issues when label's angle is eg. 45° (see screenshot).

Steps to reproduce

System

  • Stellarium version: Stellarium 25.0+ (v25.0.61-a8d2146 [master]) and Stellarium 24.4 for macOS 11.0+; Qt6; universal
  • Operating system: macOS Sequioa 15.3.1
  • Graphics Card: Radeon Pro 580X 8 Go and Apple M2 GPU
  • Screen type: Any (not applicable)

Landscape

  1. Add gazetteer file attached to a landscape folder (remove .txt from file name).
  2. Re-launch Stellarium.
  3. Select landscape with above mentioned gazetteer file.
  4. Set "Text angle" of labels to 45°.
  5. Observe that labels are displayed above the lower end of the line pointing to the polygon line

Logfile

Log file shows no problem. See attachment.

Image

gazetteer.en.utf8.txt

log.txt

Metadata

Metadata

Assignees

Labels

enhancementImprove existing functionalityimportance: lowSmall problem, rarely visible, no crash

Projects

Status

Done

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions