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
In file preprocess-css.css, which would be attached to site_modules.csshere, 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 myfreeer/cppreference2mshelp#33
The text was updated successfully, but these errors were encountered:
myfreeer
added a commit
to myfreeer/cppreference-doc
that referenced
this issue
Oct 7, 2024
In this file, font-family uses names with spaces, but the website declares it without spaces, this would update the font-family names to match the website.
Fixesp12tic#138
In file preprocess-css.css, which would be attached to
site_modules.css
here, it overrides thefont-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 thefont-family
would not match, and would fallback to system fonts likearial, sans-serif
.To fix this, one possible solution would be updating the
preprocess-css.css
file, and attach thefont-family
names without spaces like what the website has done.See also myfreeer/cppreference2mshelp#33
The text was updated successfully, but these errors were encountered: