2 ms·
Any underlying dependencies we need to know about?
by ForOldHack 2y ago
Any underlying dependencies we need to know about?
- leeoniya 2y agolet me know if you find one: https://github.com/leeoniya/uWrap/blob/main/package.json https://github.com/leeoniya/uWrap/blob/main/package.json
- jonahx 2y ago<3 To be clear, the use case of this is anything where I have lots of text on a canvas? Like, a canvas based game with thought bubbles or something like that?
- leeoniya 2y agoit's where you need to know the wrap points of some text given a width of the container. since Canvas does not offer text wrapping, that is one use case, because you have to wrap manually. my use case is determining the height of a table cell given a specific column width and text that needs to be rendered inside.