Home > Blockchain >  Comic Sans displays as italic in Google Chrome on Windows
Comic Sans displays as italic in Google Chrome on Windows

Time:03-29

One would think that this CSS (and only this CSS) would result in text in the Comic Sans font on systems that have it.

font-family: "Comic Sans MS", "Comic Sans", sans-serif;

And, indeed, Comic Sans is used... but with italics!

Comic Sans Italic Sample

I'd expect non-italic Comic Sans, like this:

Normal Comic Sans Sample

I've verified that my system does have Comic Sans MS, and it does look normal in the font viewer:

Comic Sans Font Viewer

Why is this happening? Does Chrome have a problem with TrueType fonts or something? How can I fix it?

It also occurs on the W3C font test page: https://www.w3.org/Style/Examples/007/fonts.en.html

CodePudding user response:

Seems this was just some issue with the font registration on my computer. I copied the TTF file to another directory, right-clicked on it, clicked install, and now pages render as-expected.

  • Related