| 1 | { |
| 2 | "comment": "The font vocabulary. internal/fonts embeds it, fixtures/fonts.mjs imports it into the editor bundle, core/src/fragment.rs is tested against it, and scripts/vendor-fonts.py builds files/ from it with sources.json. Order is the picker's order. Keys are mark names after font_ and never change: sans, serif and mono are Liberation, as they always were.", |
| 3 | "default": "carlito", |
| 4 | "code": "mono", |
| 5 | "families": [ |
| 6 | { |
| 7 | "key": "carlito", |
| 8 | "name": "Carlito", |
| 9 | "category": "sans", |
| 10 | "twin": "Calibri", |
| 11 | "reserved": "Carlito", |
| 12 | "docx": { |
| 13 | "name": "Calibri", |
| 14 | "family": "swiss", |
| 15 | "pitch": "variable", |
| 16 | "panose": "020F0502020204030204" |
| 17 | }, |
| 18 | "fallback": [ |
| 19 | "Calibri", |
| 20 | "Carlito", |
| 21 | "Segoe UI", |
| 22 | "Arial", |
| 23 | "sans-serif" |
| 24 | ], |
| 25 | "dir": "carlito", |
| 26 | "licence": "OFL.txt", |
| 27 | "styles": { |
| 28 | "regular": "Carlito-Regular", |
| 29 | "bold": "Carlito-Bold", |
| 30 | "italic": "Carlito-Italic", |
| 31 | "boldItalic": "Carlito-BoldItalic" |
| 32 | } |
| 33 | }, |
| 34 | { |
| 35 | "key": "caladea", |
| 36 | "name": "Caladea", |
| 37 | "category": "serif", |
| 38 | "twin": "Cambria", |
| 39 | "docx": { |
| 40 | "name": "Cambria", |
| 41 | "family": "roman", |
| 42 | "pitch": "variable", |
| 43 | "panose": "02040503050406030204" |
| 44 | }, |
| 45 | "fallback": [ |
| 46 | "Cambria", |
| 47 | "Caladea", |
| 48 | "Georgia", |
| 49 | "Times New Roman", |
| 50 | "serif" |
| 51 | ], |
| 52 | "dir": "caladea", |
| 53 | "licence": "OFL.txt", |
| 54 | "styles": { |
| 55 | "regular": "Caladea-Regular", |
| 56 | "bold": "Caladea-Bold", |
| 57 | "italic": "Caladea-Italic", |
| 58 | "boldItalic": "Caladea-BoldItalic" |
| 59 | } |
| 60 | }, |
| 61 | { |
| 62 | "key": "inter", |
| 63 | "name": "Inter", |
| 64 | "category": "sans", |
| 65 | "docx": { |
| 66 | "name": "Inter", |
| 67 | "family": "swiss", |
| 68 | "pitch": "variable", |
| 69 | "altName": "Arial" |
| 70 | }, |
| 71 | "fallback": [ |
| 72 | "Helvetica Neue", |
| 73 | "Arial", |
| 74 | "sans-serif" |
| 75 | ], |
| 76 | "dir": "inter", |
| 77 | "licence": "LICENSE.txt", |
| 78 | "styles": { |
| 79 | "regular": "Inter-Regular", |
| 80 | "bold": "Inter-Bold", |
| 81 | "italic": "Inter-Italic", |
| 82 | "boldItalic": "Inter-BoldItalic" |
| 83 | } |
| 84 | }, |
| 85 | { |
| 86 | "key": "sourcesans", |
| 87 | "name": "Source Sans 3", |
| 88 | "category": "sans", |
| 89 | "reserved": "Source", |
| 90 | "docx": { |
| 91 | "name": "Source Sans 3", |
| 92 | "family": "swiss", |
| 93 | "pitch": "variable", |
| 94 | "altName": "Calibri" |
| 95 | }, |
| 96 | "fallback": [ |
| 97 | "Segoe UI", |
| 98 | "Arial", |
| 99 | "sans-serif" |
| 100 | ], |
| 101 | "dir": "sourcesans", |
| 102 | "licence": "LICENSE.md", |
| 103 | "styles": { |
| 104 | "regular": "SourceSans3-Regular", |
| 105 | "bold": "SourceSans3-Bold", |
| 106 | "italic": "SourceSans3-It", |
| 107 | "boldItalic": "SourceSans3-BoldIt" |
| 108 | } |
| 109 | }, |
| 110 | { |
| 111 | "key": "plexsans", |
| 112 | "name": "IBM Plex Sans", |
| 113 | "category": "sans", |
| 114 | "reserved": "Plex", |
| 115 | "docx": { |
| 116 | "name": "IBM Plex Sans", |
| 117 | "family": "swiss", |
| 118 | "pitch": "variable", |
| 119 | "altName": "Arial" |
| 120 | }, |
| 121 | "fallback": [ |
| 122 | "Helvetica Neue", |
| 123 | "Arial", |
| 124 | "sans-serif" |
| 125 | ], |
| 126 | "dir": "plexsans", |
| 127 | "licence": "LICENSE.txt", |
| 128 | "styles": { |
| 129 | "regular": "IBMPlexSans-Regular", |
| 130 | "bold": "IBMPlexSans-Bold", |
| 131 | "italic": "IBMPlexSans-Italic", |
| 132 | "boldItalic": "IBMPlexSans-BoldItalic" |
| 133 | } |
| 134 | }, |
| 135 | { |
| 136 | "key": "sourceserif", |
| 137 | "name": "Source Serif 4", |
| 138 | "category": "serif", |
| 139 | "reserved": "Source", |
| 140 | "docx": { |
| 141 | "name": "Source Serif 4", |
| 142 | "family": "roman", |
| 143 | "pitch": "variable", |
| 144 | "altName": "Georgia" |
| 145 | }, |
| 146 | "fallback": [ |
| 147 | "Georgia", |
| 148 | "Times New Roman", |
| 149 | "serif" |
| 150 | ], |
| 151 | "dir": "sourceserif", |
| 152 | "licence": "LICENSE.md", |
| 153 | "styles": { |
| 154 | "regular": "SourceSerif4-Regular", |
| 155 | "bold": "SourceSerif4-Bold", |
| 156 | "italic": "SourceSerif4-It", |
| 157 | "boldItalic": "SourceSerif4-BoldIt" |
| 158 | } |
| 159 | }, |
| 160 | { |
| 161 | "key": "literata", |
| 162 | "name": "Literata", |
| 163 | "category": "serif", |
| 164 | "docx": { |
| 165 | "name": "Literata", |
| 166 | "family": "roman", |
| 167 | "pitch": "variable", |
| 168 | "altName": "Georgia" |
| 169 | }, |
| 170 | "fallback": [ |
| 171 | "Georgia", |
| 172 | "Times New Roman", |
| 173 | "serif" |
| 174 | ], |
| 175 | "dir": "literata", |
| 176 | "licence": "OFL.txt", |
| 177 | "styles": { |
| 178 | "regular": "Literata-Regular", |
| 179 | "bold": "Literata-Bold", |
| 180 | "italic": "Literata-Italic", |
| 181 | "boldItalic": "Literata-BoldItalic" |
| 182 | } |
| 183 | }, |
| 184 | { |
| 185 | "key": "garamond", |
| 186 | "name": "EB Garamond", |
| 187 | "category": "serif", |
| 188 | "docx": { |
| 189 | "name": "EB Garamond", |
| 190 | "family": "roman", |
| 191 | "pitch": "variable", |
| 192 | "altName": "Garamond" |
| 193 | }, |
| 194 | "fallback": [ |
| 195 | "Garamond", |
| 196 | "Georgia", |
| 197 | "serif" |
| 198 | ], |
| 199 | "dir": "garamond", |
| 200 | "licence": "OFL.txt", |
| 201 | "styles": { |
| 202 | "regular": "EBGaramond-Regular", |
| 203 | "bold": "EBGaramond-Bold", |
| 204 | "italic": "EBGaramond-Italic", |
| 205 | "boldItalic": "EBGaramond-BoldItalic" |
| 206 | } |
| 207 | }, |
| 208 | { |
| 209 | "key": "sans", |
| 210 | "name": "Liberation Sans", |
| 211 | "category": "sans", |
| 212 | "twin": "Arial", |
| 213 | "reserved": "Liberation", |
| 214 | "docx": { |
| 215 | "name": "Arial", |
| 216 | "family": "swiss", |
| 217 | "pitch": "variable", |
| 218 | "panose": "020B0604020202020204" |
| 219 | }, |
| 220 | "fallback": [ |
| 221 | "Arial", |
| 222 | "Helvetica", |
| 223 | "Liberation Sans", |
| 224 | "sans-serif" |
| 225 | ], |
| 226 | "dir": "liberation", |
| 227 | "licence": "LICENSE-OFL-1.1.txt", |
| 228 | "styles": { |
| 229 | "regular": "LiberationSans-Regular", |
| 230 | "bold": "LiberationSans-Bold", |
| 231 | "italic": "LiberationSans-Italic", |
| 232 | "boldItalic": "LiberationSans-BoldItalic" |
| 233 | } |
| 234 | }, |
| 235 | { |
| 236 | "key": "serif", |
| 237 | "name": "Liberation Serif", |
| 238 | "category": "serif", |
| 239 | "twin": "Times New Roman", |
| 240 | "reserved": "Liberation", |
| 241 | "docx": { |
| 242 | "name": "Times New Roman", |
| 243 | "family": "roman", |
| 244 | "pitch": "variable", |
| 245 | "panose": "02020603050405020304" |
| 246 | }, |
| 247 | "fallback": [ |
| 248 | "Times New Roman", |
| 249 | "Times", |
| 250 | "Liberation Serif", |
| 251 | "serif" |
| 252 | ], |
| 253 | "dir": "liberation", |
| 254 | "licence": "LICENSE-OFL-1.1.txt", |
| 255 | "styles": { |
| 256 | "regular": "LiberationSerif-Regular", |
| 257 | "bold": "LiberationSerif-Bold", |
| 258 | "italic": "LiberationSerif-Italic", |
| 259 | "boldItalic": "LiberationSerif-BoldItalic" |
| 260 | } |
| 261 | }, |
| 262 | { |
| 263 | "key": "mono", |
| 264 | "name": "Liberation Mono", |
| 265 | "category": "mono", |
| 266 | "twin": "Courier New", |
| 267 | "reserved": "Liberation", |
| 268 | "docx": { |
| 269 | "name": "Courier New", |
| 270 | "family": "modern", |
| 271 | "pitch": "fixed", |
| 272 | "panose": "02070309020205020404" |
| 273 | }, |
| 274 | "fallback": [ |
| 275 | "Courier New", |
| 276 | "Liberation Mono", |
| 277 | "Consolas", |
| 278 | "monospace" |
| 279 | ], |
| 280 | "dir": "liberation", |
| 281 | "licence": "LICENSE-OFL-1.1.txt", |
| 282 | "styles": { |
| 283 | "regular": "LiberationMono-Regular", |
| 284 | "bold": "LiberationMono-Bold", |
| 285 | "italic": "LiberationMono-Italic", |
| 286 | "boldItalic": "LiberationMono-BoldItalic" |
| 287 | } |
| 288 | }, |
| 289 | { |
| 290 | "key": "notosans", |
| 291 | "name": "Noto Sans", |
| 292 | "category": "sans", |
| 293 | "docx": { |
| 294 | "name": "Noto Sans", |
| 295 | "family": "swiss", |
| 296 | "pitch": "variable", |
| 297 | "altName": "Arial" |
| 298 | }, |
| 299 | "fallback": [ |
| 300 | "Noto Sans", |
| 301 | "Arial", |
| 302 | "sans-serif" |
| 303 | ], |
| 304 | "dir": "notosans", |
| 305 | "licence": "OFL.txt", |
| 306 | "styles": { |
| 307 | "regular": "NotoSans-Regular", |
| 308 | "bold": "NotoSans-Bold", |
| 309 | "italic": "NotoSans-Italic", |
| 310 | "boldItalic": "NotoSans-BoldItalic" |
| 311 | } |
| 312 | }, |
| 313 | { |
| 314 | "key": "zilla", |
| 315 | "name": "Zilla Slab", |
| 316 | "category": "slab", |
| 317 | "docx": { |
| 318 | "name": "Zilla Slab", |
| 319 | "family": "roman", |
| 320 | "pitch": "variable", |
| 321 | "altName": "Rockwell" |
| 322 | }, |
| 323 | "fallback": [ |
| 324 | "Rockwell", |
| 325 | "Georgia", |
| 326 | "serif" |
| 327 | ], |
| 328 | "dir": "zilla", |
| 329 | "licence": "OFL.txt", |
| 330 | "styles": { |
| 331 | "regular": "ZillaSlab-Regular", |
| 332 | "bold": "ZillaSlab-Bold", |
| 333 | "italic": "ZillaSlab-Italic", |
| 334 | "boldItalic": "ZillaSlab-BoldItalic" |
| 335 | } |
| 336 | }, |
| 337 | { |
| 338 | "key": "jetbrains", |
| 339 | "name": "JetBrains Mono", |
| 340 | "category": "mono", |
| 341 | "docx": { |
| 342 | "name": "JetBrains Mono", |
| 343 | "family": "modern", |
| 344 | "pitch": "fixed", |
| 345 | "altName": "Consolas" |
| 346 | }, |
| 347 | "fallback": [ |
| 348 | "Consolas", |
| 349 | "Menlo", |
| 350 | "Courier New", |
| 351 | "monospace" |
| 352 | ], |
| 353 | "dir": "jetbrains", |
| 354 | "licence": "OFL.txt", |
| 355 | "styles": { |
| 356 | "regular": "JetBrainsMono-Regular", |
| 357 | "bold": "JetBrainsMono-Bold", |
| 358 | "italic": "JetBrainsMono-Italic", |
| 359 | "boldItalic": "JetBrainsMono-BoldItalic" |
| 360 | } |
| 361 | }, |
| 362 | { |
| 363 | "key": "playfair", |
| 364 | "name": "Playfair Display", |
| 365 | "category": "display", |
| 366 | "reserved": "Playfair Display", |
| 367 | "docx": { |
| 368 | "name": "Playfair Display", |
| 369 | "family": "roman", |
| 370 | "pitch": "variable", |
| 371 | "altName": "Georgia" |
| 372 | }, |
| 373 | "fallback": [ |
| 374 | "Didot", |
| 375 | "Bodoni MT", |
| 376 | "Georgia", |
| 377 | "serif" |
| 378 | ], |
| 379 | "dir": "playfair", |
| 380 | "licence": "OFL.txt", |
| 381 | "styles": { |
| 382 | "regular": "PlayfairDisplay-Regular", |
| 383 | "bold": "PlayfairDisplay-Bold", |
| 384 | "italic": "PlayfairDisplay-Italic", |
| 385 | "boldItalic": "PlayfairDisplay-BoldItalic" |
| 386 | } |
| 387 | }, |
| 388 | { |
| 389 | "key": "caveat", |
| 390 | "name": "Caveat", |
| 391 | "category": "handwriting", |
| 392 | "docx": { |
| 393 | "name": "Caveat", |
| 394 | "family": "script", |
| 395 | "pitch": "variable", |
| 396 | "altName": "Segoe Print" |
| 397 | }, |
| 398 | "fallback": [ |
| 399 | "Segoe Print", |
| 400 | "Bradley Hand", |
| 401 | "cursive" |
| 402 | ], |
| 403 | "dir": "caveat", |
| 404 | "licence": "OFL.txt", |
| 405 | "styles": { |
| 406 | "regular": "Caveat-Regular", |
| 407 | "bold": "Caveat-Bold" |
| 408 | } |
| 409 | } |
| 410 | ] |
| 411 | } |
| 412 | |