OpenType frac feature

pablohoney77's picture

okay, so i'm not a techno wizard, but i've been able to figger out how to program some of the most basic OT features in FontLab such as ligatures, small caps, salt - all of the fairly straight forward replacement schemes. the frac (fractions) feature seems a little more involved than that and i'm wondering how to best set it up. it seems that other fonts convert all the numbers to numerators, then the slash sign to the fraction bar and any numbers directly following become denominator digits. is this the best way to set up this feature? does anyone feel like walking me through this one? just thought i'd ask.

Thomas Phinney's picture

I posted some sample 'frac' code a while ago, here:

<http://www.adobeforums.com/opentype%20font%20developers%27%20kit%20(fdk)/19>

For some reason the full URL is not passing through correctly when you click on it, so you may need to cut and paste it, or add the "(fdk)/19" part manually.

I hope it helps!

T

pablohoney77's picture

thnx tom, i knew you'd come through for me, but i'm geting a 404 not found error. :-(

Thomas Phinney's picture

Yeah, there are some problems with the way the link is being passed--I updated my original message....

T

pablohoney77's picture

still no luck. so this is in Adobe's forums? i'll see if i can find it there...

pablohoney77's picture

sorry tom, my brain's misfiring today. i shoulda read all of your first post. cutting and pasting works fine. now if i can remember my sign in credentials...

Thomas Phinney's picture

Yes, it's one of the very top posts in the "OpenType Font Development Kit" forum.

T

pablohoney77's picture

got it! thnx!

Syndicate content Syndicate content