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
Discord itself seems to use a font weight of 500 for usernames (normal text is 400, and bold text is 700). However, lots of fonts don't have more than two font weights, so there isn't anyway to make the username bold without it being just as bold as normal bold text.
The Discord template uses the following font family: Whitney, Verdana, Helvetica Neue, Helvetica, Arial, sans-serif, falling back to the first one in that list. In practice, almost everyone probably sees Verdana, since most people don't have Whitney installed. Helvetica Neue does have 6 weights (100 thru 600) but it seems like it's not a default font on Windows machines (which means we probably can't rely on it). The rest only have two font weights.
Below are some comparisons of how a post might look in different fonts:
Cohoard, actual font: Verdana, font weight 600
Cohoard, actual font: Helvetica Neue, font weight 600
Cohoard, actual font: Helvetica Neue, font weight 500 (imo this looks the closest to actual Discord)
Cohoard, actual font: Helvetica, font weight 600
Cohoard, actual font: Arial, font weight 600
Discord, actual font: gg sans, font weight 500 (i think?)
The text was updated successfully, but these errors were encountered:
is it possible to in-line a google font? or some remotely-hosted font in some fashion? cos, at least with google fonts, you can have so many line weights and that may be useful in this fashion — alphy
Hm... doing some research into this:
It seems that cohost strips or ignores <link> tags. I could use @font-face, which seems to even allow base64 encoded fonts, but I can't figure out how to use it inline (and this StackOverflow post suggests it's probably not possible?). If cohost allowed for <style> tags this would be easy, but it seems like that also gets stripped?
Discord itself seems to use a font weight of 500 for usernames (normal text is 400, and bold text is 700). However, lots of fonts don't have more than two font weights, so there isn't anyway to make the username bold without it being just as bold as normal bold text.
The Discord template uses the following font family: Whitney, Verdana, Helvetica Neue, Helvetica, Arial, sans-serif, falling back to the first one in that list. In practice, almost everyone probably sees Verdana, since most people don't have Whitney installed. Helvetica Neue does have 6 weights (100 thru 600) but it seems like it's not a default font on Windows machines (which means we probably can't rely on it). The rest only have two font weights.
Below are some comparisons of how a post might look in different fonts:
Cohoard, actual font: Verdana, font weight 600
Cohoard, actual font: Helvetica Neue, font weight 600
Cohoard, actual font: Helvetica Neue, font weight 500 (imo this looks the closest to actual Discord)
Cohoard, actual font: Helvetica, font weight 600
Cohoard, actual font: Arial, font weight 600
Discord, actual font: gg sans, font weight 500 (i think?)
The text was updated successfully, but these errors were encountered: