logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

PDF::Builder::Content::Hyphenate_basic - Simple hyphenation capability

Contents

Name

       PDF::Builder::Content::Hyphenate_basic - Simple hyphenation capability

       Inherits from PDF::Builder::Content::Text

Synopsis

       These are internal routines that are somewhat experimental, and may (or may not) be extended in the
       future. They are called from various Content routines that take long strings of text and split them into
       fixed-length lines.

       Words are split to fill the line most completely, without regard to widows and orphans, long runs of
       hyphens at the right edge, "rivers" of space flowing through a paragraph, and other problems. Also, only
       simple splitting is done (not actually words), on a simple, language-independent basis. No dictionary or
       rules-based splitting is currently done.

       This functionality may well be replaced by "hooks" to call language-specific word-splitting rules, as
       well as worrying about the appearance of the results (such as Knuth-Plass).

perl v5.40.1                                       2025-08-10             PDF::Builder::C...Hyphenate_basic(3pm)

See Also