# SVGGraph Font Measurer

Character measurement ranges

These are the characters that will be measured. Choose from the standard ranges, or input your own ranges or single character codes. Codes are accepted in decimal or hexadecimal, e.g. `256` or `0x0100` or `U+0100` or `\u0100`. Use "-" or ".." between codes to define a range.

Character width range(s):
Kerning ranges

These will be measured in pairs to determine which pairs of characters are smaller than the sum of their individual widths.

Kerning pair range(s):
Font selection

Type the font name in the box. Common font names will be auto-completed. The "measure size" is the font size used for measuring the characters, and also affects the size of the SVG measurement area below.

Font: Measure size:
Generate metrics

Press this button to start measuring the characters and kerning pairs. The results will appear below the SVG measurement area.

SVG measurement area

The area below is an SVG document where the characters and pairs are measured.

Metrics test

Enter a string in the box below and choose the font size to test the measurement algorithm. The text and a bounding box will be drawn in the SVG measurement area above - the bounding box is calculated using the algorithm.

Test string
Font size Font adjust value
Test results

These results show the calculated and actual string widths, along with the pre-metrics method calculation using both the font adjust value above and the adjust value determined from the mean character width.

Calculated width: Actual width:
Old method (input adjust): Old method (calculated adjust):
Metrics

These are the measured metrics. The height, baseline and mean width are used by the new algorithm to calculate the position and size of strings. The calculated adjust value is not used by the new algorithm, but it can be used for SVGGraph font adjust options (using the old algorithm) instead of the metric file.

Filename:
Height:
Baseline:
Mean width:
Calculated adjust:
Metrics file: Download