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.

Wrong fonts on https://brendaneich.github.io/sieve/

See original GitHub issue

Text should be monospaced but is displayed in a proportional font. As per discussion in Slack, this is likely caused by font whitelisting. CSS uses font-family: "Courier" and relies on font engine to substitute a modern monospaced font like Courier New.

Issue Analytics

  • State:closed
  • Created a year ago
  • Comments:6 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
pilgrim-bravecommented, Dec 2, 2022

We do not have automated testing for this. Visit the link in the title, right-click any number in the grid and select Inspect, go to Computed tab in devtools, scroll down to Rendered Fonts section to see what font it’s actually using for rendering. Correct answer on Mac is “Courier”, as per this screenshot: image

0reactions
MadhaviSeelamcommented, Dec 13, 2022

Verification PASSED

Brave | 1.47.125 Chromium: 108.0.5359.99 (Official Build) beta (64-bit)
-- | --
Revision | 410951fc34bb4b2cbf182231f9f779efaafaf682-refs/branch-heads/5359_71@{#9}
OS | Windows 11 Version 21H2 (Build 22000.1219)

Steps:

  1. installed 1.47.110
  2. launched Brave
  3. loaded https://brendaneich.github.io/sieve/
  4. opened Developer Tools and inspected an element
  5. looked at its font-family

Confirmed the font-family used is Courier

image

Read more comments on GitHub >

github_iconTop Results From Across the Web

Proof-of-concept app to overwrite fonts on iOS using ... - GitHub
Proof-of-concept app to overwrite fonts on iOS using CVE-2022-46689. Works on iOS 16.1.2 and below (tested on iOS 16.1) on unjailbroken ...
Read more >
Error: font family not found in Windows font database #1 - GitHub
The fonts tried: Arial, Courier, etc. that are indeed registered in the system.
Read more >
imgui/FONTS.md at master · ocornut/imgui - GitHub
If you get an assert stating "Could not load font file!", your font filename is likely incorrect. Read "About filenames" carefully. Load multiple...
Read more >
[solved] Duplicate resources android build error with v9.1.0 ...
[solved] Duplicate resources android build error with v9.1.0 - [fonts were in source tree *and* using module's build.gradle font copy] #1416.
Read more >
Storybook not recognizing assets folder? 'Error: Can't resolve ...
Hello, I'm having trouble loading fonts in Storybook. Here's what's going on. I haven't made a reproducible example yet, I hope someone can ......
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