Skip to content

Commit

Permalink
wiki
Browse files Browse the repository at this point in the history
  • Loading branch information
lubeda committed Aug 19, 2023
1 parent a9f9bef commit 996fbfe
Show file tree
Hide file tree
Showing 2 changed files with 61 additions and 4 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/wiki.yaml
Original file line number Diff line number Diff line change
@@ -1,10 +1,12 @@
name: Publish wiki
on:
push:
branches: [main]
branches:
- main
- 2023.8.0
paths:
- wiki/**
- .github/workflows/wiki.yml
- .github/workflows/wiki.yaml
concurrency:
group: publish-wiki
cancel-in-progress: true
Expand Down
59 changes: 57 additions & 2 deletions wiki/fonts.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,17 +6,72 @@ Due to limitations of the display there are only some font useful here are some

## EHMTXv2.ttf

### Font definition

```yaml
- file: ehmtx.ttf
id: default_font
size: 16
glyphs: |
!?"%()+*=,-_.:°0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ abcdefghijklmnÖÄÜöäüopqrstuvwxyz€@<>/
```
### Configuration
```yaml
ehmtx:
show_dow: true
default_font_yoffset: 6
default_font_id: default_font
....
```

[ttf-file](https://github.com/lubeda/EspHoMaTriXv2/blob/main/copy2esphome/EHMTXv2.ttf)
![sample](https://github.com/lubeda/EspHoMaTriXv2/blob/main/wiki/ehmtxfont.png?raw=true)


## mateine.ttf

These fonts are eight pixels high, so you have to disable the day of week in clock display

### Font definition

```yaml
font:
- file: mateine.ttf
size: 16
id: default_font
glyphs: |
!?"%()+*=,-_.:°0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ abcdefghijklmnÖÄÜöäüopqrstuvwxyz@<>ߧ€/
```
[8 pixel font]https://github.com/lubeda/EspHoMaTriXv2/blob/main/copy2esphome/mateine.ttf
![sample](https://github.com/lubeda/EspHoMaTriXv2/blob/main/wiki/mateinefont.png?raw=true)
```yaml
font:
- file: mateineThin.ttf
size: 16
id: default_font
glyphs: |
!?"%()+*=,-_.:°0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ abcdefghijklmnÖÄÜöäüopqrstuvwxyz@<>ߧ€/
```
[8 pixel font thin]https://github.com/lubeda/EspHoMaTriXv2/blob/main/copy2esphome/mateineThin.ttf
![sample](https://github.com/lubeda/EspHoMaTriXv2/blob/main/wiki/mateinethinfont.png?raw=true)
### Configuration
```yaml
ehmtx:
show_dow: true
default_font_yoffset: 6
default_font_id: default_font
....
```


## Trip5s fonts

[REPO](https://github.com/trip5/MatrixClockFonts)
Details for this fonts are well documented in his repo

[REPO](https://github.com/trip5/MatrixClockFonts)

0 comments on commit 996fbfe

Please sign in to comment.