Loading...
Important Notice - Forums is archived

To simplify things and help our users to be more productive, we have archived the current forum and focus our efforts on helping developers on Stack Overflow. You can post new questions on Stack Overflow or join our Discord channel.

Product icon
TUTORIAL

Vaadin lets you build secure, UX-first PWAs entirely in Java.
Free ebook & tutorial.

Valo Theme Font displays differently for different languages

George Bougiakas
6 years ago Jan 13, 2016 11:25am
Enver Haase
6 years ago Jan 13, 2016 5:24pm
George Bougiakas
6 years ago Jan 14, 2016 10:13am
Joacim Päivärinne
6 years ago Jan 15, 2016 3:07pm
George Bougiakas
6 years ago Jan 18, 2016 1:57pm
Nick Rapellas
6 years ago Jan 26, 2016 2:50pm
George Bougiakas
6 years ago Jan 26, 2016 2:54pm
Nick Rapellas
6 years ago Jan 27, 2016 10:17am

Thanks for that, but the problem is that I wanted the fonts to be offline, since the application is in controlled environment (no internet access).
Anyway,taking your advice I've managed to solve this by doing the following:

1. https://google-webfonts-helper.herokuapp.com/fonts/open-sans?subsets=latin,greek
2. Selected all the font sizes I am using,
3. Copy-Paste the css to the theme.scss
4. Copy the files to the fonts folder of the theme (in this case, change the default ../fonts to fonts at the css)
5. Compile the theme and run.
Now you don't have to connect to google for the fonts! :P

 

George Bougiakas
6 years ago Jan 27, 2016 10:55am
Joacim Päivärinne
6 years ago Jan 28, 2016 12:21pm