Small Caps Size Percent Lookup
Independently font/glyph/feature-specific actual small caps-to-cap height percent reference, not universal synthesized 0.8 em. Exact independently documented reference matching, signed discrepancy retained. Explicit caller font/layout/reference context; not a shaping engine, actual page layout or accessibility certification.
Description
Small-cap height depends on the font and feature being measured.
Small-cap height depends on the font and feature being measured.1
This lookup compares your observed relative height with a verified reference under an exact font-and-feature key.
When to use Small Caps Size Percent Lookup
Use this tool when you need to compare an observation with a matched numeric reference. Establish the font version, feature, layout, physical or CSS units, and matched reference basis needed for this calculation.
How to use Small Caps Size Percent Lookup and understand its results
- Establish the font version, feature, layout, physical or CSS units, and matched reference basis needed for this calculation.
- Enter callerVerifiedSmallCapsRelativeSizeKeys, callerVerifiedSmallCapsRelativeSizeValues, querySmallCapsRelativeSizeKey, observedSmallCapsRelativeSizeValue, following the field table and rules below, then run the tool.
- Read callerReferenceValue, signedObservedMinusReference. Use the output meanings below to interpret units, signs, flags, and any nested result fields.
- Correct reported input issues and run again. For a successful result, check the stated evidence coverage and assumptions before using it in your review.
| Input field | Meaning | Value type | Requirement |
|---|---|---|---|
| callerVerifiedSmallCapsRelativeSizeKeys | Caller verified small caps relative size keys | list of string | Required |
| callerVerifiedSmallCapsRelativeSizeValues | Caller verified small caps relative size values | list of number | Required |
| querySmallCapsRelativeSizeKey | Query small caps relative size key | string | Required |
| observedSmallCapsRelativeSizeValue | Observed small caps relative size value | number | Required |
Provide unique nonblank reference keys, aligned numeric reference values, an exact query key, and an observed numeric value in the same unit and method. Return the matched reference value and observed minus reference. Matching is case-sensitive with no trimming or normalization; unknown keys cause an input error. A negative discrepancy means the observation is below the supplied reference.
reference=values[indexOf(keys,query)]; discrepancy=observed−reference Symbols follow the input and output meanings and the calculation rules above.
All numeric reference values and the observed value must be positive.
| Output field | Meaning | Value type |
|---|---|---|
| callerReferenceValue | Caller reference value | number |
| signedObservedMinusReference | Signed observed minus reference | number |
{
"input": {
"callerVerifiedSmallCapsRelativeSizeKeys": [
"a",
"b"
],
"callerVerifiedSmallCapsRelativeSizeValues": [
2,
4
],
"querySmallCapsRelativeSizeKey": "b",
"observedSmallCapsRelativeSizeValue": 5
},
"output": {
"callerReferenceValue": 4,
"signedObservedMinusReference": 1
}
} Limitations and assumptions
This is a user-supplied catalog comparison, with no embedded complete reference table or live update. You must establish matching units, method, specimen or font identity, and edition independently.
Missing required fields, unknown fields, wrong types, and violated calculation rules are input issues. Numeric values must be finite; nonfinite results are rejected. Evidence arrays must be dense, with no missing cells. Numeric observation lists allow at most 10,000 entries, subject to any smaller bounds stated above. String lists allow at most 128 strings of at most 128 characters. Extremely large text is rejected.
Alternative or Complementary methods
For a related review, use Superscript/Subscript Default Size Percent: Superscript and subscript sizing can use different font-specific policies. Scaling the base point size makes those two explicit policies visible without assuming a universal default. For a complementary step, use All-Caps Size Compensation Percent: All-capital text can be scaled under an explicit optical compensation policy. The signed percentage expresses an additive change to the base point size.
References
-
Small Caps Size Percent Lookup — tool.io
Similar or alternative tools
- Superscript/Subscript Default Size Percent
Superscript and subscript sizing can use different font-specific policies. Scaling the base point size makes those two explicit policies visible without assuming a universal default.
- All-Caps Size Compensation Percent
All-capital text can be scaled under an explicit optical compensation policy. The signed percentage expresses an additive change to the base point size.