update readme
This commit is contained in:
parent
67eb7fa315
commit
a25f7b6eba
2 changed files with 11 additions and 3 deletions
|
|
@ -50,7 +50,7 @@ pip install fontforge svgpathtools lxml --break-system-packages
|
|||
python3 font_pixelizer.py votre_fonte.ttf
|
||||
```
|
||||
|
||||
#### Paramètres modifiables dans le script :
|
||||
### Paramètres modifiables dans le script :
|
||||
|
||||
```python
|
||||
# Taille des pixels
|
||||
|
|
@ -75,6 +75,14 @@ font_weight = "Regular"
|
|||
export_formats = ["ttf"] # ["ttf", "otf", "woff", "woff2"]
|
||||
```
|
||||
|
||||
### Ajouter de l’aléatoire
|
||||
Pour ajouter de l’aléatoire dans les paramètres:
|
||||
- voir exemple de configuration ligne 117 (commentée par défaut)
|
||||
- voir exemple de configuration ligne 235 (commentée par défaut)
|
||||
|
||||
=> randrange(min, max, step)
|
||||
|
||||
|
||||
## Exemples de configuration
|
||||
|
||||
### Fonte rétro 8-bit classique
|
||||
|
|
@ -117,7 +125,7 @@ pixel_gap = 10
|
|||
monospace = True
|
||||
```
|
||||
|
||||
## 🎨 Styles de pixels disponibles
|
||||
## Styles de pixels disponibles
|
||||
|
||||
### Square (carré)
|
||||
```python
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue