<feed xmlns='http://www.w3.org/2005/Atom'>
<title>vega/docs, branch master</title>
<subtitle>Surface runtime projecting Pure views across pixel, terminal, CLI, and web.
</subtitle>
<id>http://git.yeowoo.org/vega/atom?h=master</id>
<link rel='self' href='http://git.yeowoo.org/vega/atom?h=master'/>
<link rel='alternate' type='text/html' href='http://git.yeowoo.org/vega/'/>
<updated>2026-09-30T15:33:27Z</updated>
<entry>
<title>Show an i64 with every digit on every surface</title>
<updated>2026-09-30T15:33:27Z</updated>
<author>
<name>eunhhu</name>
<email>necpition205@gmail.com</email>
</author>
<published>2026-09-30T15:33:21Z</published>
<link rel='alternate' type='text/html' href='http://git.yeowoo.org/vega/commit/?id=49e0df31289956aa3fd627f851f8fb2b3e08aa13'/>
<id>urn:sha1:49e0df31289956aa3fd627f851f8fb2b3e08aa13</id>
<content type='text'>
vega_text reads an i64 view or column as an integer and prints all of
its digits, so an ID past 2^53 shows as it is on the CLI, the TUI,
speech and the web surface, where a number would round.
</content>
</entry>
<entry>
<title>Show a bool as true or false, and make the examples' flags bools</title>
<updated>2026-09-30T14:29:20Z</updated>
<author>
<name>eunhhu</name>
<email>necpition205@gmail.com</email>
</author>
<published>2026-09-30T14:29:20Z</published>
<link rel='alternate' type='text/html' href='http://git.yeowoo.org/vega/commit/?id=72ecae6b6eb1365e722bd6d45acae8a5ccb74b23'/>
<id>urn:sha1:72ecae6b6eb1365e722bd6d45acae8a5ccb74b23</id>
<content type='text'>
aup and Pure now have a bool (Pure 016): a view or column may be one.
vega_text writes it as true or false, as a string's interpolation does, so
every surface shows the same words: the CLI, the TUI's cells, speech and
the web surface's JSON (a value's text) and page. An app that wants other
words picks them with a conditional (if t.done { "done" } else { "" }).

The flags of the examples are bools: todo's done and urgent, today's done,
the stopwatch's running. vega.when takes the bool as it took the number.

bools checks a bool field and a bool column on the CLI, the TUI, speech
and the web surface: true and false, never 1 and 0.
</content>
</entry>
<entry>
<title>Say how a value is shown, and what a screen never lets it do</title>
<updated>2026-09-30T12:19:01Z</updated>
<author>
<name>eunhhu</name>
<email>necpition205@gmail.com</email>
</author>
<published>2026-09-30T12:19:01Z</published>
<link rel='alternate' type='text/html' href='http://git.yeowoo.org/vega/commit/?id=8fc6f35b30642f3a8ebbd7f5f47b70195c8ffea1'/>
<id>urn:sha1:8fc6f35b30642f3a8ebbd7f5f47b70195c8ffea1</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Freeze the text subsystem at HarfBuzz 10.2 and Unicode 16</title>
<updated>2026-09-28T15:35:18Z</updated>
<author>
<name>eunhhu</name>
<email>necpition205@gmail.com</email>
</author>
<published>2026-09-28T15:35:18Z</published>
<link rel='alternate' type='text/html' href='http://git.yeowoo.org/vega/commit/?id=434e8a9930d954494a462690739ea4ead21ff4e8'/>
<id>urn:sha1:434e8a9930d954494a462690739ea4ead21ff4e8</id>
<content type='text'>
Bringing in HarfBuzz 14.5 and Unicode 18 broke both generators and showed
over ten changes to shaping output since 10.2. Following them is cloning
someone else's implementation, bugs and all, release after release: a
cost without end, and no compression of abstractions. So the text
subsystem stops here: no more chasing HarfBuzz's bugs and habits (AAT,
Zawgyi, Arabic fallback over shared glyphs stay refused), and upgrades
only when needed (a new script, a security problem), with
text/upstream.py. Left as a design task for later: compiling a font's
whole behaviour into Vega's own format at build time, so that shaping at
run time no longer tracks HarfBuzz.
</content>
</entry>
<entry>
<title>Follow HarfBuzz and Unicode with one command</title>
<updated>2026-09-28T15:27:28Z</updated>
<author>
<name>eunhhu</name>
<email>necpition205@gmail.com</email>
</author>
<published>2026-09-28T15:27:28Z</published>
<link rel='alternate' type='text/html' href='http://git.yeowoo.org/vega/commit/?id=96c35e7919e5e25187bd5adedda516a32cfc8639'/>
<id>urn:sha1:96c35e7919e5e25187bd5adedda516a32cfc8639</id>
<content type='text'>
text/upstream.py brings in a HarfBuzz release (default: the one the
build links) and the UCD of the Unicode version its tables came from,
builds that HarfBuzz as one static library from its amalgamated source
(no system package, any version), regenerates the Unicode tables and the
syllabic ones, holds the syllable machines to HarfBuzz's compiled ones,
and runs the text checks built against it: Unicode's conformance tests on
that UCD, random shaping against that HarfBuzz, the layout's promises,
the kern class tests, HarfBuzz's own suite. --corpus adds every installed
font (text/fonts.py, the corpus runner, now in the tree). What a new
version breaks shows as failing checks with the font and the input to
port a fix from; the generated files are left changed for review.

make check-text is those checks alone; UCD and HARFBUZZ_SRC default to
build/upstream's when the tool fetched them. Its first run found that
text/shape-build.c used clock_gettime without asking for POSIX, building
only because the system HarfBuzz's headers did. Against HarfBuzz 10.2.0
built from source and the 16.0.0 UCD, every check passes in about a
minute.
</content>
</entry>
<entry>
<title>Unicode 16.0: its tables, and line breaking as UAX #14 revision 53 has it</title>
<updated>2026-09-28T15:27:03Z</updated>
<author>
<name>eunhhu</name>
<email>necpition205@gmail.com</email>
</author>
<published>2026-09-28T15:27:03Z</published>
<link rel='alternate' type='text/html' href='http://git.yeowoo.org/vega/commit/?id=fb8e49a31a7ba7f333965c93b08bd0c58120494e'/>
<id>urn:sha1:fb8e49a31a7ba7f333965c93b08bd0c58120494e</id>
<content type='text'>
HarfBuzz 10.2's tables are Unicode 16.0, Vega's were the installed UCD's
15.1: characters new in 16.0 could be read two ways. The tables now come
from the 16.0 UCD, and the line breaking rules are revision 53's: LB13's
'x IS' split into LB15c (SP / IS NU, as in 'subtract .5') and LB15d; the
numbers of section 8.2's Example 7 made LB25 (new: IS x NU, PR x OP IS
NU); LB19 split, with LB19a letting quotation marks between East Asian
characters break; LB20a keeping a word-initial hyphen to its word; LB21a
narrowed to Hebrew, hyphen, then not Hebrew. vega_east_asian now covers
all of East_Asian_Width F, W and H.

Unicode 16.0's conformance tests all pass (bidi 770241 and 91707, line
breaks 16672, graphemes 1093, words 1826, sentences 512, normalization
19965). test-text reads NormalizationTest.txt plain or compressed, and
passes over a UCD of another version than the tables' (the installed
one here is 15.1). HarfBuzz's suite (5018 the same), the installed fonts'
and Noto's random runs, and the surfaces' checks agree as before.
</content>
</entry>
<entry>
<title>Go on past a runaway GSUB as HarfBuzz does</title>
<updated>2026-09-28T15:15:37Z</updated>
<author>
<name>eunhhu</name>
<email>necpition205@gmail.com</email>
</author>
<published>2026-09-28T15:15:37Z</published>
<link rel='alternate' type='text/html' href='http://git.yeowoo.org/vega/commit/?id=e30e3c2f17fb26cddc91e9f950f6f26948fa8e0e'/>
<id>urn:sha1:e30e3c2f17fb26cddc91e9f950f6f26948fa8e0e</id>
<content type='text'>
A font whose GSUB grows the buffer past its bounds (text-rendering-tests'
GSUB-3) made vega_shape fail. HarfBuzz goes on with the glyphs of the last
pass that finished: every later pass does nothing, positions are the
default advances. Vega's buffer operations already stand still once the
buffer is unsuccessful, so it now goes on too, and a broken font shows
what HarfBuzz shows rather than nothing. HarfBuzz's suite: 5018 of 5199
the same, none failing.
</content>
</entry>
<entry>
<title>Kern with class subtables too (kern formats 2 and 3)</title>
<updated>2026-09-28T15:13:58Z</updated>
<author>
<name>eunhhu</name>
<email>necpition205@gmail.com</email>
</author>
<published>2026-09-28T15:13:58Z</published>
<link rel='alternate' type='text/html' href='http://git.yeowoo.org/vega/commit/?id=ea6dbcf627e9a440590d0d35ff16ca7ae60d5719'/>
<id>urn:sha1:ea6dbcf627e9a440590d0d35ff16ca7ae60d5719</id>
<content type='text'>
The kern table's class subtables, OpenType's and Apple's, as HarfBuzz
reads them (hb-aat-layout-kerx-table.hh, hb-ot-kern-table.hh): format 2's
class tables give byte offsets into a kerning array, format 3's byte
classes index a value list. Both go through the same pass as pairs
(marks skipped, the kerning split between the pair). Format 2 filters the
glyphs by the class tables' digests, as HarfBuzz's accelerator does, so a
digest's false positive reads class 0 there too; what a subtable reads
must lie within it, the last one's within the table. The build checks the
subtables as HarfBuzz's sanitizer does, and still refuses state machines
(format 1) and cross-stream kerning.

text/test-kern.py makes fonts with format 2 and 3 subtables in every
order, with the edge cases that reading has (value 1, glyphs outside a
table, offsets below the array or odd, values past a subtable's or the
table's end, classes and indexes past their counts): 24 fonts, 96 plans,
the same as HarfBuzz. make check runs it where fontTools is. HarfBuzz's
suite: 5017 of 5199 the same.
</content>
</entry>
<entry>
<title>Carry variation sequences (cmap format 14)</title>
<updated>2026-09-28T15:07:05Z</updated>
<author>
<name>eunhhu</name>
<email>necpition205@gmail.com</email>
</author>
<published>2026-09-28T15:07:05Z</published>
<link rel='alternate' type='text/html' href='http://git.yeowoo.org/vega/commit/?id=cf6bcf8697589d2a6fc3c6d98bc52bf7eb1ea4ae'/>
<id>urn:sha1:cf6bcf8697589d2a6fc3c6d98bc52bf7eb1ea4ae</id>
<content type='text'>
The section now carries each sequence the font maps, a base and a
selector, with the glyph HarfBuzz gives the pair (a default one's the
base's own). As HarfBuzz's normalizer does, a sequence the font has
becomes that one glyph, the two characters' clusters merged; one it lacks
still passes on as two, the selector hidden. The header grows to 88 bytes
for the table.

The random check now mixes in the font's own sequences and stray
selectors: 30000 runs over Noto Sans CJK's 14787 ideographic variation
sequences are HarfBuzz's, and so are the installed fonts' and Noto's.
HarfBuzz's suite: 5014 of 5199 the same, none different; what is left is
what the build refuses and one run without a plan.
</content>
</entry>
<entry>
<title>Map characters as HarfBuzz maps them, not as it lists them</title>
<updated>2026-09-28T15:04:05Z</updated>
<author>
<name>eunhhu</name>
<email>necpition205@gmail.com</email>
</author>
<published>2026-09-28T15:04:05Z</published>
<link rel='alternate' type='text/html' href='http://git.yeowoo.org/vega/commit/?id=960fa21762484d3014a6778a7673f15acf2d34bb'/>
<id>urn:sha1:960fa21762484d3014a6778a7673f15acf2d34bb</id>
<content type='text'>
The shaping section's character map came from hb_face_collect_unicodes.
HarfBuzz's own suite showed where that list and its mapping part: it cuts
a format 13 map short (AdobeBlank2's whole Unicode to one glyph), and a
symbol map (3,0) it searches through the private use area, Latin and, in an
old Arabic font, Arabic too. Now every code point is asked with
hb_font_get_nominal_glyph (about 30 ms a font) and the map carried as
groups: codes going to consecutive glyphs, or all to one (12 bytes each,
so a format 13 map stays small).

HarfBuzz's suite: 5011 of 5199 cases the same (1355 before). The installed
fonts (213) and the Noto ones (21) still shape as HarfBuzz does on random
runs.
</content>
</entry>
</feed>
