Use tabular-nums font variant instead of switching to Tahoma for figures #11567
Using a completely different font for figures leads to inconsistencies: #9422.
This commit removes the "Monospaced Number" font altogether and use
Here is the before/after on Windows where Segoe UI is now used for figures too. The difference is subtle but you can see it. Especially for the figure 1.
Using a completely different font for figures leads to inconsistencies: #9422. Most modern font systems defaults to [tabular figures](https://www.fonts.com/content/learning/fontology/level-3/numbers/proportional-vs-tabular-figures). One exception to this is Apple's San Francisco which defaults to [proportional figures](http://martiancraft.com/blog/2015/10/san-francisco-part-2/#special-features-numerals). There is, however, an official and clean way to switch to tabular figures. It's the [`font-variant` CSS property](https://developer.mozilla.org/en-US/docs/Web/CSS/font-variant-numeric) that can be set to `tabular-nums`. This commit removes the "Monospaced Number" font altogether and use `font-variant: tabular-nums` instead where it was used. It also moves closer to the sans-serif and monospace [system font stacks used by GitHub](http://markdotto.com/2018/02/07/github-system-fonts/).
@@ Coverage Diff @@ ## feature-3.8.0 #11567 +/- ## ============================================== Coverage 91.94% 91.94% ============================================== Files 199 199 Lines 5089 5089 Branches 1426 1426 ============================================== Hits 4679 4679 Misses 406 406 Partials 4 4