├── .gitignore ├── cmunbl.otf ├── cmunbx.otf ├── cmunrm.otf ├── cmunsi.otf ├── cmunsl.otf ├── cmunss.otf ├── cmunsx.otf ├── cmunbxo.otf ├── cmunbl-webfont.eot ├── cmunbl-webfont.ttf ├── cmunbl-webfont.woff ├── cmunbx-webfont.eot ├── cmunbx-webfont.ttf ├── cmunbx-webfont.woff ├── cmunbxo-webfont.eot ├── cmunbxo-webfont.ttf ├── cmunbxo-webfont.woff ├── cmunrm-webfont.eot ├── cmunrm-webfont.ttf ├── cmunrm-webfont.woff ├── cmunsi-webfont.eot ├── cmunsi-webfont.ttf ├── cmunsi-webfont.woff ├── cmunsl-webfont.eot ├── cmunsl-webfont.ttf ├── cmunsl-webfont.woff ├── cmunss-webfont.eot ├── cmunss-webfont.ttf ├── cmunss-webfont.woff ├── cmunsx-webfont.eot ├── cmunsx-webfont.ttf ├── cmunsx-webfont.woff ├── README.md ├── LICENSE ├── cmsans.css ├── cmserif.css ├── index.html ├── cmunss-webfont.svg └── cmunsi-webfont.svg /.gitignore: -------------------------------------------------------------------------------- 1 | .DS_Store 2 | -------------------------------------------------------------------------------- /cmunbl.otf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spratt/Computer-Modern/HEAD/cmunbl.otf -------------------------------------------------------------------------------- /cmunbx.otf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spratt/Computer-Modern/HEAD/cmunbx.otf -------------------------------------------------------------------------------- /cmunrm.otf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spratt/Computer-Modern/HEAD/cmunrm.otf -------------------------------------------------------------------------------- /cmunsi.otf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spratt/Computer-Modern/HEAD/cmunsi.otf -------------------------------------------------------------------------------- /cmunsl.otf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spratt/Computer-Modern/HEAD/cmunsl.otf -------------------------------------------------------------------------------- /cmunss.otf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spratt/Computer-Modern/HEAD/cmunss.otf -------------------------------------------------------------------------------- /cmunsx.otf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spratt/Computer-Modern/HEAD/cmunsx.otf -------------------------------------------------------------------------------- /cmunbxo.otf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spratt/Computer-Modern/HEAD/cmunbxo.otf -------------------------------------------------------------------------------- /cmunbl-webfont.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spratt/Computer-Modern/HEAD/cmunbl-webfont.eot -------------------------------------------------------------------------------- /cmunbl-webfont.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spratt/Computer-Modern/HEAD/cmunbl-webfont.ttf -------------------------------------------------------------------------------- /cmunbl-webfont.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spratt/Computer-Modern/HEAD/cmunbl-webfont.woff -------------------------------------------------------------------------------- /cmunbx-webfont.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spratt/Computer-Modern/HEAD/cmunbx-webfont.eot -------------------------------------------------------------------------------- /cmunbx-webfont.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spratt/Computer-Modern/HEAD/cmunbx-webfont.ttf -------------------------------------------------------------------------------- /cmunbx-webfont.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spratt/Computer-Modern/HEAD/cmunbx-webfont.woff -------------------------------------------------------------------------------- /cmunbxo-webfont.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spratt/Computer-Modern/HEAD/cmunbxo-webfont.eot -------------------------------------------------------------------------------- /cmunbxo-webfont.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spratt/Computer-Modern/HEAD/cmunbxo-webfont.ttf -------------------------------------------------------------------------------- /cmunbxo-webfont.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spratt/Computer-Modern/HEAD/cmunbxo-webfont.woff -------------------------------------------------------------------------------- /cmunrm-webfont.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spratt/Computer-Modern/HEAD/cmunrm-webfont.eot -------------------------------------------------------------------------------- /cmunrm-webfont.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spratt/Computer-Modern/HEAD/cmunrm-webfont.ttf -------------------------------------------------------------------------------- /cmunrm-webfont.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spratt/Computer-Modern/HEAD/cmunrm-webfont.woff -------------------------------------------------------------------------------- /cmunsi-webfont.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spratt/Computer-Modern/HEAD/cmunsi-webfont.eot -------------------------------------------------------------------------------- /cmunsi-webfont.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spratt/Computer-Modern/HEAD/cmunsi-webfont.ttf -------------------------------------------------------------------------------- /cmunsi-webfont.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spratt/Computer-Modern/HEAD/cmunsi-webfont.woff -------------------------------------------------------------------------------- /cmunsl-webfont.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spratt/Computer-Modern/HEAD/cmunsl-webfont.eot -------------------------------------------------------------------------------- /cmunsl-webfont.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spratt/Computer-Modern/HEAD/cmunsl-webfont.ttf -------------------------------------------------------------------------------- /cmunsl-webfont.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spratt/Computer-Modern/HEAD/cmunsl-webfont.woff -------------------------------------------------------------------------------- /cmunss-webfont.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spratt/Computer-Modern/HEAD/cmunss-webfont.eot -------------------------------------------------------------------------------- /cmunss-webfont.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spratt/Computer-Modern/HEAD/cmunss-webfont.ttf -------------------------------------------------------------------------------- /cmunss-webfont.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spratt/Computer-Modern/HEAD/cmunss-webfont.woff -------------------------------------------------------------------------------- /cmunsx-webfont.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spratt/Computer-Modern/HEAD/cmunsx-webfont.eot -------------------------------------------------------------------------------- /cmunsx-webfont.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spratt/Computer-Modern/HEAD/cmunsx-webfont.ttf -------------------------------------------------------------------------------- /cmunsx-webfont.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spratt/Computer-Modern/HEAD/cmunsx-webfont.woff -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | Computer-Modern 2 | =============== 3 | 4 | Makes it simple to use a web-optimized version of the Computer Modern 5 | font in web pages. Simply include the following style code on your 6 | web page: 7 | 8 | ```css 9 | 35 | ``` 36 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | X11 License 2 | 3 | Andrey V. Panov (C) 2005 4 | 5 | All rights reserved. 6 | 7 | Permission is hereby granted, free of charge, to any person obtaining a 8 | copy of this software and associated documentation files (the 9 | "Software"), to deal in the Software without restriction, including 10 | without limitation the rights to use, copy, modify, merge, publish, 11 | distribute, and/or sell copies of the Software, and to permit persons to 12 | whom the Software is furnished to do so, provided that the above 13 | copyright notice(s) and this permission notice appear in all copies of 14 | the Software and that both the above copyright notice(s) and this 15 | permission notice appear in supporting documentation. 16 | 17 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS 18 | OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF 19 | MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT OF 20 | THIRD PARTY RIGHTS. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR HOLDERS 21 | INCLUDED IN THIS NOTICE BE LIABLE FOR ANY CLAIM, OR ANY SPECIAL INDIRECT 22 | OR CONSEQUENTIAL DAMAGES, OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS 23 | OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR 24 | OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR 25 | PERFORMANCE OF THIS SOFTWARE. 26 | 27 | Except as contained in this notice, the name of a copyright holder shall 28 | not be used in advertising or otherwise to promote the sale, use or 29 | other dealings in this Software without prior written authorization of 30 | the copyright holder. 31 | 32 | As a special exception, if you create a document which uses these fonts, 33 | and embed these fonts or unaltered portions of these fonts into the 34 | document, these fonts does not by itself cause the resulting document to 35 | be covered by the X11 License. This exception does not however 36 | invalidate any other reasons why the document might be covered by the 37 | X11 License. If you modify these fonts, you may extend this exception to 38 | your version of the fonts, but you are not obligated to do so. If you do 39 | not wish to do so, delete this exception statement from your version. 40 | -------------------------------------------------------------------------------- /cmsans.css: -------------------------------------------------------------------------------- 1 | @font-face { 2 | font-family: "Computer Modern Sans"; 3 | src: url('http://spratt.github.io/Computer-Modern/cmunbxo-webfont.eot'); 4 | src: url('http://spratt.github.io/Computer-Modern/cmunbxo-webfont.eot?#iefix') format('embedded-opentype'), 5 | url('http://spratt.github.io/Computer-Modern/cmunbxo.otf') format('opentype'), 6 | url('http://spratt.github.io/Computer-Modern/cmunbxo-webfont.woff') format('woff'), 7 | url('http://spratt.github.io/Computer-Modern/cmunbxo-webfont.ttf') format('truetype'), 8 | url('http://spratt.github.io/Computer-Modern/cmunbxo-webfont.svg#cmu_brightboldoblique') format('svg'); 9 | font-weight: bold; 10 | font-style: italic; 11 | } 12 | @font-face { 13 | font-family: "Computer Modern Sans"; 14 | src: url('http://spratt.github.io/Computer-Modern/cmunsi-webfont.eot'); 15 | src: url('http://spratt.github.io/Computer-Modern/cmunsi-webfont.eot?#iefix') format('embedded-opentype'), 16 | url('http://spratt.github.io/Computer-Modern/cmunsi.otf') format('opentype'), 17 | url('http://spratt.github.io/Computer-Modern/cmunsi-webfont.woff') format('woff'), 18 | url('http://spratt.github.io/Computer-Modern/cmunsi-webfont.ttf') format('truetype'), 19 | url('http://spratt.github.io/Computer-Modern/cmunsi-webfont.svg#cmu_sans_serifoblique') format('svg'); 20 | font-weight: normal; 21 | font-style: italic; 22 | } 23 | @font-face { 24 | font-family: "Computer Modern Sans"; 25 | src: url('http://spratt.github.io/Computer-Modern/cmunss-webfont.eot'); 26 | src: url('http://spratt.github.io/Computer-Modern/cmunss-webfont.eot?#iefix') format('embedded-opentype'), 27 | url('http://spratt.github.io/Computer-Modern/cmunss.otf') format('opentype'), 28 | url('http://spratt.github.io/Computer-Modern/cmunss-webfont.woff') format('woff'), 29 | url('http://spratt.github.io/Computer-Modern/cmunss-webfont.ttf') format('truetype'), 30 | url('http://spratt.github.io/Computer-Modern/cmunss-webfont.svg#cmu_sans_serifmedium') format('svg'); 31 | font-weight: normal; 32 | font-style: normal; 33 | } 34 | @font-face { 35 | font-family: "Computer Modern Sans"; 36 | src: url('http://spratt.github.io/Computer-Modern/cmunsx-webfont.eot'); 37 | src: url('http://spratt.github.io/Computer-Modern/cmunsx-webfont.eot?#iefix') format('embedded-opentype'), 38 | url('http://spratt.github.io/Computer-Modern/cmunsx.otf') format('opentype'), 39 | url('http://spratt.github.io/Computer-Modern/cmunsx-webfont.woff') format('woff'), 40 | url('http://spratt.github.io/Computer-Modern/cmunsx-webfont.ttf') format('truetype'), 41 | url('http://spratt.github.io/Computer-Modern/cmunsx-webfont.svg#cmu_sans_serifbold') format('svg'); 42 | font-weight: bold; 43 | font-style: normal; 44 | } 45 | -------------------------------------------------------------------------------- /cmserif.css: -------------------------------------------------------------------------------- 1 | @font-face { 2 | font-family: "Computer Modern Serif"; 3 | src: url('http://spratt.github.io/Computer-Modern/cmunrm-webfont.eot'); 4 | src: url('http://spratt.github.io/Computer-Modern/cmunrm-webfont.eot?#iefix') format('embedded-opentype'), 5 | url('http://spratt.github.io/Computer-Modern/cmunrm.otf') format('opentype'), 6 | url('http://spratt.github.io/Computer-Modern/cmunrm-webfont.woff') format('woff'), 7 | url('http://spratt.github.io/Computer-Modern/cmunrm-webfont.ttf') format('truetype'), 8 | url('http://spratt.github.io/Computer-Modern/cmunrm-webfont.svg#cmu_serifroman') format('svg'); 9 | font-weight: normal; 10 | font-style: normal; 11 | } 12 | @font-face { 13 | font-family: "Computer Modern Serif"; 14 | src: url('http://spratt.github.io/Computer-Modern/cmunsl-webfont.eot'); 15 | src: url('http://spratt.github.io/Computer-Modern/cmunsl-webfont.eot?#iefix') format('embedded-opentype'), 16 | url('http://spratt.github.io/Computer-Modern/cmunsl.otf') format('opentype'), 17 | url('http://spratt.github.io/Computer-Modern/cmunsl-webfont.woff') format('woff'), 18 | url('http://spratt.github.io/Computer-Modern/cmunsl-webfont.ttf') format('truetype'), 19 | url('http://spratt.github.io/Computer-Modern/cmunsl-webfont.svg#cmu_serif_extraromanslanted') format('svg'); 20 | font-weight: normal; 21 | font-style: italic; 22 | } 23 | @font-face { 24 | font-family: "Computer Modern Serif"; 25 | src: url('http://spratt.github.io/Computer-Modern/cmunbl-webfont.eot'); 26 | src: url('http://spratt.github.io/Computer-Modern/cmunbl-webfont.eot?#iefix') format('embedded-opentype'), 27 | url('http://spratt.github.io/Computer-Modern/cmunbl.otf') format('opentype'), 28 | url('http://spratt.github.io/Computer-Modern/cmunbl-webfont.woff') format('woff'), 29 | url('http://spratt.github.io/Computer-Modern/cmunbl-webfont.ttf') format('truetype'), 30 | url('http://spratt.github.io/Computer-Modern/cmunbl-webfont.svg#cmu_serif_extraboldslanted') format('svg'); 31 | font-weight: bold; 32 | font-style: italic; 33 | } 34 | @font-face { 35 | font-family: "Computer Modern Serif"; 36 | src: url('http://spratt.github.io/Computer-Modern/cmunbx-webfont.eot'); 37 | src: url('http://spratt.github.io/Computer-Modern/cmunbx-webfont.eot?#iefix') format('embedded-opentype'), 38 | url('http://spratt.github.io/Computer-Modern/cmunbx.otf') format('opentype'), 39 | url('http://spratt.github.io/Computer-Modern/cmunbx-webfont.woff') format('woff'), 40 | url('http://spratt.github.io/Computer-Modern/cmunbx-webfont.ttf') format('truetype'), 41 | url('http://spratt.github.io/Computer-Modern/cmunbx-webfont.svg#cmu_serifbold') format('svg'); 42 | font-weight: bold; 43 | font-style: normal; 44 | } 45 | -------------------------------------------------------------------------------- /index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 |
7 | 8 | 9 |45 | The Computer 46 | Modern family of fonts was developed 47 | by Donald 48 | Knuth and described in detail in the book Computer Modern 49 | Typefaces. 50 |
51 | 52 |53 | The Computer Modern 54 | Unicode font project is hosted on sourceforge and 55 | is licensed 56 | under a modified X11 license, under which this project is 57 | also licensed. 58 |
59 | 60 |62 | Computer Modern Serif is a beautiful serifed font. 63 | It is the default font for TeX and LaTeX. You can use this font 64 | on your own site by including the following link in your HTML: 65 |
66 |
67 | <link rel="stylesheet" type="text/css"
68 | href="http://spratt.github.io/Computer-Modern/cmserif.css" />
69 |
70 | 71 | Then simply choose "Computer Modern Serif" as a font-family in 72 | CSS, e.g.: 73 |
74 |
75 | .serif {
76 | font-family: "Computer Modern Serif", serif;
77 | }
78 |
79 | 80 | In which case, we create a class "serif" which uses this font, 81 | with the default serifed font as a fallback. 82 |
83 | 84 |86 | Computer Modern Sans is a lovely sans-serif font. 87 |
88 |
89 | <link rel="stylesheet" type="text/css"
90 | href="http://spratt.github.io/Computer-Modern/cmsans.css" />
91 |
92 | 93 | Then simply choose "Computer Modern Sans" as a font-family in 94 | CSS, e.g.: 95 |
96 |
97 | .sans {
98 | font-family: "Computer Modern Sans", sans-serif;
99 | }
100 |
101 | 102 | In which case, we create a class "sans" which uses this font, 103 | with the default sans-serif font as a fallback. 104 |
105 | 106 | 107 |
109 |
110 |
111 |
112 |
--------------------------------------------------------------------------------
/cmunss-webfont.svg:
--------------------------------------------------------------------------------
1 |
2 |
3 |
--------------------------------------------------------------------------------
/cmunsi-webfont.svg:
--------------------------------------------------------------------------------
1 |
2 |
3 |
--------------------------------------------------------------------------------