New to Typophile? Accounts are free, and easy to set up.
Hi all
I'm using the opentype code from Tal Lemming to create fractions
http://talleming.com/2009/10/01/fraction-fever-2/
Fractions like ½ on there own are working as expected in Indeisgn
If I try 1½ I get 11 as the top of the fraction and 2 as the bottom of the fraction.
I know the code is meant to work like this but how would I get 1½
Should a number followed by a fraction have a space between the number and the following fraction.
ttmt
7 May 2012 — 10:55am
yes
and the space is substituted by the thin space
7 May 2012 — 11:39am
And I guess deleting the space after the "½" kicks in makes it go to "11/2"? Is being forced to have a space between the "1" and "½" an acceptable compromise?
hhp
8 May 2012 — 4:06am
I reckon you could hack it to accept other spaces and nonjoiners and replace them with your own choice of space or nonjoiner.
8 May 2012 — 4:16am
I've come across another problem with this method that I'm not sure how to fix.
Fractions aren't created if I'm using Oldstyle figures.
How can I include Oldstyle figures in the code?
8 May 2012 — 5:16am
Put the
fracfeature before theonumfeature.8 May 2012 — 7:59am
Deleting the space before the "½" makes it into "11/2", I think is what you meant. Which of course would cause "one-and-one-half" to be incorrectly read as "eleven-halves." But in plain text, you'd almost always have a space (or something) between the "1" and the "1/2" for precisely that reason. Tal noted the pros and cons in his original post of the code, and the "space" compromise is mentioned in both categories.
8 May 2012 — 10:23am
Yes, before, sorry.
So this code never involves virgule or nut fractions?
http://typophile.com/files/Pseudo-nut-fraction_5178.png
hhp
8 May 2012 — 8:30pm
I experimented with nut fractions when I was making Scotch Modern, but couldn’t get them to work in the Fraction feature in both InD and Quark, so just implemented the basic fractions as pre-composed.
However, I have since thought of a better way to do nut fractions in the feature—but haven’t had cause to implement it, as all my subsequent faces have had “slash” fractions, not nut.