SMALL CAPS!!!

strass
5.Feb.2008 3.35pm
strass's picture

Hi im doing an OpenType font on FontLab5.0

There are some glyphs that allow you to create the small caps
they are called: “Asmall, Bsmall, Csmall, Dsmall, etc...”

The problem is that when I go to IndesigCS2 it doesent recongnise the smallcaps I made.

And I wonder...

Is there a code that I have to put on the OpenType pannel on Fontlab to make the small caps function?

I hope someone can answer :)

PS: I also want to activate the numbers called “oldstyle” (smallcaps)

Thanks

Ferch



D. Wiewauters
5.Feb.2008 5.15pm
D. Wiewauters's picture

Yes,

First turn your “Asmall” into “A.smcp” etc.

in your classes panel make
3 new opentype classes:
one being _ smcp1: “a.smcp b.smcp c.smcp d.smcp e.smcp f.smcp g.smcp h.smcp i.smcp j.smcp k.smcp l.smcp m.smcp n.smcp o.smcp p.smcp q.smcp r.smcp s.smcp t.smcp u.smcp v.smcp w.smcp x.smcp y.smcp z.smcp”
and the second being _ “upca1: A B C D E F G H I J K L M N O P Q R S T U V W X Y Z”
and the last one _ “lowca1: a b c d e f g h i j k l m n o p q r s t u v w x y z”

in the opentype panel add 2 new featues.
the first one:
feature smcp {
sub @lowca1 by @smcp1;
} smcp;
the second one
feature c2sc {
sub @upca1 by @smcp1;
} c2sc;

The smcp feature changes your lowercase glyps in that class into smallcaps. And the c2sc feature kicks in when you select all smallcaps in indesign. You can add glyphs into the groups but make sure that there is an equal amount of glyphs in each group. Then compile and export your font. Should work.


strass
5.Feb.2008 5.38pm
strass's picture

Thanks a lot!

im starting to understand a little bit about codes in Fontlab :D

ill try it tomorrow, and i’ll tell you how it work

Thxs!!

Ferch

Tipografía-Montevideo


strass
5.Feb.2008 6.59pm
strass's picture

It worked perfectly

I added the lower case numbers to “@smcp1” so i can have both,

im starting to learn XD

thanks

Ferch

Tipografía-Montevideo