diff --git a/packages/font-cjkfonts-allseto/package.json b/packages/font-cjkfonts-allseto/package.json index ebe580df6..493bf0813 100644 --- a/packages/font-cjkfonts-allseto/package.json +++ b/packages/font-cjkfonts-allseto/package.json @@ -2,11 +2,10 @@ "name": "@proj-airi/font-cjkfonts-allseto", "type": "module", "private": true, - "description": "A collection of transition animations that used by Project AIRI", + "description": "Essential CSS for cjkfonts 全瀨體", "author": { - "name": "Moeru AI Project AIRI Team", - "email": "airi@moeru.ai", - "url": "https://github.com/moeru-ai" + "name": "Creators of cjkFonts", + "url": "https://cjkfonts.io/" }, "license": "SIL Open Font License", "homepage": "https://cjkfonts.io/blog/cjkfonts_allseto", diff --git a/packages/font-departure-mono/LICENSE b/packages/font-departure-mono/LICENSE new file mode 100644 index 000000000..de5247618 --- /dev/null +++ b/packages/font-departure-mono/LICENSE @@ -0,0 +1,93 @@ +Copyright 2022–2024 Helena Zhang (helenazhang.com). + +This Font Software is licensed under the SIL Open Font License, Version 1.1. +This license is copied below, and is also available with a FAQ at: +https://openfontlicense.org + + +----------------------------------------------------------- +SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007 +----------------------------------------------------------- + +PREAMBLE +The goals of the Open Font License (OFL) are to stimulate worldwide +development of collaborative font projects, to support the font creation +efforts of academic and linguistic communities, and to provide a free and +open framework in which fonts may be shared and improved in partnership +with others. + +The OFL allows the licensed fonts to be used, studied, modified and +redistributed freely as long as they are not sold by themselves. The +fonts, including any derivative works, can be bundled, embedded, +redistributed and/or sold with any software provided that any reserved +names are not used by derivative works. The fonts and derivatives, +however, cannot be released under any other type of license. The +requirement for fonts to remain under this license does not apply +to any document created using the fonts or their derivatives. + +DEFINITIONS +"Font Software" refers to the set of files released by the Copyright +Holder(s) under this license and clearly marked as such. This may +include source files, build scripts and documentation. + +"Reserved Font Name" refers to any names specified as such after the +copyright statement(s). + +"Original Version" refers to the collection of Font Software components as +distributed by the Copyright Holder(s). + +"Modified Version" refers to any derivative made by adding to, deleting, +or substituting -- in part or in whole -- any of the components of the +Original Version, by changing formats or by porting the Font Software to a +new environment. + +"Author" refers to any designer, engineer, programmer, technical +writer or other person who contributed to the Font Software. + +PERMISSION & CONDITIONS +Permission is hereby granted, free of charge, to any person obtaining +a copy of the Font Software, to use, study, copy, merge, embed, modify, +redistribute, and sell modified and unmodified copies of the Font +Software, subject to the following conditions: + +1) Neither the Font Software nor any of its individual components, +in Original or Modified Versions, may be sold by itself. + +2) Original or Modified Versions of the Font Software may be bundled, +redistributed and/or sold with any software, provided that each copy +contains the above copyright notice and this license. These can be +included either as stand-alone text files, human-readable headers or +in the appropriate machine-readable metadata fields within text or +binary files as long as those fields can be easily viewed by the user. + +3) No Modified Version of the Font Software may use the Reserved Font +Name(s) unless explicit written permission is granted by the corresponding +Copyright Holder. This restriction only applies to the primary font name as +presented to the users. + +4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font +Software shall not be used to promote, endorse or advertise any +Modified Version, except to acknowledge the contribution(s) of the +Copyright Holder(s) and the Author(s) or with their explicit written +permission. + +5) The Font Software, modified or unmodified, in part or in whole, +must be distributed entirely under this license, and must not be +distributed under any other license. The requirement for fonts to +remain under this license does not apply to any document created +using the Font Software. + +TERMINATION +This license becomes null and void if any of the above conditions are +not met. + +DISCLAIMER +THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, +EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF +MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT +OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE +COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, +INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL +DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING +FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM +OTHER DEALINGS IN THE FONT SOFTWARE. diff --git a/packages/font-departure-mono/build.config.ts b/packages/font-departure-mono/build.config.ts new file mode 100644 index 000000000..d4b80ded4 --- /dev/null +++ b/packages/font-departure-mono/build.config.ts @@ -0,0 +1,10 @@ +import { defineBuildConfig } from 'unbuild' + +export default defineBuildConfig({ + entries: [ + { builder: 'copy', input: './src', outDir: './dist' }, + ], + declaration: false, + sourcemap: false, + clean: true, +}) diff --git a/packages/font-departure-mono/package.json b/packages/font-departure-mono/package.json new file mode 100644 index 000000000..bffef4685 --- /dev/null +++ b/packages/font-departure-mono/package.json @@ -0,0 +1,31 @@ +{ + "name": "@proj-airi/font-departure-mono", + "type": "module", + "private": true, + "description": "A collection of transition animations that used by Project AIRI", + "author": { + "name": "Tobias Fried", + "email": "26732044+rektdeckard@users.noreply.github.com", + "url": "https://github.com/rektdeckard/departure-mono" + }, + "license": "MIT", + "homepage": "https://departuremono.com/", + "repository": { + "type": "git", + "url": "https://github.com/moeru-ai/airi.git", + "directory": "packages/font-departure-mono" + }, + "exports": { + ".": { "default": "./dist/index.css" }, + "./index.css": { "default": "./dist/index.css" }, + "./files/*": { "default": "./dist/files/*" }, + "./files/*.otf": { "default": "./dist/files/*.otf" }, + "./files/*.woff": { "default": "./dist/files/*.woff" }, + "./files/*.woff2": { "default": "./dist/files/*.woff2" } + }, + "scripts": { + "dev": "pnpm run stub", + "stub": "unbuild --stub", + "build": "unbuild" + } +} diff --git a/packages/font-departure-mono/src/README.md b/packages/font-departure-mono/src/README.md new file mode 100644 index 000000000..05febb1d2 --- /dev/null +++ b/packages/font-departure-mono/src/README.md @@ -0,0 +1,59 @@ +# Hello! + +Thanks for trying Departure Mono (departuremono.com), licensed under the SIL OFL. Send your questions and suggestions to hello@helenazhang.com or DM me on Twitter/X: @minor_axis. Donations much appreciated at: buymeacoffee.com/helenazhang. Enjoy! + +— Helena Zhang (helenazhang.com) + +# Font Information + +Version 1.500 features 1,186 glyphs, including support for: + +- Basic Latin, Latin-1, Latin Extended-A, and most Latinate languages +- Cyrillic +- Basic Greek +- Small caps +- Old-style numerals and fractions +- Simple box-drawing characters and selected symbols + +# Usage + +For pixel-perfect results, set the font size to increments of 11px. + +Experiment with tighter or wider tracking (letter-spacing). + +# Changelog + +v1.500 +- 1,186 glyphs +- Added box-drawing characters: ▁ ▂ ▃ ▅ ▆ ▇ ▔ ▏ ▎ ▍ ▌ ▋ ▊ ▉ ▐ ▕ ▖ ▗ ▘ ▙ ▚ ▛ ▜ ▝ ▞ ▟ ■ □ ▪ ▫ ╦ ╖ ╓ ┰ ┒ ┧ ┎ ┟ ╁ ┯ ┑ ┩ ┍ ┡ ╇ ╤ ╕ ╒ ╍ ╏ ╻ ┳ ┓ ┏ ━ ╸ ╾ ┉ ┋ ╺ ┅ ┇ ╹ ┻ ┛ ╿ ┗ ┃ ╋ ┫ ┣ ╅ ┭ ┵ ┽ ┲ ┺ ╊ ╃ ╮ ╭ ╯ ╰ ╳ ╲ ╱ ╌ ╎ ╷ ╴ ╼ ┈ ┊ ╶ ┄ ┆ ╵ ╽ ╆ ┮ ┶ ┾ ┱ ┹ ╉ ╄ ╨ ╜ ╙ ╀ ┸ ┦ ┚ ┞ ┖ ╈ ┷ ┪ ┙ ┢ ┕ ╧ ╛ ╘ ╫ ╢ ╟ ╂ ┨ ┠ ┿ ┥ ┝ ╪ ╡ ╞ 🮂 🮃 🮄 🮅 🮆 🮇 🮈 🮉 🮊 🮋 ++ Added brackets: ❰ ❮ ❱ ❯ ❬ ❭ + +v1.422 +- 1,034 glyphs +- Added stars: ★ ☆ ✦ ✧ +- Fixed bug: Ё and ё were missing accents +- Adjusted: ₽ Д д Ы ы Ъ ъ +- Serifed: Г г Ѓ ѓ Ґ ґ Ӷ ӷ + +v1.420 +- 1,030 glyphs +- Added Cyrillic characters: А Б В Г Ѓ Ґ Ӷ Ғ Ҕ Д Е Ѐ Ё Ж З И Й Ѝ Ҋ К Ќ Л М Н О П Р С Т У Ў Ф Х Ч Ц Ш Щ Џ Ь Ы Ъ Љ Њ Ѕ Є Э І Ї Ј Ћ Ю Я Ђ Ѣ Ѵ Җ Ҙ Қ Ҟ Ҡ Ң Ҥ Ҧ Ԥ Ҩ Ҫ Ҭ Ү Ұ Ҳ Ҵ Ҷ Һ Ԧ Ҽ Ҿ Ӏ Ӂ Ӄ Ӆ Ӈ Ӊ Ӌ Ӎ Ӑ Ӓ Ӕ Ӗ Ӛ Ӝ Ӟ Ӡ Ӣ Ӥ Ӧ Ө Ӫ Ӭ Ӯ Ӱ Ӳ Ӵ Ӹ Ӽ Ԑ Ԓ Ԝ Ҍ Ҏ а б в г ѓ ґ ӷ ғ ҕ д е ѐ ё ж з и й ѝ ҋ к ќ л м н о п р с т у ў ф х ч ц ш щ џ ь ы ъ љ њ ѕ є э і ї ј ћ ю я ђ ѣ ѵ җ ҙ қ ҟ ҡ ң ҥ ҧ ԥ ҩ ҫ ҭ ү ұ ҳ ҵ ҷ һ ԧ ҽ ҿ ӏ ӂ ӄ ӆ ӈ ӊ ӌ ӎ ӑ ӓ ӕ ӗ ӛ ӝ ӟ ӡ ӣ ӥ ӧ ө ӫ ӭ ӯ ӱ ӳ ӵ ӹ ӽ ԑ ԓ ԝ ҍ ҏ +- Added Greek characters: Ά Έ Ή Ί Ό Ύ Ώ Ϊ Ϋ ί ϊ ΐ ύ ϋ ΰ ό ώ ά έ ή ΄ ΅ ͺ +- Added: № ∙ +- Adjusted: Ľ ť ĸ δ ι ʻ + +v1.350 +- 775 glyphs +- Added fractions: ↉ ⅓ ⅔ ⅕ ⅖ ⅗ ⅘ ⅙ ⅚ ⅐ ⅑ +- Added a centered alternate for * +- Adjusted old-style numerals 0, 1, 2 to be x-height +- Adjusted ½ ¼ ¾ ⅛ ⅜ ⅝ ⅞ ‰ to fit in bounding box +- Adjusted curly brackets to horizontally align with other brackets +- Adjusted position of * and ° + +v1.346 +- 763 glyphs + +# Thanks + +A big thank you to: Tobias Fried, Christine Lee, Daniel Stern, Kim Slawson, Parker McGowan, Alex Krivov, Karl Peterson, Alexander Zaytsev, Vadim Pleshkov, and Maxim Iorsh for their general feedback and testing across languages diff --git a/packages/font-departure-mono/src/files/DepartureMono-Regular.otf b/packages/font-departure-mono/src/files/DepartureMono-Regular.otf new file mode 100644 index 000000000..e0b250213 Binary files /dev/null and b/packages/font-departure-mono/src/files/DepartureMono-Regular.otf differ diff --git a/packages/font-departure-mono/src/files/DepartureMono-Regular.woff b/packages/font-departure-mono/src/files/DepartureMono-Regular.woff new file mode 100644 index 000000000..b7bb67236 Binary files /dev/null and b/packages/font-departure-mono/src/files/DepartureMono-Regular.woff differ diff --git a/packages/font-departure-mono/src/files/DepartureMono-Regular.woff2 b/packages/font-departure-mono/src/files/DepartureMono-Regular.woff2 new file mode 100644 index 000000000..b4a23dc1d Binary files /dev/null and b/packages/font-departure-mono/src/files/DepartureMono-Regular.woff2 differ diff --git a/packages/font-departure-mono/src/index.css b/packages/font-departure-mono/src/index.css new file mode 100644 index 000000000..fe4191a10 --- /dev/null +++ b/packages/font-departure-mono/src/index.css @@ -0,0 +1,7 @@ +/* Departure Mono Regular */ +@font-face { + font-family: 'Departure Mono'; + font-style: normal; + font-display: swap; + src: url(./files/DepartureMono-Regular.otf) format('opentype'); +} diff --git a/packages/font-departure-mono/src/index.ts b/packages/font-departure-mono/src/index.ts new file mode 100644 index 000000000..d2ad33db9 --- /dev/null +++ b/packages/font-departure-mono/src/index.ts @@ -0,0 +1 @@ +import './index.css' diff --git a/packages/font-departure-mono/tsconfig.json b/packages/font-departure-mono/tsconfig.json new file mode 100644 index 000000000..264ac6e41 --- /dev/null +++ b/packages/font-departure-mono/tsconfig.json @@ -0,0 +1,26 @@ +{ + "compilerOptions": { + "target": "ESNext", + "lib": [ + "ESNext", + "DOM", + "DOM.Iterable" + ], + "module": "ESNext", + "moduleResolution": "bundler", + "types": [ + "vite/client" + ], + "esModuleInterop": true, + "forceConsistentCasingInFileNames": true, + "isolatedModules": true, + "verbatimModuleSyntax": true, + "skipLibCheck": true + }, + "include": [ + "src/**/*.ts", + "src/**/*.d.ts", + "src/**/*.mts", + "src/**/*.vue" + ] +} diff --git a/packages/font-xiaolai/package.json b/packages/font-xiaolai/package.json index c82d2f28f..dc132ecc3 100644 --- a/packages/font-xiaolai/package.json +++ b/packages/font-xiaolai/package.json @@ -2,11 +2,11 @@ "name": "@proj-airi/font-xiaolai", "type": "module", "private": true, - "description": "A collection of transition animations that used by Project AIRI", + "description": "Essential CSS for Xiaolai (小赖字体 / 小賴字體 / シャオライ / Xiaolai Font)", "author": { - "name": "Moeru AI Project AIRI Team", - "email": "airi@moeru.ai", - "url": "https://github.com/moeru-ai" + "name": "ʟxɢᴡ", + "email": "calxgw2018@gmail.com", + "url": "https://github.com/lxgw" }, "license": "SIL Open Font License", "homepage": "https://github.com/lxgw/kose-font", diff --git a/packages/ui-loading-screens/package.json b/packages/ui-loading-screens/package.json index 61ce872ad..66aaeec90 100644 --- a/packages/ui-loading-screens/package.json +++ b/packages/ui-loading-screens/package.json @@ -30,6 +30,7 @@ "typecheck": "vue-tsc --noEmit" }, "dependencies": { + "@rive-app/canvas-lite": "^2.29.0", "@vueuse/core": "^13.2.0", "vue": "^3.5.14" }, diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 570c0c213..579d0fa1d 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -790,6 +790,8 @@ importers: packages/font-cjkfonts-allseto: {} + packages/font-departure-mono: {} + packages/font-xiaolai: {} packages/memory-pgvector: @@ -1005,6 +1007,9 @@ importers: packages/ui-loading-screens: dependencies: + '@rive-app/canvas-lite': + specifier: ^2.29.0 + version: 2.29.0 '@vueuse/core': specifier: ^13.2.0 version: 13.2.0(vue@3.5.14(typescript@5.8.3)) @@ -4039,6 +4044,9 @@ packages: '@ricky0123/vad-web@0.0.24': resolution: {integrity: sha512-uv6GWW/kq8BkVErMQzXp3uwSyYMT3w/3QJiUerVaaKp7EwhOTIRY+96EoyFdG2WOFU5RkLk/2CVGbI7nDlxhEg==} + '@rive-app/canvas-lite@2.29.0': + resolution: {integrity: sha512-9wcbuTaz5E2vkHIzQeMDklsdYQvcLoYdJPA99vKr51Hv4skCMk/cbNb4/ekgAqaHiuVpFi6WY+JTrenMAiki5g==} + '@rollup/plugin-alias@5.1.1': resolution: {integrity: sha512-PR9zDb+rOzkRb2VD+EuKB7UC41vU5DIwZ5qqCpk0KJudcWAyi8rvYOhS7+L5aZCspw1stTViLgN5v6FF1p5cgQ==} engines: {node: '>=14.0.0'} @@ -14816,6 +14824,8 @@ snapshots: dependencies: onnxruntime-web: 1.14.0 + '@rive-app/canvas-lite@2.29.0': {} + '@rollup/plugin-alias@5.1.1(rollup@4.41.1)': optionalDependencies: rollup: 4.41.1