I'm currently use Libre Draw to sketch illustrations to import to my documents. However the canvas size (page size) is fixed by user's configuration, while I want it to flexibly resize it by the size of the content, so that the size of the words in the final exports is in uniform. For example, the sizes of the words in these two graphics are different:
Something like adding a padding of 5 px to the leftmost, rightmost, topmost, bottom-most pixels of sketch. Is there a program for it? It should work on Windows.