Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] Display Error Gauges Feature Text (DE) #271

Closed
barci335 opened this issue Apr 15, 2024 · 4 comments
Closed

[BUG] Display Error Gauges Feature Text (DE) #271

barci335 opened this issue Apr 15, 2024 · 4 comments
Labels
bug Something isn't working
Milestone

Comments

@barci335
Copy link

Describe the bug
Gauges Feature - can't display ß

Expected behavior
&#223 should be translated to ß

Screenshots
gauge

workaround

@barci335 barci335 added the bug Something isn't working label Apr 15, 2024
@aryiu
Copy link

aryiu commented Apr 25, 2024

I think this is related to #263, the letter "é" not showing correctly (é).

Daveiano added a commit that referenced this issue Apr 26, 2024
@Daveiano
Copy link
Owner

@barci335 Fixed in 253deec.

I attached an updated file which should solve the problem. Feel free to test it out - please rename first to main.js and then copy it to dist/main.js - more info on where to copy here: https://github.com/Daveiano/weewx-wdc/wiki/Development#testing-changes--updated-files

@aryiu Yes, that's the same issue. I will have a look at #263 when I am on #262!

main.txt

@Daveiano Daveiano added this to the 3.6.0 milestone Apr 26, 2024
@barci335
Copy link
Author

@Daveiano Thanks!

Just tested:
image
works, but looks kinda weird.

@Daveiano
Copy link
Owner

Daveiano commented May 5, 2024

Yeah, the ß looks kinda weird here. The used font is IBM Plex Mono - while this may look better the IBM Plex Sans font looks much more "natural" here:

Screenshot from 2024-05-05 17-28-46

If you have some skills in CSS you could change this easy via this snippet:

.bx--tile.diagram-tile.gauge svg text.gauge-label {
  font-family: 'IBM Plex Sans', 'Helvetica Neue', Arial, sans-serif
}

@Daveiano Daveiano closed this as completed Jun 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants