Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/juckz/one-font
https://github.com/juckz/one-font
Last synced: 18 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/juckz/one-font
- Owner: JuckZ
- License: mit
- Created: 2024-04-24T09:16:26.000Z (9 months ago)
- Default Branch: main
- Last Pushed: 2024-04-24T09:22:47.000Z (9 months ago)
- Last Synced: 2024-11-05T02:42:26.334Z (2 months ago)
- Language: JavaScript
- Size: 111 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# One-Font
## TODO
- [ ] 流水线配置
- [ ] 动态添加icon到字体包,由其他仓库的push事件触发
- [ ] one-config中waybar, yasb,terminal字体等配置
- [ ] 粗体、斜体、连体等支持
- [ ] 支持scoop brew choco yum apt等安装方式## Show
## Usage
### MacOS
[在 Mac 上的“字体册”中安装和验证字体 - 官方 Apple 支持 (中国)](https://support.apple.com/zh-cn/guide/font-book/fntbk1000/mac)
### Window
下载后双击安装即可
### Linux
```sh
yay -S one-font
```#### Arch
#### Others
```sh
mkdir -p /usr/share/fonts/OTF/ && cp One-Font.otf /usr/share/fonts/OTF/
```## Develop
```sh
npm install -g fantasticon
fantasticon my-icons -o icon-dist
```### Preview in web
```html
Document
@font-face {
font-family: 'OneFont';
src: url('./fonts/OneFont.ttf') format('truetype'),
url('./fonts/OneFont-Regular.otf') format('opentype');
font-weight: normal;
font-style: normal;
}@font-face {
font-family: 'OneFont';
src: url('./fonts/OneFont-Bold.otf') format('opentype');
font-weight: bold;
font-style: normal;
}.one-font {
font-family: 'OneFont';
}.bold {
font-weight: bold;
}
▀```
### SomeTools
[Glyphr Studio](https://www.glyphrstudio.com/online/)
[icomoon](https://icomoon.io/)
[iconify](https://icon-sets.iconify.design/)