├── fonts └── default │ ├── zxx-camo.eot │ ├── zxx-camo.ttf │ ├── zxx-sans.eot │ ├── zxx-sans.ttf │ ├── zxx-xed.eot │ ├── zxx-xed.ttf │ ├── zxx-xed.woff │ ├── zxx-camo.woff │ ├── zxx-noise.eot │ ├── zxx-noise.ttf │ ├── zxx-noise.woff │ ├── zxx-sans.woff │ ├── zxx-bold-regular.eot │ ├── zxx-bold-regular.ttf │ ├── zxx-bold-regular.woff │ ├── zxx-sans.svg │ ├── zxx-bold-regular.svg │ ├── zxx-xed.svg │ ├── zxx-noise.svg │ └── zxx-camo.svg ├── LICENSE ├── package.json ├── README.md └── index.js /fonts/default/zxx-camo.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shane-tomlinson/connect-fonts-zxx/master/fonts/default/zxx-camo.eot -------------------------------------------------------------------------------- /fonts/default/zxx-camo.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shane-tomlinson/connect-fonts-zxx/master/fonts/default/zxx-camo.ttf -------------------------------------------------------------------------------- /fonts/default/zxx-sans.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shane-tomlinson/connect-fonts-zxx/master/fonts/default/zxx-sans.eot -------------------------------------------------------------------------------- /fonts/default/zxx-sans.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shane-tomlinson/connect-fonts-zxx/master/fonts/default/zxx-sans.ttf -------------------------------------------------------------------------------- /fonts/default/zxx-xed.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shane-tomlinson/connect-fonts-zxx/master/fonts/default/zxx-xed.eot -------------------------------------------------------------------------------- /fonts/default/zxx-xed.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shane-tomlinson/connect-fonts-zxx/master/fonts/default/zxx-xed.ttf -------------------------------------------------------------------------------- /fonts/default/zxx-xed.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shane-tomlinson/connect-fonts-zxx/master/fonts/default/zxx-xed.woff -------------------------------------------------------------------------------- /fonts/default/zxx-camo.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shane-tomlinson/connect-fonts-zxx/master/fonts/default/zxx-camo.woff -------------------------------------------------------------------------------- /fonts/default/zxx-noise.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shane-tomlinson/connect-fonts-zxx/master/fonts/default/zxx-noise.eot -------------------------------------------------------------------------------- /fonts/default/zxx-noise.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shane-tomlinson/connect-fonts-zxx/master/fonts/default/zxx-noise.ttf -------------------------------------------------------------------------------- /fonts/default/zxx-noise.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shane-tomlinson/connect-fonts-zxx/master/fonts/default/zxx-noise.woff -------------------------------------------------------------------------------- /fonts/default/zxx-sans.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shane-tomlinson/connect-fonts-zxx/master/fonts/default/zxx-sans.woff -------------------------------------------------------------------------------- /fonts/default/zxx-bold-regular.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shane-tomlinson/connect-fonts-zxx/master/fonts/default/zxx-bold-regular.eot -------------------------------------------------------------------------------- /fonts/default/zxx-bold-regular.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shane-tomlinson/connect-fonts-zxx/master/fonts/default/zxx-bold-regular.ttf -------------------------------------------------------------------------------- /fonts/default/zxx-bold-regular.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shane-tomlinson/connect-fonts-zxx/master/fonts/default/zxx-bold-regular.woff -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | Software: Licenced under version 2.0 of the MPL 2 | 3 | https://www.mozilla.org/MPL/ 4 | 5 | 6 | 7 | 8 | ======================= 9 | 10 | This Source Code Form is subject to the terms of the Mozilla Public 11 | License, v. 2.0. If a copy of the MPL was not distributed with this file, 12 | You can obtain one at http://mozilla.org/MPL/2.0/. 13 | 14 | ====================== 15 | 16 | Copyright (c) 2012 by Sang Mun. All rights reserved. 17 | 18 | 19 | -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- 1 | { 2 | "Author": "Shane Tomlinson (https://shanetomlinson.com)", 3 | "name": "connect-fonts-zxx", 4 | "description": "ZXX Bold font pack for connect-fonts", 5 | "keywords": ["font", "font-face", "CSS", "connect-fonts", "zxx-bold", "zxx-camo", "zxx-noise", "zxx-sans", "zxx-xed"], 6 | "homepage": "https://github.com/shane-tomlinson/connect-fonts-zxx", 7 | "licenses": [ 8 | { 9 | "covers": "software", 10 | "type": "MPL-2.0", 11 | "url": "http://mozilla.org/MPL/2.0/" 12 | }, 13 | { 14 | "covers": "fonts", 15 | "type": "", 16 | "url": "" 17 | } 18 | ], 19 | "repository": { 20 | "type": "git", 21 | "url": "https://github.com/shane-tomlinson/connect-fonts-zxx" 22 | }, 23 | "version": "0.0.1", 24 | "engines": { 25 | "node": ">= 0.4.7" 26 | }, 27 | "main": "index" 28 | } 29 | 30 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # connect-fonts-zxx 2 | 3 | ZXX Bold fontpack for [connect-fonts](https://github.com/shane-tomlinson/connect-fonts). 4 | 5 | ## Usage 6 | 7 | 1. Include [connect-fonts](https://github.com/shane-tomlinson/connect-fonts) in a node module. 8 | ```js 9 | const font_middleware = require("connect-fonts"); 10 | ``` 11 | 12 | 2. Include the font packs that you want to serve. 13 | ```js 14 | const font_pack = require("connect-fonts-zxx"); 15 | ``` 16 | 17 | 3. Add a middleware by calling the `setup` function. 18 | ```js 19 | app.use(font_middleware.setup({ 20 | fonts: [ font_pack ], 21 | allow_origin: "https://exampledomain.com" 22 | })); 23 | ``` 24 | 25 | 4. Add a link tag to include the font CSS. 26 | ```html 27 | 28 | ``` 29 | 30 | Multiple fonts from the family can be included by using a comma separated list of fonts: 31 | ```html 32 | 33 | ``` 34 | 35 | Available fonts: 36 | * zxx-bold 37 | * zxx-camo 38 | * zxx-noise 39 | * zxx-sans 40 | * zxx-xed 41 | 42 | Locale-optimised font sets can be served by specifying the locale in the fonts.css URL. 43 | ```html 44 | 45 | ``` 46 | 47 | Available subsets: 48 | * latin 49 | 50 | 5. Set your CSS up to use the new font by using the "ZXX Bold" font-family. 51 | ``` 52 | body { 53 | font-family: 'ZXX Bold', 'sans-serif', 'serif'; 54 | } 55 | ``` 56 | 57 | ## Font Info 58 | ZXX Bold 59 | 60 | * Copyright: Copyright (c) 2012 by Sang Mun. All rights reserved. 61 | * Designer: Sang Mun 62 | * Designer URL: www.sang-mun.com 63 | * For more information, see http://z-x-x.org/ and http://blogs.walkerart.org/design/category/flat-files-our-work/ 64 | 65 | ## Development Info 66 | * Homepage: https://github.com/shane-tomlinson/connect-fonts-zxx 67 | * Repo: https://github.com/shane-tomlinson/connect-fonts-zxx 68 | 69 | ## Author 70 | * Shane Tomlinson 71 | * shane@shanetomlinson.com 72 | * stomlinson@mozilla.com 73 | * set117@yahoo.com 74 | * https://shanetomlinson.com 75 | * https://github.com/shane-tomlinson 76 | * https://github.com/stomlinson 77 | * @shane_tomlinson 78 | 79 | 80 | ## License 81 | 82 | Software: Licenced under version 2.0 of the MPL 83 | 84 | https://www.mozilla.org/MPL/ 85 | 86 | 87 | 88 | 89 | -------------------------------------------------------------------------------- /index.js: -------------------------------------------------------------------------------- 1 | const path = require("path"); 2 | 3 | module.exports = { 4 | "root": path.join(__dirname, "fonts"), 5 | 6 | // Package info 7 | "package": { 8 | "name": "connect-fonts-zxx", 9 | "homepage": "https://github.com/shane-tomlinson/connect-fonts-zxx", 10 | "repourl": "https://github.com/shane-tomlinson/connect-fonts-zxx", 11 | "bugsurl": false 12 | }, 13 | 14 | // Package author info 15 | "author": { 16 | "name": "Shane Tomlinson", 17 | "emails": "shane@shanetomlinson.com,stomlinson@mozilla.com,set117@yahoo.com", 18 | "urls": "https://shanetomlinson.com", 19 | "githubs": "https://github.com/shane-tomlinson,https://github.com/stomlinson", 20 | "twitter": "@shane_tomlinson" 21 | }, 22 | 23 | 24 | // Common font information 25 | "font_common": { 26 | "description": "The name ZXX comes from the Library of Congress' Alpha-3 ISO 639-2 -- codes for the representation of names of languages. ZXX is used to declare No linguistic content; Not applicable. Free Open Type Font to open up governments. Download & disperse in your convenience", 27 | "names": "zxx-bold,zxx-camo,zxx-noise,zxx-sans,zxx-xed", 28 | "family": "ZXX Bold", 29 | "copyright": "Copyright (c) 2012 by Sang Mun. All rights reserved.", 30 | "designer": "Sang Mun", 31 | "url_designer": "http://www.sang-mun.com", 32 | "url_vendor": "http://z-x-x.org/" 33 | }, 34 | 35 | 36 | // where to find a locale's fonts in the fonts directory 37 | "locale-to-subdirs": { 38 | }, 39 | 40 | // what font types are enabled and what are the extensions of 41 | // the font files. 42 | // 43 | // valid types are embedded-opentype, woff, truetype, svg 44 | "enabled-types": [ "eot", "woff", "ttf", "svg" ], 45 | 46 | // The fonts. The name of the font must be the same as the font 47 | // in the fonts directory. 48 | "fonts": { 49 | "zxx-camo": { 50 | "fontFamily": "ZXX Bold", 51 | "fontStyle": "normal", 52 | "fontWeight": "400", 53 | "local": [ "ZXX-Camo", "ZXX-Camo" ] 54 | }, 55 | "zxx-noise": { 56 | "fontFamily": "ZXX Bold", 57 | "fontStyle": "normal", 58 | "fontWeight": "400", 59 | "local": [ "ZXX-Noise", "ZXX-Noise" ] 60 | }, 61 | "zxx-sans": { 62 | "fontFamily": "ZXX Bold", 63 | "fontStyle": "normal", 64 | "fontWeight": "400", 65 | "local": [ "ZXX-Sans", "ZXX-Sans" ] 66 | }, 67 | "zxx-xed": { 68 | "fontFamily": "ZXX Bold", 69 | "fontStyle": "normal", 70 | "fontWeight": "400", 71 | "local": [ "ZXX-Xed", "ZXX-Xed" ] 72 | }, 73 | "zxx-bold-regular": { 74 | "fontFamily": "ZXX Bold", 75 | "fontStyle": "normal", 76 | "fontWeight": "400", 77 | "local": [ "ZXX-Bold", "ZXX-Bold" ] 78 | } 79 | } 80 | }; 81 | -------------------------------------------------------------------------------- /fonts/default/zxx-sans.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 10 | 11 | 12 | 13 | 14 | 16 | 19 | 21 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 34 | 35 | 36 | 38 | 39 | 40 | 42 | 43 | 46 | 48 | 49 | 50 | 51 | 53 | 55 | 56 | 58 | 59 | 60 | 61 | 62 | 64 | 65 | 66 | 67 | 68 | 69 | 70 | 71 | 73 | 74 | 76 | 77 | 79 | 80 | 81 | 82 | 84 | 85 | 86 | 87 | 88 | 89 | 90 | 91 | 93 | 95 | 96 | 98 | 99 | 100 | 102 | 103 | 104 | 105 | 106 | 107 | 109 | 110 | 111 | 112 | 113 | 114 | 116 | 118 | 119 | 120 | 122 | 123 | 125 | 126 | 127 | 129 | 130 | 131 | 132 | -------------------------------------------------------------------------------- /fonts/default/zxx-bold-regular.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 10 | 11 | 12 | 13 | 14 | 16 | 18 | 20 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 33 | 34 | 35 | 37 | 38 | 40 | 42 | 43 | 46 | 48 | 49 | 50 | 51 | 53 | 56 | 57 | 59 | 61 | 62 | 63 | 64 | 66 | 67 | 68 | 69 | 70 | 71 | 72 | 73 | 75 | 76 | 78 | 79 | 81 | 82 | 83 | 84 | 85 | 86 | 87 | 88 | 89 | 90 | 91 | 92 | 94 | 96 | 98 | 100 | 102 | 103 | 105 | 106 | 107 | 108 | 109 | 110 | 112 | 113 | 115 | 117 | 119 | 120 | 122 | 123 | 124 | 125 | 126 | 127 | 128 | 129 | 130 | 132 | 133 | 134 | 135 | -------------------------------------------------------------------------------- /fonts/default/zxx-xed.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 10 | 11 | 12 | 13 | 14 | 17 | 20 | 23 | 26 | 28 | 30 | 32 | 33 | 34 | 35 | 36 | 37 | 40 | 41 | 43 | 46 | 48 | 51 | 54 | 56 | 59 | 62 | 63 | 65 | 66 | 69 | 73 | 75 | 78 | 80 | 82 | 84 | 86 | 88 | 90 | 91 | 93 | 95 | 96 | 98 | 100 | 103 | 105 | 108 | 110 | 113 | 115 | 117 | 119 | 122 | 124 | 125 | 127 | 128 | 129 | 130 | 131 | 134 | 137 | 139 | 142 | 144 | 146 | 149 | 151 | 152 | 154 | 155 | 156 | 159 | 161 | 164 | 167 | 170 | 172 | 175 | 177 | 179 | 181 | 184 | 185 | 187 | 188 | 189 | 191 | 192 | 193 | 194 | -------------------------------------------------------------------------------- /fonts/default/zxx-noise.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 10 | 11 | 12 | 15 | 16 | 18 | 21 | 23 | 26 | 27 | 28 | 29 | 30 | 32 | 33 | 34 | 35 | 38 | 40 | 43 | 46 | 48 | 50 | 53 | 55 | 58 | 61 | 62 | 63 | 64 | 68 | 70 | 73 | 76 | 79 | 81 | 83 | 85 | 88 | 92 | 94 | 96 | 98 | 100 | 103 | 106 | 109 | 111 | 114 | 116 | 120 | 122 | 125 | 127 | 130 | 132 | 134 | 136 | 137 | 138 | 139 | 140 | 145 | 148 | 150 | 153 | 157 | 160 | 164 | 167 | 170 | 173 | 177 | 180 | 184 | 186 | 189 | 192 | 196 | 198 | 202 | 205 | 208 | 211 | 215 | 219 | 223 | 226 | 227 | 229 | 230 | 231 | 232 | -------------------------------------------------------------------------------- /fonts/default/zxx-camo.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 10 | 11 | 12 | 16 | 17 | 19 | 22 | 24 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | 41 | 44 | 49 | 53 | 57 | 61 | 66 | 70 | 75 | 79 | 80 | 81 | 82 | 89 | 91 | 96 | 101 | 106 | 111 | 116 | 120 | 126 | 132 | 137 | 142 | 145 | 149 | 153 | 157 | 162 | 165 | 170 | 175 | 182 | 187 | 192 | 196 | 201 | 207 | 210 | 215 | 216 | 217 | 218 | 219 | 225 | 229 | 233 | 238 | 243 | 247 | 253 | 260 | 265 | 270 | 275 | 280 | 286 | 292 | 298 | 305 | 309 | 313 | 318 | 324 | 329 | 334 | 339 | 344 | 352 | 356 | 357 | 359 | 360 | 361 | 362 | --------------------------------------------------------------------------------