Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/juckz/one-font


https://github.com/juckz/one-font

Last synced: 18 days ago
JSON representation

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/)