Skip to content

[MINOR] Firefox Montserrat font distortions  #13

@robbykrlos

Description

@robbykrlos

This is a bug.

Prerequisites

  • Are you running the latest version?
  • Are you reporting to the correct repository?
    (enso is made of many specialized packages: https://github.com/laravel-enso)
  • Did you check the documentation?
  • Did you perform a cursory search?

Description

Here's one fun for you:)

In Firefox, the Montserrat font imported from google, with font-weight > 400 renders badly the letter "R". "P" and "y" :)

image

image

As opposed to the default Montserrat:

image

I don't know why yet, and didn't find a fix for it, just an workaround in :
client/node_modules/@enso-ui/themes/bulma/fonts.scss:

@import url('https://fonts.googleapis.com/css2?family=Muli:wght@500;800&display=swap');

(removed the Montserrat import, left only Muli)

This is the least of our/your problems, but I thought it was quite interesting.

Any reason you import Montserrat from Googleapis?

LE: later I found that on Linux not all browsers supports by default a lot of fonts.
LLE: I do not yet understand how Montserrat is loaded since it seems not to be a default font, as I initially assumed. I cannot find any trace of it being loaded locally. Disabled cache.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions