FontLab Forum
2012-05-22, 21:40:57 *
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: Autoligatures in OpenType  (Read 4354 times)
jolly
Full Member
***

Karma: +0/-0
Italy Italy

Posts: 2


Email
« on: 2009-07-09, 05:45:14 »

How do I make sure that if you type two identical consecutive characters, such as "AA", the OpenType font taken "a" from lowercase and another "A" from uppercase?
I wish that if you type "aa", the result was "Aa", or "aA".
The font I need to lettering comics.
How to produce this result by creating an OpenType font? with auto-ligatures?  Huh

Sorry my English but I used an automatic translator.  Cry
Logged
mekkablue
Beta: FontLab Studio Mac
Hero Member
***

Karma: +0/-0
Austria Austria

Posts: 40



WWW
« Reply #1 on: 2009-09-21, 05:11:55 »

This is what the calt feature (contextual alternates) is for:

Code:
@lowercase = [a b c d e f ... x y z];
@uppercase = [A B C D E F ... X Y Z];

feature calt {
  sub @uppercase @uppercase' by @lowercase;
} calt;

Hope this helps
Logged
jolly
Full Member
***

Karma: +0/-0
Italy Italy

Posts: 2


Email
« Reply #2 on: 2009-09-21, 10:54:37 »

I have found this video tutorial...
Logged
Tags: Autoligatures  opentype 
Pages: [1]
  Print  
 
Jump to:  

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