pytorch / pytorch/pytorch.github.io
Windows font rendering on Chrome looks bad
Nobody has claimed this yet.
- Dominant language
- HTML
- Stars
- 285
- Forks
- 317
- PR merge metrics
- No merged PRs in 30d
Description
🕋 Website
To Reproduce
Steps to reproduce the behavior (if applicable):
- Go to https://pytorch.org/cppdocs/notes/tensor_basics.html
- View a header (I'm on Chrome on Windows), different letters look like they have some different weights

Expected behavior
It looks fine with the font-weight: normal rule disabled:

This is probably something related to cleartype, but it should look normal on Windows.
Desktop (please complete the following information):
- OS: Windows
- Browser Chrome
- Version 71
Additional context
Something similar happens when zoomed into 125% but to normal paragraph text (note the "p" below) from the same page

Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the rendering issue at https://pytorch.org/cppdocs/notes/tensor_basics.html in Chrome 71 on Windows, including 125% zoom, and inspect the header and paragraph font styles. Trace the stylesheet rule applying font-weight: normal and compare the result with that rule disabled; done means the affected text renders consistently without disabling the intended styling.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- css, html
- Domain
- frontend, web-dev
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100