Average Kerning Pairs Per Font Lookup
Independently font/version/shaping table-specific kerning pair inventory count, GPOS class kerning not naive pair count. 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
Kerning inventory counts depend on font version and table representation.
Kerning inventory counts depend on font version and table representation.1
A keyed reference comparison can audit the declared count without treating class-based GPOS kerning as a simple universal pair list.
When to use Average Kerning Pairs Per Font 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 Average Kerning Pairs Per Font Lookup and understand its results
- Establish the font version, feature, layout, physical or CSS units, and matched reference basis needed for this calculation.
- Enter callerVerifiedFontKerningPairInventoryKeys, callerVerifiedFontKerningPairInventoryValues, queryFontKerningPairInventoryKey, observedFontKerningPairInventoryValue, 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 |
|---|---|---|---|
| callerVerifiedFontKerningPairInventoryKeys | Caller verified font kerning pair inventory keys | list of string | Required |
| callerVerifiedFontKerningPairInventoryValues | Caller verified font kerning pair inventory values | list of number | Required |
| queryFontKerningPairInventoryKey | Query font kerning pair inventory key | string | Required |
| observedFontKerningPairInventoryValue | Observed font kerning pair inventory 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 reference counts and the observed count must be nonnegative safe integers.
| Output field | Meaning | Value type |
|---|---|---|
| callerReferenceValue | Caller reference value | number |
| signedObservedMinusReference | Signed observed minus reference | number |
{
"input": {
"callerVerifiedFontKerningPairInventoryKeys": [
"a",
"b"
],
"callerVerifiedFontKerningPairInventoryValues": [
2,
4
],
"queryFontKerningPairInventoryKey": "b",
"observedFontKerningPairInventoryValue": 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 Common Font Ligature Count Lookup: A ligature inventory is specific to a font version and selected features. Comparing an observed count with a keyed reference avoids assuming that common font names imply fixed counts. For a complementary step, use Font Weight Number-Name Mapping: CSS weight names conventionally correspond to the hundred-step values from 100 through 900. This lookup returns those conventional names without checking which faces a particular font provides.
References
-
Average Kerning Pairs Per Font Lookup — tool.io
Similar or alternative tools
- Common Font Ligature Count Lookup
A ligature inventory is specific to a font version and selected features. Comparing an observed count with a keyed reference avoids assuming that common font names imply fixed counts.
- Font Weight Number-Name Mapping
CSS weight names conventionally correspond to the hundred-step values from 100 through 900. This lookup returns those conventional names without checking which faces a particular font provides.