question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

hpe-fonts-path references 'amazonaws.com' despite fonts being available locally.

See original GitHub issue

Expected Behavior

Within Grommet the Metric font is provided in grommet/src/scss/hpe/font. Fonts should therefore be bundled with the distribution.

Actual Behavior

The line within grommet/src/scss/hpe/_hpe.defaults.scss sets a url to a location on amazonaws.com as below:

$hpe-fonts-path: "https://hpefonts.s3.amazonaws.com/web" !default;

In our environment, this causes web proxy authentication dialog to be displayed by the browser to enable download of the font from the remote site which is undesirable/unexpected behavior for the user.

Your Environment

  • Grommet version: 0.6.10
  • Browser Name and version: Chrome 52.0.2743.116 m (64-bit)
  • Operating System and version (desktop or mobile): Windows 7 desktop.

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:10 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
alansouzaticommented, Dec 7, 2016

let me try it locally and see if I can reproduce this.

0reactions
alansouzaticommented, Feb 6, 2017

I’m closing this for now. Please feel free to reopen if you still believe this is something to fix

Read more comments on GitHub >

github_iconTop Results From Across the Web

Permissions-Policy: local-fonts - HTTP - MDN Web Docs
The HTTP Permissions-Policy header local-fonts directive controls whether the current document is allowed to gather data on the user's ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found