DFeed icon indicating copy to clipboard operation
DFeed copied to clipboard

Fix inconsistent font size for markdown posts

Open ahmetsait opened this issue 3 years ago • 6 comments

My job here is done.

ahmetsait avatar Apr 01 '21 16:04 ahmetsait

I'm not 100% sure that the current font choice is necessarily the best one. I used the same font we use for the documentation (Phobos) and the rest of the website. Perhaps it would be less jarring to use fonts from the same superfamily, and then use the monospace variant for code and the proportional variant for normal Markdown paragraphs.

CyberShadow avatar Apr 04 '21 05:04 CyberShadow

It looks different for me (on Firefox on Linux).

Either of your two screenshots look better than my screenshot, so I think the current size is overall better (or, at least, not worse in the worst case).

CyberShadow avatar Apr 04 '21 06:04 CyberShadow

So what I realized is that you're probably used to the way DejaVu Sans Mono looks and unfortunately this font has a serious proportion issue, it looks out of place and stupidly bigger than most other fonts with the same size (or maybe a rendering issue can't tell).

ahmetsait avatar Apr 04 '21 07:04 ahmetsait

Yes, that might be the case.

CyberShadow avatar Apr 04 '21 07:04 CyberShadow

So... Maybe we can find a font combination that looks consistent on both Linux and Windows what do you say? This isn't a problem for me since I have my %windir%\Fonts symlinked on the Linux side, but if you say deal with it I guess I'm gonna have to get used to big text then ¯\_(ツ)_/¯

ahmetsait avatar Apr 24 '21 20:04 ahmetsait

Yes, but it would have to be consistent with dlang.org as a whole. (Or, at least, not severely more inconsistent than how it is now.)

CyberShadow avatar Apr 24 '21 21:04 CyberShadow