Font in the popup window doesn't support cyrillic letters

solved

(igor makovsky) #1

Hi,

first of all, this is my first message here, and I want to say that maphub is just great and a pure treasure.

though I miss the cyrillic font in the popup windows pretty much. The font “latoregular” used there, doesn’t have cyrillic symbols and it mixes up with helvetica, which has. That looks not good, when digits, latin and cyrillic letters doesn’t match.

is there any way or plans to change the default font in the popup window?

thanks,
— I.


(Zsolt Ero) #2

Hi Igor and thanks for reporting. Ideally the missing characters from Lato should be using the native system font, but maybe this is not working as intended. Can you make a sample map demonstrating the issue. A single item is enough on that map, I just need to see the exact problem.


(igor makovsky) #3

Here it is: https://maphub.net/igormakovsky/latin-cyrillic


(Zsolt Ero) #4

Thanks for the sample! Does the right hand side text look ok in the editor?


(igor makovsky) #5

The one where you enter the text? Yes it does.


(Zsolt Ero) #6

Yes, that one uses system fonts. I’ll have a look at how to display popups in a similar font in your case.


(igor makovsky) #7

Would be ok.


(Zsolt Ero) #8

OK, this wasn’t an easy fix, but I really wanted to support all international languages, so I implemented this.

Now, if you save a map with any Cyrillic character in any of the features or the in map’s description, it’ll detect it and use the system font instead of Lato.