Has the font in code blocks changed recently? Is this intended?
Being exclusively active in the r tag, I'm very irritated by the distracting misalignment of <
and -
, which together are the assignment operator in R. This is how it looks like (in Firefox 117.0.1 with default settings on Windows 10 Enterprise):
If I change the settings in Firefox to disallow websites using their own fonts (which means the Consolas font is used), it looks much better:
Actual code block for check for rendered differences:
DF <- data.frame(x = x_values, y = y_actual)
library(ggplot2)
p <- ggplot(DF, aes(x, y)) +
geom_point()
Please consider using a better font in code blocks.
%localappdata%\Microsoft\Windows\Fonts
and see if any fonts appeared (and possibly%windir%\Fonts
as well, recent Office builds come with new fonts afaik and might've installed automatically).ui-monospace, "Cascadia Mono", "Segoe UI Mono", "Liberation Mono", Menlo, Monaco, Consolas, monospace
. So if your OS has a higher priorityui-monospace
font, that will be rendered.