commit | b86eda951f9806d6cd6c733bab85392cfa4cd00d | [log] [download] |
---|---|---|
author | Christian Aistleitner <christian@quelltextlich.at> | Mon Jun 29 10:01:57 2020 +0200 |
committer | Christian Aistleitner <christian@quelltextlich.at> | Tue Jul 21 22:37:23 2020 +0200 |
tree | 225f87ab11af57ba46baa69973c60f22a3034acd | |
parent | e54582fdd2a8783a6078f3a25eb08bb622f2e497 [diff] |
Drop u-pre's font-weight When displaying file contents, as for example on [*], u-pre, setting font weight to 500, is combined with u-monospace, setting font-family to `Source Code Pro`. The @import of `Source Code Pro` only defines the font face for font weight 400. So on setups without that font, the 500 has no effect and display falls back to using `Source Code Pro` with the lighter weight 400 (i.e., `normal`). On setups where the monospace font is provided with both 400 and 500 weights (users with the fonts installed locally, or using Gerrit's own provided fonts setup), the heavier 500 weight gets used, leading to an undesirable bold look for source code. Drop u-pre's font-weight: this way, we do not change the appearance on most setups and we avoid bold-looking source code on setups that provide their own fonts. [*] https://gerrit.googlesource.com/gerrit/+/589af813ccca4c329bd4845852cd9d6d73d1d11d/gerrit-main/src/main/java/Main.java Change-Id: I7322c2762f6bce1a6fc6b0de1a2a3674092ef8a1
Gitiles is a simple repository browser for Git repositories, built on JGit. Its guiding principle is simplicity: it has no formal access controls, no write access, no fancy Javascript, etc.
Gitiles automatically renders *.md
Markdown files into HTML for simplified documentation. Refer to the Markdown documentation for details.
Gitiles is configurable in a git-style configuration file named gitiles.config
. Refer to the configuration documentation for details.
Use the issue tracker at github to file bugs.
Please refer to the Developer Guide.