Two packages on the desk: seven static cuts, one variable file
Two Chinese font packages carrying a commercially usable licence sit on the workbench: Source Han Sans CN in seven static weights, and Noto Sans SC as a single variable file. Unpacked, they yield 12 files: the first archive contributes 9, seven .otf cuts plus LICENSE.txt plus the Chinese-named note 字体说明与格式用法.txt; the second contributes 3, NotoSansSC[wght].ttf plus OFL.txt plus the same-named note. The two lines below keep separate ledgers. One measures per-file bytes and sfnt table headers inside the unpacked tree, the yardstick fixed at fs.statSync(p).size. The other pastes the 12 full paths, one per line, into the file name suffix split page and watches four landing points nobody wrote about before: uppercase extensions, spaced names, extension-less rows, and the toast fired by an all-whitespace input.
Line one: bytes and weight steps across the seven OTF cuts
The table lists, per weight file, its measured bytes together with the usWeightClass pulled from the OS/2 header as a uint16. Two details deserve a pause. ExtraLight ships the class value 250 instead of the 200 a naive mapping would expect, and the Normal step at 350 is peculiar to this static CN package: walking up the ladder, the gaps between neighbouring classes run 50, 50, 50, 100, 200, 200, so the staircase is deliberately uneven.
| Weight file | Bytes | usWeightClass |
|---|---|---|
| SourceHanSansCN-ExtraLight.otf | 7612056 | 250 |
| SourceHanSansCN-Light.otf | 8416432 | 300 |
| SourceHanSansCN-Normal.otf | 8434332 | 350 |
| SourceHanSansCN-Regular.otf | 8429224 | 400 |
| SourceHanSansCN-Medium.otf | 8406556 | 500 |
| SourceHanSansCN-Bold.otf | 8569308 | 700 |
| SourceHanSansCN-Heavy.otf | 8808068 | 900 |
| All seven summed | 58675976 | —— |
Those seven .otf files sum to 58675976 bytes. Fold in the 4463 bytes of LICENSE.txt and the 2602 bytes of the Chinese-named note, and the package lands at 58683041 bytes, roughly 55.96 MiB; that figure and the rounded megabyte value on the resource listing are one measurement through two roundings; only the raw reading is quoted. On the variable side, NotoSansSC[wght].ttf measures 17772300 bytes, about 17.0 MiB, roughly 2.11 times the Regular static OTF from the sibling package, yet one file carries nine named weight instances. The fvar table occupies 108 bytes and yields one wght axis spanning 100 to 900 plus nine instances, Thin through Black, mapped to nameID 266 through 274. One caveat stays in the record: this file's fvar header does not follow the published field layout, so the axis count was inferred from the data region's self-consistency, not verified hands-on. Its OS/2 default instance rests at Thin, usWeightClass reading 100. No glyph is decoded; each file takes one stat plus a short binary read.
Both packages keep their own resource description page, Source Han Sans CN and Noto Sans SC variable font, each marked commercially usable with OFL-style terms.
Line two: 12 paths through the splitter, rejoined byte for byte
Paste the 12 unpacked full paths into the input box and press split. The name column keeps the drive-letter colon, the backslashes, the square brackets around wght, and the Chinese file names intact as one span; the cut point recognises only the final dot, background only. Take the name column, add a single dot, append the ext column, and compare the rejoined string byte for byte against the trimmed input: all 12 lines match. The page ships no reverse merge button, and the 12/12 equality holds only for these 12 real paths with no trailing dot and no leading dot; it is an equality on one concrete list, not a promise that any output can be glued back.
Uppercase extensions: passed through, never folded
All 12 real rows carry lowercase extensions, so case behaviour is probed with a synthetic sample: nine constructed lines make the statistics bar answer verbatim, 总文件数:9 有后缀:6 无后缀:3, nine files in total, six with an extension, three without. The ext column yields OTF, Otf, TTF, ttf, OTF and woff2, followed by three empty strings. Upper and mixed case land exactly as typed, the page holds no case-normalising call anywhere, and even the five-letter woff2 arrives untrimmed.
Figure 1: four synthetic rows in, two columns out, each case keeping its seat
Spaced file names and extension-less rows: which column catches them
Drop one synthetic line reading Noto Sans SC Regular.ttf into the sample: three spaces sit inside the base name, and none disappears from the name column. The copy button reads 复制(文件名,后缀), and the export format is name, comma, ext, the extension written bare. Split the clipboard string of the 12-row real-path export on commas and every row cuts into exactly two pieces: spaces never open a column, the comma is the only breaker.
The extension-less rows LICENSE, README and OFL produce an empty ext string, the whole line travels into name, and the third column renders a full-width dash as placeholder. But the dash lives only in the rendering layer: in the clipboard the same row ends as LICENSE plus a trailing comma. The 12 real paths all end in .txt, .otf or .ttf, so the bar reports 12 files in total, 12 with an extension, none without; about the true packages the question is really where LICENSE.txt lands, and pure extension-less rows need synthetic input.
The row ledger: 15 segments in, only 12 counted; 240 rows run twice do not grow
Noise test: take the same 12-path listing, prepend a blank line, jam another between two paths, and close with a trailing newline. Split on newlines and the blob counts out 15 segments, yet after pressing the button the statistics bar still reports 12: blanks are deleted, never backfilled. For the batch side, repeat those 12 rows 20 copies deep into a 240-row file. Three counters, the statistics bar, the table rows and the hint text, all show 240 with one shared denominator. Run the identical input again and the same three numbers remain 240; nothing accumulates.
After the blank-input error, the old result is still on the page
One failure path deserves its own section. Type nothing but whitespace and press the button: the page fires the toast 请输入文件名, please enter a file name, and returns early, while the result area does not move. The previous batch, the 12 rows split moments earlier, stays on screen untouched, and pressing copy then exports those old 12 rows straight to the clipboard. Toast and residue firing together is measured behaviour: paste the wrong listing, type blanks, then hit copy, and what leaves may still be last job's data. The clean exit is the clear action: press 清空 first, and a copy attempted afterwards only reports 暂无结果可复制, with no export.
Figure 2: the all-whitespace error chain, previous result left on screen
The rows lingering behind the toast are exactly the real paths from the packages, so clearing is a workflow step, not decoration.
Where the evidence comes from, and where it stops
Every claim traces to two passes: a binary reader over the unpacked tree, and a page-level pass recording columns, bars, toasts and clipboard payloads verbatim; neither trusts a display value. The checks were each run twice, because a rerun reveals state leaking where one run cannot. Two limits close the book: no merge button and no download exist, so the rejoin stands only for dot-clean paths, and the weight readings came from binary headers, not shelf labels.
Frequently asked questions
Q: Will an uppercase .OTF be folded to lowercase?
No. Suffix column and clipboard pass it verbatim; across the uppercase, mixed-case and five-letter samples nothing was rewritten.
Q: Do spaced file names break into extra columns when pasted out?
The copy string segments on commas only, spaces never join the splitting, and the 12 rows of real paths each cut into two pieces.
Q: Can the split result be merged back automatically?
There is no merge function; the 12/12 equality was rebuilt by hand, name plus one dot plus ext, and it stands for these 12 rows alone.
Q: What does the suffix column show for an extension-less row?
The table renders a full-width dash, while the copy string ends with a comma and an empty tail; two objects, one emptiness.
Run the same method on your own listing from the file suffix split page: unpack, list the full paths, paste, then read the columns.