HPDFUnicodeLineBreaks
function HPDFUnicodeLineBreaks(const Text: UnicodeString;
CancellationToken: THPDFCancellationToken = nil;
MaximumCodeUnits: Integer = 65535): THPDFUnicodeLineBreaks;
Return the Unicode 17 default line-break opportunities at complete scalar boundaries, including zero and the mandatory end, using zero-based UTF-16 offsets
MaximumCodeUnits must lie between one and 1048576; malformed UTF-16 or an exhausted code-unit budget raises EArgumentException, and cancellation raises EHPDFOperationCancelled
The default algorithm supplies potential breaks; callers select the actual lines using their own available width and glyph measurements