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

Issue with bold font #40

Closed
dryabov opened this issue Sep 20, 2018 · 3 comments
Closed

Issue with bold font #40

dryabov opened this issue Sep 20, 2018 · 3 comments

Comments

@dryabov
Copy link
Contributor

dryabov commented Sep 20, 2018

https://github.com/freescout-helpdesk/freescout/blob/05e5502412fe9a0ec39c321e0acecf2b4b5fdc0e/public/css/fonts.css#L5

There should be full font name (not just a family name) inside of local declaration, i.e. local('Liberation Sans Bold'), local('LiberationSans-Bold') (see example of Helvetica Neue Bold on https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face). But note that such a patch works in latest Firefox, but not in Chrome 62 (see https://stackoverflow.com/questions/47098699/chrome-update-suddenly-breaks-font-face). Not sure what is better, remove local declarations, or set proper font names (hoping it will be fixed in Chrome 63).

@freescout-helpdesk
Copy link
Collaborator

Thanks. What was your original issue? Fonts are not cached or displayed incorrectly?

@dryabov
Copy link
Contributor Author

dryabov commented Sep 20, 2018

Original issue is that I have Liberation Sans installed on Windows 10 (so that local font is used), but new messages are not displayed in bold.

@freescout-helpdesk
Copy link
Collaborator

d64433e

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

No branches or pull requests

2 participants