README 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940
  1. NebOS UI fonts
  2. ==============
  3. The window manager, ngui applications and the browser use the fixed-point
  4. TrueType engine in ufont.c / ufont_ttf.c. The kernel boot console keeps the
  5. built-in 8x8 font; the terminal, editor and text fields keep the 8x16 bitmap
  6. font for their cell grids.
  7. Files
  8. -----
  9. sans.ttf Arimo Regular, Latin-1 + common punctuation
  10. sans-b.ttf Arimo Bold
  11. sans-i.ttf Arimo Italic
  12. sans-bi.ttf Arimo BoldItalic
  13. mono.ttf Liberation Mono Regular (browser <pre>/<code>)
  14. The Arimo faces are Copyright 2020 The Arimo Project Authors and are
  15. distributed under the Apache License 2.0 (see LICENSE-Apache-2.0). Liberation
  16. Mono is copyright (c) 2012 Red Hat, Inc. with Reserved Font Name Liberation
  17. and is distributed under the SIL Open Font License 1.1 (see LICENSE-OFL).
  18. The subsetting removes unused glyphs and OpenType layout features and keeps
  19. the files small enough for the rootfs pack.
  20. Regenerating
  21. ------------
  22. Install fonttools (`python3 -m pip install fonttools`) and run:
  23. make fonts
  24. or manually:
  25. pyftsubset /usr/share/fonts/croscore/Arimo-Regular.ttf \
  26. --unicodes='U+0020-00FF,U+20AC,U+2013-2014,U+2018-2019,U+201C-201D,U+2022,U+2026,U+00A0' \
  27. --layout-features='' --output-file=fonts/sans.ttf
  28. The checked-in files are the canonical build inputs; a normal `make` does not
  29. need fonttools or the original system fonts. Do not edit the generated TTFs
  30. by hand.