Typophile

node 13410

unknown

I am learning some OT features, and the vkrn feature is very interesting, but I am having some problems.

1. when I check the feature in FontLab 4.6, it raises all the glyphs following the one I want raised.
feature vkrn { pos \uni053B \uni055E 120;} vkrn; should raise one \uni055E when it is after \uni053B, but everything that comes after it is also raised.

2. I cannot get it to work outside FontLab. The feature should be on by default, but I don’t know how to do it.

Anyone knows how to resolve these problems?

unknown

feature vkrn { pos \uni053B \uni055E 120;} vkrn; should raise one \uni055E when it is after \uni053B, but everything that comes after it is also raised.

I think you have to change your lookup to something like this:
pos \uni053B \uni055E <0 120 0 0>;

http://partners.adobe.com/public/developer/opentype/afdko/topic_feature_file_syntax.html#2.e.iv

unknown

Eduardo, I tried your suggestion, it gave me an error when I compiled:
>Pair positioning rule must specify only a single metric
>aborting because of errors

unknown

The feature is intended for use in vertical setting of East Asian scripts. It is not intended for raising or lowering glyphs in the context of horizontal text. The feature is not applied by any applications outside of vertical setting of East Asian text, e.g. in the Japanese version of InDesign.

If you want to contextually raise or lower glyphs in horizontal text, you should use the normal feature. I’m not sure if you can do this with FontLab, though, because of the limitation that you encoutered. You can do it with the MS VOLT tool.

unknown

Thanks John.

But I have a problem. First, I am creating OT-CFF fonts. MS VOLT says it is for TT fonts.
Second, I am using a Mac not a PC, and MS VOLT is a PC app.

Is there a Mac app. that will work with CFF fonts? Maybe from Adobe?

unknown

The Adobe FDK has the same limitations as FontLab, unsurprisingly as FontLab’s current OT generation is built on the Adobe FDK code.

You can run VOLT under Windows emulation on the Mac.

It is possible to use VOLT to develop CFF fonts. See my old Typophile post No.510 in this thread: http://www.typophile.com/forums/messages/4100/15453.html

Captured from web.archive.org on 28 Nov 2005. view this capture