Composing Square Tablature: How an OpenType Font Engraves Jianzipu
Lay a woodblock guqin score on a desk and look at the numerals in the small square signs. Move one numeral slightly and it may look as if it names a string instead of a position on that string. The engraver had to give the parts of the sign enough room, and also make their relationships legible. That job still matters when the score is laid out on a screen. To see what a digital font contributes, it helps to begin with what makes the old page readable.
The order inside the square
Take 名十挑六. The left ring finger and the tenth hui belong together. The right hand makes a tiao stroke on the sixth string. The square combines abbreviated shapes for the actions and numerals for the position and string. A 六 can mean something quite different elsewhere on the page. Its role here can be seen from its place beside the stroke. The compact layout gives an experienced reader directions at a glance, while the rest of the phrase gives those directions a musical context.
A woodblock cutter also had to leave room for the less familiar signs. A subdivision between the markers can add a numeral. A harmonic may carry a sign that applies to several notes. A compound stroke can gather two string indications into one group. The proportions of the result will vary from manual to manual. When checking a crowded sign in a facsimile, I first look for a clearer occurrence of one of its parts on the same leaf. An ordinary pluck fixes the likely place of the string numeral. The preceding and following movements may then help decide which form the cutter meant.
Two inputs, one engraved sign
Qixianpu engraves tablature with JianZiPu v3.301, released under the SIL Open Font License 1.1 (OFL 1.1). In a score, brackets mark the limits of the tablature. The contents of [名十挑六] can also be entered as [s10u6]. The s names the ring finger, 10 the tenth hui, u the tiao stroke and 6 the string. Given the same typeface and rendering settings, the two spellings produce the same glyph pixel for pixel. A copyist can write the Chinese while comparing the passage to a facsimile. A collaborator who knows the shortcuts can enter the same instructions without changing what will appear in print.
OpenType calls its glyph substitution table GSUB. A rule in that table can recognise a sequence, choose a form that fits its neighbours or replace several input glyphs with a ligature. If every component advanced the writing position as an ordinary letter does, the result would be a line of small characters. The font uses zero-advance components so that their drawn parts can occupy different portions of the square while sharing the same origin. The assembled group then advances as a unit. It can sit beside one melodic note without spreading its individual parts across the measure.
The count of visible shapes can differ from the count of components a reader identifies. The compound sign for 掐起 contains two meaningful parts, for example, which the font can render as one ligature. Conversely, a numeral for a marker may be set close enough to a finger sign that the two seem to be one stroke. When checking the type, count the instructions as well as looking at the shapes. That is especially helpful when a print is worn or the upper corner of a character is faint.
A glyph can print before it makes sense
Try k3k3 in the jianzi assembler (中文). The font has glyphs for the symbols and can draw a result. There are two indications of a gou stroke on string three, with no structure explaining their relationship as a single tablature entry. A tidy patch of ink tells us that a font found glyphs to draw. To judge the fingering, check whether the slots form the instruction the score requires. Look for the left finger and position when the note is stopped, ask which numerals belong to the right-hand stroke, and read paired strings according to the notation for that stroke. An unusual historical spelling is a reason to return to the source.
Checking a character in a real score
When I am unsure about a sign, I start with the symbol index (中文) so I can give each part a name. Then I find a similar whole character in the jianzi atlas (中文) and try two possible readings in the assembler. One may match the surviving strokes on the page, while the other may explain the movement better. At that point I keep a short note with the page reference and check a second impression or edition before deciding. The shape in the preview is evidence about the new engraving. The old page is the evidence for what I am transcribing.
Finally I place the chosen character back into its phrase in the online editor. An extra space within brackets can send part of the instruction to a neighbouring note. Reading the full printed line makes this easier to spot than viewing a single sign in isolation. I look once at the alignment and then read the movements from the print as I would from the old score. If both the glyph and the hand instruction are clear, the new engraving has preserved what made the original page worth reading.