Justification Language System Table

The Justification Language System (JstfLangSys) table contains an array of justification suggestions, ordered by priority. A text-processing client doing justification should begin with the suggestion that has a zero (0) priority, and then—as necessary—apply suggestions of increasing priority until the text is justified.

The font developer defines the number and the meaning of the priority levels. Each priority level stands alone; its suggestions are not added to the previous levels.

The JstfLangSys table consists of a count of the number of priority levels (JstfPriorityCnt) and an array of offsets to Justification Priority tables (JstfPriority), stored in priority order.

Example 2 at the end of the chapter shows how to define a JstfLangSys table.

JstfLangSys table

Type

Name

Description

uint16

JstfPriorityCnt

Number of JstfPriority tables

Offset

Ž JstfPriority

Array of offsets to JstfPriority tables

[JstfPriorityCnt]

—from beginning of JstfLangSys table

—in priority order