2 ms·
How would you solve choosing the right font size though? It should be such that the longest line perfectly fits the width.
by bemmu 13y ago
How would you solve choosing the right font size though? It should be such that the longest line perfectly fits the width.
- lotsofmangos 13y agogenerate an imagemagick text label at a certain font size, then pipe it to identify -size , pull the width out of that and then use the result to calculate the required font size which you then use in a second textlabel edit - or just generate a large text label to start with, then scale it to whatever is required