Subscripts and super scripts in jmp 13
If it doesn’t look right in the Test Font window, it won’t look right in applications either. Notice how in this screenshot of Bitstream Vera, the strikeout line is just below the horizontal strokes of the “e” so that there is no confusion between “e” and “o” when strikeout is applied. The Font Test dialogue in FontCreator has check-boxes for strikeout and underlining, so that you can see how your font will look in applications when these attributes are applied. Its weight and vertical position should be designed so that it does not make the struck out text hard to read. The purpose of strikeout is to indicate that text should be removed from a draft, it is not intended to make the text unreadable. General Font Metrics 5.5.pdf (148.43 KiB) Downloaded 566 times For an italic angle of 11° the caret run will be 194/1000 which is the tangent of 11°.
The caret run / caret rise = tangent of the italic angle. Negative values will offset subscripts to the left. For italic fonts, they are used to offset superscripts to the right and subscripts to the left. The Superscript and Subscript x offsets are calculated from the corresponding y offsets using the caret run. Negative values will position the subscript above the baseline. The calculation for Subscript y-offset is similar to that for Superscript y-offset, but the value is expressed as a positive offset below the baseline. The recommended position for subscripts is bisecting the baseline. Subscript y offset = (SubS Position) x (Figure Height) / (SubS Height)įor example: Subscript y offset = 420 x 1520 / 852 = 749 Superscript y offset = (SupS Position) x (Figure Height) / (SupS Height)įor example: Superscript y offset = 668 x 1520 / 852 = 1192 The position of superscripts and subscripts in your fonts is calculated from these formulae: Too high, and they will clash with descenders in the line above too low and they may be hard to spot in a line of text. The position recommended by Microsoft Typography for superscripts is aligned to the tops of figures, but you can define the position that you recommend for your fonts by using these metrics. If you want subscripts to be smaller than superscripts, then you will need to use different values for these metrics. The metrics Subscript Vertical and Subscript Horizontal are calculated in exactly the same way, but since the sizes of subscripts and superscripts are usually the same, there is no need to do the calculations again - just use the values for Superscript Vertical and Horizontal. Ideally, a font should contain properly designed superscripts. Applications may scale in both directions by the same proportion using only the value for Superscript Vertical, but it is better to use a slightly larger scale factor for width to help to compensate for the fact that scaled figures are too light compared to other glyphs in the font. The values Superscript Vertical and Superscript Horizontal can be used by applications to scale superscripts from the figures. SupS Horizontal = (funits/em) x (SupS Width) / (Figure Width)įor example: SupS Vertical = 2048 x 602/963 = 1280 SupS Vertical = (funits/em) x (SupS Height) / (Figure Height)įor example: SupS Vertical = 2048 x 852/1520 = 1148Īnd the value for Superscript Horizontal is calculated using the formula: The value for Superscript Vertical is calculated using the formula: This value is often 2048, but may be different for your font. Note the funits/em value for your font on the Header tab of the Format, Settings dialogue. I call these values SupS Width and SupS Height respectively.ĭo the same for the figure 2 to get the values for Figure Width and Figure Height. Select the glyph and note the width and height on the Size tab of the Transform toolbar. If your fonts don’t have the superscript zero, you could use the figure 2 and superscript 2.
To get this scale factor I measure the zero and the superscript zero. To calculate the Superscript y-offset from this value we need to know the size of superscripts relative to the figures in the font.
The superscript Y position, which is the desired height of superscripts above the baseline in funits, I call the SupS Position. I have measured the superscript 2, which is found in most fonts. To calculate the metrics for your fonts, you need to take some measurements using the transform tool or the status line. Adding these metrics to your fonts will ensure that superscripts and subscripts are the right size and position in applications that use these metrics. These values can be used by applications to calculate the size and position of superscripts and subscripts.
Subscripts and super scripts in jmp 13 code#
This block covers code points from U+2070 to U+209F.The font metrics for superscripts and subscripts are found from the Format menu, Settings, on the General tab. This page lists the characters in the “ Superscripts and Subscripts” block of the Unicode standard, version 14.0.