Drawing fully justified text to a canvas (via: Parnassus OÜ – Delphi Consulting & Plugins – parnassus.co)
The Wiert Corner – Though fully justified text is most often in print, and not much in user interfaces any more, this might come in useful one day (it is based on the GDI functions TextOut and SetTextJustification): David Millington Posted: Have you ever wanted to draw fully justified text ie, text that adheres to both the left and right sides of the destination rectangle? It’s more complicated than it seems, and there’s definitely no inbuilt support in the VCL. But here’s how to do it, including an open-source unit you can drop into your applications and use. Drawing fully justified text to a ...
Visits by Source
Users who voted for this posting
Douglas Rodrigues de Almeida