The program interface_font
The interface font (docs/FONTS.md, section 12): B612 Regular and Bold, placed by support/text_shaping and drawn by graphics.text_proportional. It shows a paragraph, three pairs with and without their adjustment, one word at the three positions of a pixel, enlarged, the digits in columns, and the time of one line.
The two glyph caches are resources of the boot image that the root service maps read-only at their fixed ranges (display.interface_font_open validates them). The labels of the window are the text of the system.
| Fact | Value |
|---|---|
| Source | programs/interface_font |
| Boot image | in the boot image; the image is not built, so its size is not known |
| Imports | none |
| Imported by | none |
Exports
| Export | What it does |
|---|---|
| entry() |
Read from the source of the module, as the build reads it to describe the exports (tools/kerneltool/describe.odin).
What the root service gives it
| What | Value | As the root service says |
|---|---|---|
| Grants | {} | Not named in grants_of: the grants of each other program. |
| Budget: pages, programs, threads | {pages = 2048, programs = 1, threads = 1} | Not named in things_of: the budget of each other program. |
Read from grants_of and things_of in programs/root/main.odin; budget_of in the same file adds the limits of processor time and of log records.
