pytorch / pytorch/pytorch.github.io

Windows font rendering on Chrome looks bad

Open
#164 0 comments 0 reactions 0 assignees View on GitHub

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):

  1. Go to https://pytorch.org/cppdocs/notes/tensor_basics.html
  2. View a header (I'm on Chrome on Windows), different letters look like they have some different weights

image

Expected behavior

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

image

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

image

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.