The following module was proposed for inclusion in the Module List:
modid: Text::Reshape
DSLIP: adpfp
description: Reshape blocks of text
userid: PBARLOW (Pete Barlow)
chapterid: 11 (String_Lang_Text_Proc)
communities:
similar:
Text::Wrap Text::Format
rationale:
Functionality extracted from application designed to present song
lyrics/poetry using LCD projector. Objective is to use the largest
possible font size to enable readability. Splits text lines
approximately in half but tries to split at a punctuation point if
possible. Splits a verse (a set of lines) approximately in half but
again at a punctuation point if possible. The idea being to reduce
the number of words displayed in both vertical and horizontal
directions but without introducing breaks at inappropriate points.
So for example:
Let us go then, you and I When the evening is spread out against
the sky Like a patient etherized upon a table; Let us go, through
certain half-deserted streets,
becomes (with suitable centering)
Let us go then, you and I When the evening is spread out against
the sky
Like a patient etherized upon a table; Let us go through certain
half-deserted streets,
The exist wrap/split/format modules are pitched around text
justification for normal text and not poetry/song lyrics. In
particular with poetry and song lyrics while it is ok(ish) to add
additional line breaks all existing breaks must be honoured.
enteredby: PBARLOW (Pete Barlow)
enteredon: Thu Jun 5 13:48:44 2003 GMT
The resulting entry would be:
Text::
::Reshape adpfp Reshape blocks of text PBARLOW
Thanks for registering,
--
The PAUSE
PS: The following links are only valid for module list maintainers:
Registration form with editing capabilities:
https://pause.perl.org/pause/authenquery?ACTION=add_mod&USERID=2d400000_6337a0a5219b5e83&SUBMIT_pause99_add_mod_preview=1
Immediate (one click) registration:
https://pause.perl.org/pause/authenquery?ACTION=add_mod&USERID=2d400000_6337a0a5219b5e83&SUBMIT_pause99_add_mod_insertit=1