cppreference-doc icon indicating copy to clipboard operation
cppreference-doc copied to clipboard

preprocess: outdated font-family names in preprocess-css.css

Open myfreeer opened this issue 1 year ago • 0 comments

In file preprocess-css.css, which would be attached to site_modules.css here, it overrides the font-family of many elements to the names with spaces, e.g. "DejaVu Sans". But the style on the website defines the font-family as @font-face{font-family:"DejaVuSans", without spaces, so in the offline archive the font-family would not match, and would fallback to system fonts like arial, sans-serif. To fix this, one possible solution would be updating the preprocess-css.css file, and attach the font-family names without spaces like what the website has done. See also https://github.com/myfreeer/cppreference2mshelp/issues/33

myfreeer avatar Oct 07 '24 09:10 myfreeer