Repository navigation
render-pipeline: set \TeX/\LaTeX logos, \rule and text kerns (stacked; needs vendor re-pin) - #129
Closed
GoKubar wants to merge 1 commit into
Conversation
… space Stacked on agent/kabir-claude/text-logos-rule-symbols (compiler-only). Needs the Commander's vendor re-pin of crates/compiler (which now also path-depends on tex-text-encoding and tex-boxes) before it builds; no vendor/ files are touched here. Adapter items Logo/Rule/Kern: typeset places each logo glyph box at text_builtins::layout_logo's position from the ec-lm TFMs (raised A, lowered E, \LaTeXe's epsilon as a shifted math box), \rule as a box whose painted part spans rule_bottom..rule_top (struts paint nothing), text kerns as paragraph-layout kerns. Control space is interword glue at space factor 1000; blanks after a symbol control word are skipped; only a typed ~ is a tie. Math-mode \rule keeps its width as glue with a math_limitation (math-layout has no rule atom). Verified in an uncommitted scratch copy with this compiler swapped into vendor: cargo test --release green; HW1/HW2 display lists byte-identical; real-world corpus target diagnostics 58 -> 0, no page count changed. Implementation-Agent: Claude Opus 5 (subagent kabir-claude text logos rule symbols, mac-m5pro-kabir) Commit-Executor: Claude Code direct Git Co-Authored-By: Claude Opus 5 <[email protected]> Claude-Session: https://claude.ai/code/session_01Xd5Hmwh5GHNTiAmHUJ1MZu
This was referenced Sep 13, 2026
Member
|
Merged to main via integration/2026-09-13k (Commander). |
This was referenced Sep 13, 2026
GoKubar
deleted the
agent/kabir-claude/text-logos-rule-symbols-pipeline
branch
September 13, 2026 18:51
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Stacked on the compiler-only PR (
agent/kabir-claude/text-logos-rule-symbols). This does not build until the Commander re-pinsvendor/compiler, and that re-pin must also addvendor/tex-text-encodingandvendor/tex-boxes, which the compiler now path-depends on. Novendor/files are touched here.What
Logo,RuleandKern;\is interword glue at space factor 1000, after which blanks are skipped;\AA ngstr) are skipped;~is a tie (\textasciitildeis the character).text_builtins::layout_logo's positions, computed from theec-lm*TFMs throughpl::Item::kern(no break points).Ais raised andElowered through a newBoxRec::Text::raise;\LaTeXe's ε is a math box shifted throughMathRec::raise;\ruleis a box whose painted part spansrule_bottom..rule_top(BoxRec::Rule::bottom), and struts paint nothing;\rule: its width is kept as glue and reported as amath_limitation, because math-layout has no rule atom.Verification (uncommitted scratch copy: main 1d4604d pipeline + this patch + the compiler PR in vendor)
cargo test --release: green.\cvsectionspans).Known limitations
ec-lmr8metrics for sizes below 8.5pt, so the 7ptAof\LaTeXat 10pt usesec-lmr8widths/heights where pdfLaTeX usesec-lmr7. The construction itself is oracle-exact in the compiler PR.\textsf{\LaTeX}is set in the roman face.\LaTeXe's ε is not bold under\textbf(no\boldmathmath fonts), and its sub1 uses lmsy's .15em ratio.\linewidthinside lists resolves to the text width, and math\ruleis not painted.🤖 Generated with Claude Code
https://claude.ai/code/session_01Xd5Hmwh5GHNTiAmHUJ1MZu