I'm trying to use Paragraph to render wrapped text as is done in this CanvasKit fiddle. But I'd like to avoid wrapping within words and have a word clip instead of wrapping a subset of its characters. But I have not found any setting that will let me change Paragraph's behavior to accomplish this. Am I missing something? Would I need to use a different approach to accomplish this? --
You received this message because you are subscribed to the Google Groups "skia-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to skia-discuss...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/skia-discuss/e8282d8d-606a-4867-9f35-61ae2848bf50n%40googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/skia-discuss/d4d84e71-c72d-4af2-bd90-a8de1733715fn%40googlegroups.com.
paragraph.layout(POSITIVE_INFINITY)
paragraph.layout(max(paragraph.minIntrinsicWidth, width))
You received this message because you are subscribed to a topic in the Google Groups "skia-discuss" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/skia-discuss/BHr6tYW4KYg/unsubscribe.
To unsubscribe from this group and all its topics, send an email to skia-discuss...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/skia-discuss/CAK%2BowuToFpWDzEKEnFib_zCpeKwgH1_C4JErz3iT0gKaGvC-Ew%40mail.gmail.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/skia-discuss/CAA%2BEoYkVfDqpNPO1RHfabEcvYKc5Vjx5GmNW-z%3DwTj9ixBR9Gg%40mail.gmail.com.
paragraph.layout(POSITIVE_INFINITY)
paragraph.layout(max(paragraph.minIntrinsicWidth + epsilon, width))
Where epsilon is a small number(I don't know how small, so you should try, something like 0.001, 0.01, 0.1, 1, no more).
To view this discussion on the web visit https://groups.google.com/d/msgid/skia-discuss/CAK%2BowuQonWCxir%2BPkx%3Dm%2BUKf68qE%2BAodSPDUP66VYc2rvRsEnw%40mail.gmail.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/skia-discuss/CAMcBjo6ZfNSuJU7LnunRQxjTtV0z1N1SuAdp-sWajZu6FCJGZw%40mail.gmail.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/skia-discuss/888d0054-3b42-4d7e-968d-3700a3f28fe4n%40googlegroups.com.