weewx-wdc icon indicating copy to clipboard operation
weewx-wdc copied to clipboard

[BUG] Display Error Gauges Feature Text (DE)

Open barci335 opened this issue 10 months ago • 4 comments

Describe the bug Gauges Feature - can't display ß

Expected behavior &#223 should be translated to ß

Screenshots gauge

workaround

barci335 avatar Apr 15 '24 16:04 barci335

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

aryiu avatar Apr 25 '24 10:04 aryiu

@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 avatar Apr 26 '24 23:04 Daveiano

@Daveiano Thanks!

Just tested: image works, but looks kinda weird.

barci335 avatar Apr 29 '24 18:04 barci335

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 avatar May 05 '24 15:05 Daveiano