Emulator (vendored xterm): - Widths follow glibc wcwidth on generated Unicode 16 tables (tool/gen_unicode_tables.py); combining marks, variation selectors, ZWJ sequences, skin tones, flags and Hangul jamo join the previous cell, stored as interned clusters (CellContent.clusterFlag) and drawn and copied whole. U+FE0F and flags take two columns, as modern terminals do; a wide character never starts in the last column. - Box drawing, block elements and Powerline separators are drawn as geometry filling the cell; rows are whole pixels high. - Backgrounds merge per colour; each line is a picture reused until the line changes (BufferLine.version); a line drawn unchanged settles into one laid out paragraph with a span per style. TerminalStyle and TerminalTheme compare by value. App: bundled Symbols Nerd Font Mono subset (568 KiB, MIT) as the terminal's first fallback, loaded on first use; line height 1.1; ?terminalUnicode=1 fixture showcase; bench gains a progress workload. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Bundled fonts
RobotoMono-Regular.ttf and RobotoMono-Bold.ttf are Roboto Mono by
Christian Robertson, licensed under the Apache License, Version 2.0
(https://www.apache.org/licenses/LICENSE-2.0). The files are copied unchanged
from the Flutter SDK's DevTools assets. They give monospace text (artifact text
previews, background task output) a real fixed-width face on every platform:
Flutter web does not resolve the generic monospace family.
Terminal symbols
symbols-nerd-font/SymbolsNerdFontMono-Subset.ttf (568 KiB) is a subset of
Symbols Nerd Font Mono from Nerd Fonts 3.5.1
(github.com/ryanoasis/nerd-fonts release v3.5.1, NerdFontsSymbolsOnly.tar.xz,
SymbolsNerdFontMono-Regular.ttf, 2.5 MiB). The terminal views list it first
among their fallback families, so Powerline and Nerd Font prompt glyphs draw
on every platform and offline (Flutter web's own fallback fetches Noto fonts
from Google's CDN, which has none of these). It is a plain asset registered
with a FontLoader the first time a terminal is drawn
(lib/ui/text/terminal_symbols_font.dart), not a startup download.
Kept ranges (pyftsubset --unicodes=..., fontTools 4): Powerline and
Powerline Extra U+E0A0-E0D7, Seti-UI U+E5FA-E6B7, Font Awesome U+ED00-F2FF,
Font Logos U+F300-F381, Octicons U+F400-F533 with U+2665 and U+26A1, IEC power
symbols U+23FB-23FE and U+2B58. Left out for size: Devicons, Codicons,
Weather, Pomicons and Material Design (1.2 MiB alone). The box drawing,
block and Powerline separator characters are drawn by the emulator itself
and do not need the font.
Licences: the font and the patcher are MIT (symbols-nerd-font/LICENSE,
(c) 2014 Ryan L McIntyre, registered with LicenseRegistry); the kept icon
sets are Powerline Extra, Seti-UI and Octicons MIT, Font Awesome 6 CC BY 4.0
(icons, attribution: Fonticons, Inc.), Font Logos Unlicense. See the Nerd
Fonts README's icon set table.
Optional interface fonts
Chosen per device in Settings > Font (lib/ui/theme/app_font.dart). They are
declared as plain assets:, not fonts:, so Flutter web does not download them
at startup; the chosen family is registered on demand with a FontLoader. Each
directory holds the unmodified Regular (400), Medium (500), SemiBold (600) and
Bold (700) static TTFs and the family's SIL Open Font License 1.1 as OFL.txt,
which is also registered with LicenseRegistry.
| Directory | Family | Source | Licence |
|---|---|---|---|
inter/ |
Inter 4.1 | github.com/rsms/inter release v4.1, Inter-4.1.zip, extras/ttf/ |
OFL 1.1, (c) The Inter Project Authors |
ibm-plex-sans/ |
IBM Plex Sans 1.1.0 | github.com/IBM/plex release @ibm/plex-sans@1.1.0, ibm-plex-sans.zip, fonts/complete/ttf/ |
OFL 1.1, (c) IBM Corp., Reserved Font Name "Plex" |
source-sans-3/ |
Source Sans 3.052 | github.com/adobe-fonts/source-sans release 3.052R, TTF-source-sans-3.052R.zip; licence text from LICENSE.md at that tag |
OFL 1.1, (c) Adobe, Reserved Font Name "Source" |
atkinson-hyperlegible-next/ |
Atkinson Hyperlegible Next | github.com/googlefonts/atkinson-hyperlegible-next (no releases) at commit 7925f50f, fonts/ttf/ and OFL.txt |
OFL 1.1, (c) The Atkinson Hyperlegible Next Project Authors |
The files are unmodified (no subsetting), so the Reserved Font Names stay usable.