OPNsense Forum

Archive => 16.7 Legacy Series => Topic started by: denmmx on August 01, 2016, 06:53:12 am

Title: [SOLVED] Russian (cyrillic) font is ugly in Dashboard
Post by: denmmx on August 01, 2016, 06:53:12 am
Hi,
tonight I'm updated my gateway from 16.1.20 to 16.7 version. All services continue works fine, but in Russian interface (cyrillic font) fonts looks very ugly (serif font vs. sans-serif in English version). This bug also was in previous release, but I hoped this bug was fixed in new release. I'v attached screenshot with problem.
Hope that you fix this in the near future.
Title: Re: Russian (cyrillic) font is ugly in Dashboard
Post by: franco on August 01, 2016, 08:06:30 am
Hi there,

I've heard this before and it's likely true, but it's difficult to fix without knowing what looks better and how it can be fixed. Any pointers are greatly appreciated.


Cheers,
Franco
Title: Re: Russian (cyrillic) font is ugly in Dashboard
Post by: denmmx on August 01, 2016, 09:03:58 am
Ok, I can help with this.

Currently OPNSense uses Google font "Source Sans Pro", which is not support Cyrillic fonts.
Alternative might be to use sans-serif Google Font "PT Sans", it's looks amazing with cyrillic text. Examples attached.
Title: Re: Russian (cyrillic) font is ugly in Dashboard
Post by: denmmx on August 01, 2016, 09:24:32 am
in addition

fonts files located in
Code: [Select]
/usr/local/opnsense/www/themes/opnsense/build/fonts css-style is:
Code: [Select]
/usr/local/opnsense/www/themes/opnsense/build/css/main.css
This is places to need fix with font, in a first approximation.
Title: Re: Russian (cyrillic) font is ugly in Dashboard
Post by: franco on August 22, 2016, 07:05:32 am
Ad changed this yesterday to a new version of Source Sans Pro, can you take a look?
Title: Re: Russian (cyrillic) font is ugly in Dashboard
Post by: denmmx on August 22, 2016, 08:41:25 am
Hi,
I'm updated the system after seeing your message. It's very strange, but Russian fonts began looks good only on Lumia 640 (Windows Phone 8.1)! On other systems, eg Windows 7, 10, even on Linux Mint with Chrome it still as before. Browsers cache was cleared before testing. ( Attaching screenshots.
P.S. Fonts looks amazing on your screenshot! ;)
Title: Re: Russian (cyrillic) font is ugly in Dashboard
Post by: franco on August 23, 2016, 09:54:31 am
Ok, great, thanks for confirming. We'll ship it with 16.7.3.

I think the browsers/the font system itself are too cache-greedy.
Title: Re: [SOLVED] Russian (cyrillic) font is ugly in Dashboard
Post by: denmmx on August 23, 2016, 10:11:59 am
Hi,
thanks, waiting for 16.7.3 release  :)
Title: Re: [SOLVED] Russian (cyrillic) font is ugly in Dashboard
Post by: denmmx on August 31, 2016, 10:34:21 pm
Just updated to 16.7.3, Russian fonts are looks very good now! Thanks for your work!  ;)
Title: Re: [SOLVED] Russian (cyrillic) font is ugly in Dashboard
Post by: franco on August 31, 2016, 11:52:57 pm
Okay, great, thanks!