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