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

Using Roboto Condensed & subset latin-ext #1100

Closed
ColonelMoutarde opened this issue Dec 4, 2017 · 22 comments
Closed

Using Roboto Condensed & subset latin-ext #1100

ColonelMoutarde opened this issue Dec 4, 2017 · 22 comments

Comments

@ColonelMoutarde
Copy link

Hi,
By default using "Using Roboto Condensed" & "subset latin-ext" for improvment specials chars:
é, à, ù ... Using in french

@MichMich
Copy link
Collaborator

MichMich commented Dec 4, 2017

Those chars should work with the current font. Are you experiencing issues?

@ColonelMoutarde
Copy link
Author

Without using Roboto Condensed" & "subset latin-ext
look météo...
screenshot-2017-12-4 magicmirror

if i add in custom.css
@import url('https://fonts.googleapis.com/css?family=Roboto+Condensed&subset=latin-ext') ;

screenshot-2017-12-4 magicmirror 1

@MichMich
Copy link
Collaborator

MichMich commented Dec 4, 2017

Ah, that's weird indeed.

I think we need to mention this in the nam package of the font:
choffmeister/roboto-fontface-bower#44

@ColonelMoutarde
Copy link
Author

the diffrence is subset=latin-ext

@MichMich
Copy link
Collaborator

MichMich commented Dec 8, 2017

@ColonelMoutarde is it possible to set that with the NPM import?

@ColonelMoutarde
Copy link
Author

How to do this with NPM, i'm newbe.

@nhubbard
Copy link
Contributor

@MichMich This is difficult. The package we use doesn't have latin-ext in it. It looks like Google patches the font and hosts it instead. The solution may be using the Google Fonts version for now.

@MichMich
Copy link
Collaborator

I don’t prefer using an external source since some mirrors run offline. We can rollback the commit that uses NPM. Previously we just bundled the web font.

@nhubbard
Copy link
Contributor

Either that, or we could download the fonts and make our own package.

@MichMich
Copy link
Collaborator

@nhubbard Looking forward to your PR! ;)

@MichMich
Copy link
Collaborator

@ColonelMoutarde: So, a bit of a slow response, but non the less ...

I wanted to add the correct front, but before I did I wanted to see the issue with my own eyes. So I configured a module with your exact French text, and it appears to show without any issues:

screen shot 2017-12-30 at 21 26 50

Is there anything I'm missing here?

@ColonelMoutarde
Copy link
Author

ColonelMoutarde commented Jan 2, 2018

For you, i add my config file

For write an accent you have 2 possibility.
e+` and è
First case it's 2 chars and second case is 1 char, in french everyone use seconde case. First case is an hack for querty keyboads

@ColonelMoutarde
Copy link
Author

ColonelMoutarde commented Jan 2, 2018

config-Copie.js.txt

i use magic mirror in windows environement...

@MichMich
Copy link
Collaborator

MichMich commented Jan 2, 2018

If I look at your config file the characters are scrambled too. It might be that your config file is encoded wrong. It the file stored as an utf-8 file?

@ColonelMoutarde
Copy link
Author

the file is in utf-8 without BOM. That's what notepad++ says.

@MichMich
Copy link
Collaborator

MichMich commented Jan 2, 2018

Maybe it's the windows environment that causes the issue. Is it possible for you to test your setup in an Raspbian environment?

@MichMich
Copy link
Collaborator

Closed due to inactivity. Feel free to reopen.

@Knurlnheim
Copy link

Hello !

I have the same issue than @ColonelMoutarde, but I am on lastest Raspbian.
What can I do help investigate the issue ?

@MichMich
Copy link
Collaborator

MichMich commented Mar 6, 2018

@Knurlnheim Did you check the encoding of your config file? What system are you on?

@Knurlnheim
Copy link

Knurlnheim commented Mar 6, 2018

System is a Raspian Strech Lite on a Raspberry Pi 2.
config.js is in UTF8.
The problematic characters are NOT ALL coming from the config file, some are displayed by various modules (weather, my own, etc.).

@ColonelMoutarde
Copy link
Author

I have reinstall MagicMirror in fresh install of Raspbian Stretch on my RPI2.
All is OK, no problems

@MichMich
Copy link
Collaborator

@Knurlnheim Switch to the full version of Raspbian. Not the Lite version.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants