FontLab Forum
2012-05-22, 07:05:40 *
Welcome, Guest. Please login or register.

Login with username, password and session length
News: Welcome to the FontLab forum, read how to use it! Update: Archives from old MSN forums are now available on our forum.
 
   Home   Help Search Calendar Downloads Tags Login Register  
Del.icio.us Digg FURL FaceBook Stumble Upon Reddit SlashDot

Pages: [1]
  Print  
Author Topic: Handwriting script - which OT features are required?  (Read 1035 times)
theFontfitter
Sr. Member
****

Karma: +0/-0
United Kingdom United Kingdom

Posts: 10



WWW Email
« on: 2011-04-15, 04:41:45 »

I currently use a program to create correct joining letters for handwriting script that uses an OT font with all necessary glyphs. I have embarked on a project to have a 'font-only' solution by incorporating 'features'. But it has thrown up a few fundamental questions I need answering so I can understand the logical sequence of how features work.

I established that 'calt' feature is the most suitable for Contextual Alternates, but it triggers a replacement only of the first instance of a marked letter. As in the case of double s in the word 'session'.... http://www.clubtype.co.uk/fontlab/sessions.gif

Questions are:
Is 'calt' the only feature that is necessary to get the desired result?
If there are more features required, which are they?
Should one feature come before another?
If more than one feature IS required, then how do I ensure they get turned on by Default when the font is installed?

Basic joins (which don't include s to s)...

feature calt { # contextual alternate

#----------all first-to-second letter joins (apart from s to s)
sub a' [ a b c d f g h i j k l m n o p q r t u v w y ] by uniE002;
sub b' [ a b c d f g h i j k l m n o p q r t u v w y ] by uniE003;
sub c' [ a b c d f g h i j k l m n o p q r t u v w y ] by uniE004;
#etc
#--------initial s to a-z
sub s' [ a b c d f g h i j k l m n o p q r t u v w y ] by uniE014;
#etc
# ---------half s at end of word to space (this works fine)
sub s' [space] by uniE732;

} calt;

Whatever I do to make a double s does not work. See 'session' graphic third example.

#---------first half s to next s
sub s' [ s ] by uniE48D;

Neither can I affect the join from first s to e.

#---------
sub s' [uniE268] by uniE48D;

Should I be using lookups like this article suggests...? http://www.typophile.com/node/3788
How would that look?

I'd be most grateful for expert advice.
Thanks,
Adrian
« Last Edit: 2011-04-15, 10:03:28 by theFontfitter » Logged
Dezcom
Beta: FontLab Studio Mac
Hero Member
***

Karma: +6/-0
United States United States

Posts: 121


FLS 5.1.2 beta; Mac OSX 10.7.3


« Reply #1 on: 2011-04-15, 13:53:03 »

It would appear that you need a second context following the first.  In the first, you have replaced the first "s" with "s.alt1". Since what you seek is that the second s in a pairing os esses be replaced with yet a third variation, perhaps something like "sub s.alt1 s' by s.alt2  with the alt2 being the repeated s style that you desire?
Logged
Tags: handwriting script feature calt 
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF | SMF © 2011, Simple Machines Valid XHTML 1.0! Valid CSS!