CTS logo
hazy blue Catskill Mountains in distance

A Thought…

Hostility towards Microsoft is not difficult to find on the Net, and it blends two strains: resentful people who feel Microsoft is too powerful, and disdainful people who think it’s tacky. This is all strongly reminiscent of the heyday of Communism and Socialism, when the bourgeoisie were hated from both ends: by the proles, because they had all the money, and by the intelligentsia, because of their tendency to spend it on lawn ornaments.

   — attributed to Neal Stephenson

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).

NAVIGATION LINKS

Up (Parents)

Master Index
PDF::Builder -- Facilitates the creation and modification of PDF files
PDF::Builder::Content -- Methods for adding graphics and text to a PDF

Siblings

PDF::Builder::Content::Text -- Additional specialized text-related formatting methods

 

All content © copyright 2005 – 2025 by Catskill Technology Services, LLC.
All rights reserved.
Note that Third Party software (whether Open Source or proprietary) on this site remains under the copyright and license of its owners. Catskill Technology Services, LLC does not claim copyright over such software.

 

This page is https://www.catskilltech.com/Documentation/PDF/Builder/Content/Hyphenate_basic.html

Search Quotations database.

Last updated Sat, 09 Dec 2023 at 10:59 PM

Valid HTML 5

Mon, 13 Jan 2025 at 6:21 AM EST