Setting fractions

mauro sacchetto
mauro sacchetto Posts: 353
edited February 2019 in Font Technology
In setting the fractions, I note that generally the fonts have an absolute symmetry in the general dimensions, even at the cost of setting up different kernings. In the image that I attach (this is the Adobe Jenson Pro) it is noted that, for example, the 3.numr and 7.numr have a significantly different distance from the slash.



Now: is it better to aim for a homogeneous kerning or to guarantee the same amplitude for each fraction? And in the latter case, is there a specific technique to gain 
rigorous results, or simply a shrewd appeal to kerning?

Comments

  • Nick Shinn
    Nick Shinn Posts: 2,208
    Fractions should be tabular, in my opinion.
    Certain layouts, such as recipes, require it, where fractions may be stacked.

    The numerators and denominators need space—fractions often appear next to whole numbers, so you don’t want to end up with 1¼ being a lot narrower than 5⅝.

    In fact, rather than the sample above, it is better to look at fractions alongside whole numbers and alphabetic text, and match the amount of white space.

  • 1. Tabular? What do you mean, that I have to use tabular numbers for numerators and denominators?
    2. Regarding to space, in practice - again - which setting do you refer to?
  • 1. Tabular?
    Mauro, Nick Shinn was alluding to the fact that fractions ought to be suitable for table composing, hence the rquirement of a constant width in order to secure a neat vertical alignment.
  • But this goal can be better accomplished if I use tnum. Is it right?
  • Nick Shinn
    Nick Shinn Posts: 2,208
    Make all your .numr and .dnom figures the same width.
    And don’t kern them against the <fraction> character.

    If you want to introduce kerning, use pre-composed fractions that each have their own Unicode.

    If you are intent on proportional fractions, then have separate fractions for tnum and pnum.

  • Bhikkhu Pesala
    Bhikkhu Pesala Posts: 210
    edited February 2019
    I think it is best to use tabular figures with fractions, unless it is just set in ordinary text, like: “A 10km race is about 6¼ miles.” 

    If I remember to, I adjust the position of the fraction slash to centre visually between the numerator and denominator. You can see that 7/8 has a lot more space than 1/7 in this font (Verajja, derived from Bitstream Vera). 



    However, it is not very practical to force the stacking fractions to fit the figure width, or multiples of it. Here:

    • Figure width = 1303 funits 
    • Fraction width = 1303 funits
    • Single stacking fraction width = 782 funits (6/10th of the figure width)
    • Double stacking fraction width = 1360 funits 

    I just try to make the advance widths uniform for each group. 
  • This is my first attempt. I created the numerators and denominators from the tnum and I have a bit emboldened the glyphs. I created the lookups for the automatic creation of fractions, I centered the numbers compared to the slash and applied a symmetrical kerning.



    There are fairly balanced cases, others in which the spaces are visibly ill-balanced, as in 7/7.
    Tips to improve yield?