You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The choice of the font in app/assets/stylesheets/variables.scss for the rule:
$fixed-width-font-family: Courier, monospace;
can make it harder to read some of the text in the documentation. This is especially applicable to the names of the configuration keys and to mentions of the shell commands, which people would usually edit in a text editor or in a shell with a monospace font. Fonts used by <code> tags are also affected.
The choice of the font in app/assets/stylesheets/variables.scss for the
rule:
$fixed-width-font-family: Courier, monospace;
can make it harder to read some of the text in the documentation. This
is especially applicable to the names of the configuration keys and to
mentions of the shell commands, which people would usually edit in a
text editor or in a shell with a monospace font. Fonts used by <code>
tags are also affected.
For example, the following ligatures "meld" the letters together:
- in config key `gc.reflogExpireUnreachable` the ligature is `fl`
- in config key `color.diff.new` -- `ff`
- in command name `git config` -- `fi`
Add `font-variant-ligatures: none;` [1] to all usages of variable
`$fixed-width-font-family` to fix this readability issue.
[1] https://developer.mozilla.org/en-US/docs/Web/CSS/font-variant-ligaturesFixes: git#1817
The choice of the font in
app/assets/stylesheets/variables.scss
for the rule:can make it harder to read some of the text in the documentation. This is especially applicable to the names of the configuration keys and to mentions of the shell commands, which people would usually edit in a text editor or in a shell with a monospace font. Fonts used by
<code>
tags are also affected.URL for broken page
Example: https://git-scm.com/docs/git-config
Problem
Ligatures in the fonts for the
Courier
in CSS make it harder to read parts of the website.Operating system and browser
Operating System: KDE neon 5.27 (≈ Kubuntu 22.04)
Browser: Firefox 119.0
Steps to reproduce
reflog
in monospace font on page https://git-scm.com/docs/git-config#Documentation/git-config.txt-gcreflogExpireUnreachableOther details
color.diff.new
git config
These styled via
<code>
.font-variant-ligatures
/etc/fonts/conf.avail/30-metric-aliases.conf
, quote:The text was updated successfully, but these errors were encountered: