Repository navigation
linediff: an interword space in a justified line is narrower than a sixth - #635
Merged
Merged
Conversation
…ixth Neither engine draws a space glyph, so this reader puts one back where two show operators leave a gap. The threshold was a SIXTH of the size — and that is inside the range a justified line's spaces live in. Computer Modern's space is a third of the size with a third of that to shrink, so a tight line puts it at 22% and a very tight one below 17%. Measured on this engine's own render of arXiv 2405.20319, a two-column acmart paper: before guage,weintroduceParSEL:ParameterizedShapeEditingwithLan- after guage, we introduce ParSEL: Parameterized Shape Editing with Lan- and poppler reads that same line with its spaces. So the words had run together in the REPORT, not on the page — and I was one step from entering it in #629 as an engine defect. An instrument that invents a symptom is worse than one that misses it. A twentieth is below any shrunk space and above the kerning pairs, whose gaps are a few percent of the size. Both directions are asserted. ⛔ THE FIRST TEST PROVED NOTHING. It compiled a witness at a 150pt measure, and its spaces stayed above a sixth — so it passed with the old threshold in place. The test now uses the MEASURED geometry of the real line (8.97pt, 1.2pt gaps, 13% of the size), which is the band the defect lives in; checked against its own mutation, it reports "guage,weintroduce" against "guage, we introduce". ⚠ What this does NOT do: -align keys on words, so a line whose words ran together cost that page its key — but the corpus coverage is unchanged, 94 measured of 154 and 52 dropped for too few keys, before and after. The improvement is to what the report SAYS, not to how much of the corpus it can measure. Co-Authored-By: Claude Opus 5 <[email protected]>
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.
An interword space in a justified line is narrower than a sixth of the size
Neither engine draws a space glyph, so
gotex-linediffputs one back where twoshow operators leave a gap. The threshold was a sixth of the size — and that is
inside the range a justified line's spaces live in: Computer Modern's space is a
third of the size with a third of that to shrink, so a tight line puts it at 22%
and a very tight one below 17%.
What that cost
Measured on this engine's own render of arXiv
2405.20319, a two-columnacmartpaper:
and poppler reads that same line with its spaces. The words had run together in
the report, not on the page — and I was one step from entering it in #629 as an
engine defect, alongside the four real ones. An instrument that invents a symptom is
worse than one that misses it.
A twentieth is below any shrunk space and above the kerning pairs, whose gaps are a
few percent of the size. Both directions are asserted: a 3%-of-size gap must stay
inside the word, a 13% one must become a space.
⛔ The first test proved nothing
It compiled a witness at a 150pt measure — and its spaces stayed above a sixth, so
it passed with the old threshold still in place. That is the second time this week a
test passed for the wrong reason, and the same remedy applied: the test now uses the
measured geometry of the real line (8.97pt, 1.2pt gaps, 13% of the size), which
is the band the defect lives in. Checked against its own mutation, it reports
"guage,weintroduce"against"guage, we introduce".⚠ What this does not do
-alignkeys on words, so a line whose words ran together cost that page its key —but the corpus coverage is unchanged: 94 measured of 154, 52 dropped for too few
keys, before and after. The improvement is to what the report says, not to how
much of the corpus it can measure. I expected the second and did not get it.
🤖 Generated with Claude Code