Fibo-2.0-dev / fonts /README.md
mrfakename's picture
Mirror briaai/Fibo-2.0-dev
b3c38d3 verified
|
Raw History Blame Contribute Delete
1.06 kB
# fonts
Fallback fonts for drawing the images of a caption's text (`render_text_images=True` in
`BriaFibo2Pipeline`), the way fibo-2's training drew them.
Each `text_render` text is drawn black on white at size 20. A character is drawn with the first of
these that has a glyph for it:
| order | font | source | licence |
|---|---|---|---|
| 1 | Pillow's built-in font, `ImageFont.load_default(20)` (a subset of Aileron Regular) | bundled with Pillow, not in this folder | — |
| 2 | `Aileron-Regular.otf`, Aileron Regular 1.102 | https://www.dotcolon.net/font/aileron | CC0 1.0, `LICENSE-Aileron.txt` |
| 3 | `DejaVuSans.ttf`, DejaVu Sans 2.37 | https://dejavu-fonts.github.io | Bitstream Vera licence, `LICENSE-DejaVu.txt` |
| file | bytes | md5 |
|---|---|---|
| `Aileron-Regular.otf` | 27,644 | `d321fa78bb7190a8ca7e14213ef63203` |
| `DejaVuSans.ttf` | 757,076 | `517a360397bbb5a7573c2558e78fa4ea` |
Training used Pillow 12.2. Characters none of the three fonts covers (CJK, emoji) are drawn as the
built-in font's missing-glyph box, as in training.