#1541: cut-off captions: check for invisible line break and remove

opened by njr2128

2 cut-off caption problems were diagnosed by NJR and Nick as actual line breaks (hard returns) at the end of a line within a caption. These looked invisible because the spacing of the sentence naturally broke off at that point.

E.g., for Captionsann317ie19MunozFraysse, caption 2 was cut off after "Jean" - this was because there was a hard return after this word and before "Rancy"

BEFORE FIX

Fig. 2: Griffoul fountain in place Saint-Étienne of Toulouse, 1547–1549 (original fountain by Jean

Rancy), 1593 (obelisk by Antoine Bachelier), 1601 (bronze elements by Barthélémy Fraysse), 1649

(bronze decoration by Pierre Affre). Photo: Sarah Muñoz.

AFTER FIX:

Fig. 2: Griffoul fountain in place Saint-Étienne of Toulouse, 1547–1549 (original fountain by Jean Rancy), 1593 (obelisk by Antoine Bachelier), 1601 (bronze elements by Barthélémy Fraysse), 1649 (bronze decoration by Pierre Affre). Photo: Sarah Muñoz.

But to the naked eye in GD, these looked identical.

For any identified cut-off captions, try deleting the space after the cut-off word and adding back just one space character.

To test, use a text editor that does not wrap text in the same way as GD (e.g., Notepad, TextEdit, oXygen, Atom, Sublime, etc.)


njr2128 commented:

See also https://github.com/cu-mkp/making-knowing-edition/issues/340