DirectWrite provides line-breaking information via IDWriteTextAnalysisSink::SetLineBreakpoints(). However I need to determine word boundaries as well, in accordance with Unicode Annex #29: Unicode Text Segmentation.
Is there a way to do this using DirectWrite? If not, what alternatives are there that work alongside DirectWrite's text layout system in Windows desktop as well as WinRT?