Skip to content
Automatically exported from
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.
JustifyDemoForm.pas Supports justifying single words, by spacing between characters Jul 17, 2014 Create Mar 12, 2015
TextJustification.dproj Updated copyright to 2014 (not 2013.) Project is set to Release build… Jul 17, 2014
TextJustification.res Initial commit for open-sourced version. Working unit, demo program, … Jul 17, 2014


This is a Delphi VCL / Windows project for text output, allowing printing of fully justified text with a variety of options.

== More info ==

Text can normally only be drawn left-aligned, right-aligned or centered. This unit provides a method to draw fully justified text - that is, text that meets both the left- and right-hand edges of the bounding rectangle, with variable spacing between words.

It wraps the Windows API SetTextJustification, but includes an automatically used alternative implementation for fonts that cannot be used with that API. This includes Segoe UI.

Project home page:

This project used to be hosted on Google Code ( but was migrated on 2015-03-12.

You can’t perform that action at this time.