Skip to content

parlocs file processing gets confused by variable baselineskip #1117

@davidg-sil

Description

@davidg-sil

When text is set with a flexible baseline, then all calculations based on the baseline get confused.
At the moment, a warning is given, as it assumes rigid spacing. However, it is only expressly relevant for paragraphs needing to use it (e.g. those with a delayed item), and in other cases it's a notice that something unexpected has happened. (e.g. there's some extra spacing that needs accounting for in the parlocs file).

The correct thing to do, probably, is to (a) keep track of when the calculation is necessary and only give the warning if the baseline is rigid.
(b) compare the number of lines in a paragraph with the space used and record the effective baseline spacing, then use that in later runs to calculate cutout positions, etc.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions