-
Notifications
You must be signed in to change notification settings - Fork 14
Open
Labels
Description
Description
Document
TrueType Instruction Set - SDB
Problem
The "Pops" field for the SDB (Set Delta_Base) instruction is currently listed as empty. However, according to the TrueType specification and actual interpreter behavior, SDB pops one value from the stack(the new delta_base value).
Evidence
- Instruction Set - TrueType Reference Manual - Apple Developer (Apple)
- FreeType implementation:
SDBis handled withargs[0]inttinterp.c/ Ins_SDB.
Suggested Fix
Update the "Pops" field for SDB to "n: value for the delta_base (uint32)".
Additional Notes
This correction improves clarity for font developers and tool implementers who rely on accurate stack behavior for instruction sequencing and debugging.
Page URL
https://learn.microsoft.com/en-us/typography/opentype/spec/tt_instructions?source=recommendations