-
Notifications
You must be signed in to change notification settings - Fork 5
Open
Description
New features:
- Add BASEDIRECTION attribute defining base direction and line orientation to TextLine and BlockType.
- Add support for explicit reading order definitions with "ReadingOrder" element containing "UnorderedGroup"s, "OrderedGroup"s, and "ElementRef"s.
Regarding @BASEDIRECTION the docs state:
Describes the inline base direction and line orientation of a line or of all lines inside a text block.
The meaning of these terms is defined by the W3C writing modes document
These values should correspond to the base direction set in the BiDi algorithm to the respective elements during Unicode encoding. A value of "ttb" (top-to-bottom) implies a base direction of left-to-right, a value of "btt" (bottom-to-top) a base direction of right-to-left.
- ltr
- rtl
- ttb
- btt
It sounds a lot like @readingDirection in PAGE, but there is no mention of bidirectionality here. @chris1010010, can you help?
As to ReadingOrder, that has been directly adopted from PAGE, with subtle differences though:
- in ALTO
ReadingOrdercan have any number of groups (with alternative semantics), in PAGE it must have exactly one - the syntactic clutter is minimized, i.e. no
Indexedvariants and no explicit@index. OrderedGroup simply has sequence semantics and UnorderedGroup set semantics, otherwise they are the same and appear in the same places. @REFis explicitly allowed for sub-region elements, which is allowed in PAGE syntactically but forbidden by documentation (and I suppose PRImA's libraries won't tolerate such use)
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels