Italic Angle Degrees Slant Classifier

Classify measured signed slant geometrically with explicit caller upright tolerance; positive means right in caller convention, no font italic-feature or stylistic authenticity diagnosis.

Description

Slant direction is a geometric observation under a declared sign convention.

Slant direction is a geometric observation under a declared sign convention. It does not identify whether a font is stylistically italic.1

Enter nonempty angles strictly between −90° and 90° and nonnegative tolerance. Return original zero-based index groups and ordinary median signed angle.

When to use Italic Angle Degrees Slant Classifier

Use Italic Angle Degrees Slant Classifier when you need to evaluate the supplied records under the calculation and evidence rules below. Positive means right in the caller convention; no italic feature or outline authenticity is verified.

Prepare measured font or typeset-layout values and the explicit design policy requested. For text or font bytes, use the supported syntax explained below.

How to use Italic Angle Degrees Slant Classifier and understand its results

  1. Prepare measured font or typeset-layout values and the explicit design policy requested. For text or font bytes, use the supported syntax explained below.
  2. Enter outlineSignedSlantAnglesDegrees, callerUprightToleranceDegrees using the field table and calculation rules, then run the tool.
  3. Read leftLeaningIndices, rightLeaningIndices, uprightIndices, medianSignedSlantDegrees. The explanation below defines the units, signs, ordering and any flags or placeholder values.
  4. If the tool reports an input issue, correct the values and run it again. Apply the stated assumptions when interpreting a successfully returned result.
Input fieldMeaningValue type; see rules belowRequirement
outlineSignedSlantAnglesDegreesOutline signed slant angles degreeslist of numberRequired
callerUprightToleranceDegreesCaller upright tolerance degreesnumberRequired

Enter nonempty angles strictly between −90° and 90° and nonnegative tolerance. Return original zero-based index groups and ordinary median signed angle.

left if angle<−tolerance; right if angle>tolerance; otherwise upright

Units, indexing, boundary conditions and exceptional cases are defined in the calculation rules above.

Output fieldMeaningValue type
leftLeaningIndicesLeft leaning indiceslist of number
rightLeaningIndicesRight leaning indiceslist of number
uprightIndicesUpright indiceslist of number
medianSignedSlantDegreesMedian signed slant degreesnumber
json
{
  "input": {
    "outlineSignedSlantAnglesDegrees": [
      -12,
      -10,
      0
    ],
    "callerUprightToleranceDegrees": 1
  },
  "output": {
    "leftLeaningIndices": [
      0,
      1
    ],
    "rightLeaningIndices": [],
    "uprightIndices": [
      2
    ],
    "medianSignedSlantDegrees": -10
  }
}

Limitations and assumptions

Positive means right in the caller convention; no italic feature or outline authenticity is verified.

Numeric inputs, where present, must be finite. Follow the calculation-specific rules for overflow, underflow and exceptional cases. Numeric lists are limited to 10,000 entries; string lists to 128 strings of at most 128 characters each. The rules above may impose smaller limits. Missing required fields, extra fields, wrong value types and violations of the calculation rules are input errors.

Alternative or Complementary methods

Use Ascender/Descender Extents Checker: Glyph ink may extend beyond declared ascent and descent. Signed outline coordinates and positive descent magnitude have different roles. For a complementary task, use Oldstyle Figure Alignment Checker: Oldstyle-figure evidence can include descenders and varied tops. Observed geometry alone cannot verify an activated font feature.

References

  1. Italic Angle Degrees Slant Classifier — tool.io

Similar or alternative tools

Don't forget to set a bookmark for tool.io!
Privacy | Imprint | Cookies