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.
Follow fully-justified-text
Other Useful Business Software
Secure User Management, Made Simple | Frontegg
Frontegg powers modern businesses with a user management platform that’s fast to deploy and built to scale. Embed SSO, multi-tenancy, and a customer-facing admin portal using robust SDKs and APIs – no complex setup required. Designed for the Product-Led Growth era, it simplifies setup, secures your users, and frees your team to innovate. From startups to enterprises, Frontegg delivers enterprise-grade tools at zero cost to start. Kick off today.
Rate This Project
Login To Rate This Project
User Reviews
Be the first to post a review of fully-justified-text!