kranky
Elite Member
We have to do an application that involves putting variable length text strings onto labels. We need to make sure the text isn't too long to fit on the label. In order to do this, we need to come up with a way (from a program) to calculate exactly how long a text string is in a particular font and size. We need to be very accurate - like within a centimeter.
One way would be to build a table that has the width of each character and then examine the text string to calculate the sum of the character widths. But we don't know how to determine accurately what the width of each character is. Does anyone know if Fontographer can do this? Other software?
We tried using the "Cadillac" of label software (Codesoft) instead of doing our own but it's so brain-dead it will not detect that the text is too long to fit on the specified label.
One way would be to build a table that has the width of each character and then examine the text string to calculate the sum of the character widths. But we don't know how to determine accurately what the width of each character is. Does anyone know if Fontographer can do this? Other software?
We tried using the "Cadillac" of label software (Codesoft) instead of doing our own but it's so brain-dead it will not detect that the text is too long to fit on the specified label.