- Read
>--
>You received this message because you are subscribed to the Google Groups
>"UAFDKOML" group.
>To post to this group, send email to uafd...@googlegroups.com.
>To unsubscribe from this group, send email to
>uafdkoml+u...@googlegroups.com.
>For more options, visit this group at
>http://groups.google.com/group/uafdkoml?hl=en.
>
The complaint means that it is seeing something that it doesn't support; a
contextual rule with an input sequence ( a marked glyph or class), a look
ahead sequence, followed by a second input sequence. The FDK can't build
this kind of rule,, so maybe there is an error in parsing the line.
AT line 265, please replace:
if lookAhead:
raise ValueError("Error: seeing a seond marked glyph run.")
With
if lookAhead:
print line
raise ValueError("Error: seeing a second marked glyph run.")
And then e-mail me the output line that causes the error.
- Read
The issue is that this script was written before the AFDKO supported
contextual lookups, and it did not expect to see the lookup references in
the middle of a marked input sequence.
The attached script will survive this, but will still ignore the
contextual positioning rules in the kern feature. I'm not likely to fix
this in the near future - it's just too low priority for the amount of
work, which would be a day or two. If you can find someone who can do
that, what needs to be done is to:
- for contextual rule, save the referenced lookup;
- Parse the referenced lookup when it is seen, which has single pos rules
in the form:
position uni0664 <-1934 0 -722 0>;
- match the target glyphs in the in the referenced lookup with the glyphs
in the context look-ahead, and print the kern pair.
- Read