Skip to content

Computer Modern font family for the web

License

Unknown, Unknown licenses found

Licenses found

Unknown
LICENSE.txt
Unknown
LICENSE-FAQ.txt
Notifications You must be signed in to change notification settings

bitmaks/cm-web-fonts

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Computer Modern Web Fonts

The Computer Modern Font Family (the default LaTeX font), delivered on the web.

Usage

Link this stylesheet: https://cdn.jsdelivr.net/gh/bitmaks/cm-web-fonts@latest/fonts.css in your html <head>.

HTML Code

<link rel="stylesheet" type="text/css" href="https://cdn.jsdelivr.net/gh/bitmaks/cm-web-fonts@latest/fonts.css">

Web demo

Check out https://checkmyworking.com/cm-web-fonts/ to get download links and see a customisable demo of the Computer Modern font family. Or visit TeXBlog to view a working implementation of a site fetching from this CDN.

Example Code

<head>
  <!-- Other imports... -->
  <link rel="stylesheet" type="text/css" href="https://cdn.jsdelivr.net/gh/bitmaks/cm-web-fonts@latest/fonts.css">
  <style>
    body {
      font-family: "Computer Modern Serif", serif;
    }
  </style>
</head>

License

The font is licensed under the SIL Open Font License. The license gives you permission to use them online and redistribute/modify/study them so long as you keep the resulting fonts under the Open Font License. I'm not a lawyer and I can't give legal advice, so make sure to read the official OFL FAQs.

Fonts

The folowing font families are included (with bold and italics):

  • 'Computer Modern Bright'
  • 'Computer Modern Concrete'
  • 'Computer Modern Sans'
  • 'Computer Modern Serif'
  • 'Computer Modern Typewriter'

Delivery

Files are served via jsDelivr, an free, open-source CDN supported by companies like CloudFlare. jsDelivr serves ~72 billion requests/month and is has been reliable for me; however, there's no such thing as a free lunch and I cannot guarantee 100% uptime. Use it at your own risk.

Credits

Repo forked from @dreampulse, cm-unicode web fonts compiled by Christian Perfect from the Computer Modern Unicode fonts created by Andrey V. Panov. The original Computer Modern fonts were created by Donald Knuth et al.

About

Computer Modern font family for the web

Resources

License

Unknown, Unknown licenses found

Licenses found

Unknown
LICENSE.txt
Unknown
LICENSE-FAQ.txt

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages