New to Typophile? Accounts are free, and easy to set up.
Hi there,
I am trying to solve some triplets kerning problems in a script font without designing more characters.
I thought I could use contextual kerning (LookupType 8, chaining contextual positioning) but when I try to set something like
feature kern {
position d space' 20 D ;
} kern;
I get the message "Cannot mark positioning glyphs". What is the problem? Is 'kern' not the proper feature to place such substitution? In this case, which should be the proper feature to set my contextual positioning?
Thanks in advance.
R.
30 Jul 2012 — 3:41am
You need "Single Positioning" used in your kerninglookup:
lookup kernHorizontalKerninglookup2 {
pos \f \space' \T ;
} kernHorizontalKerninglookup2;
lookup SinglePositioninglookup3 {
pos \space <0 0 300 0 >;
} SinglePositioninglookup3;
if I understand it correctly...
30 Jul 2012 — 4:28am
In Fontlab your code gives:
syntax error at ";"
:S
30 Jul 2012 — 5:05am
"FontLab Studio currently does not support:
GSUB lookup type 2 (Multiple substitution, e.g. a b -> c d)
GPOS lookup types 3 (Cursive attachment positioning), 4 (Mark-to-Base attachment positioning), 5 (Mark-to-Ligature attachment
positioning), 6 (Mark-to-Mark attachment positioning), 7
(Contextual positioning), 8 (Chaining contextual positioning)"
Manual, p. 835
So VOLT or FontForge...
30 Jul 2012 — 5:41am
OK, understood. Now I am trying to import my FL features into VOLT without success :S
When I import my OT font to VOLT the features are lost. Any idea on how to keep FL features in Volt?
30 Jul 2012 — 6:03am
Ramiro,
I think your code should work if you have FontLab Studio 5.1 because it uses a newer version of the Adobe FDK thank FLS 5.0.
30 Jul 2012 — 6:34am
Hi Jens,
I tried running in FL 5.1 the following code
feature kern {
lookup one {
position d space' <0 0 3000 0> D ;
} one;
} kern;
and now it does not give error message BUT there is not effect on the addressed glyphs (either in the preview window or generating and testing the font).
30 Jul 2012 — 6:54am
my code in ttx syntax:
works in ID for sure!
30 Jul 2012 — 7:46am
Hereby I invoque the powers and wisdom of the omnipresent Adam Twardoch!
Please materialize and help us! :)
30 Jul 2012 — 10:57am
VOLT does not decompile OTL tables, so the data needs to be either in the plain text formats used to store and transfer VOLT projects, lookups, groups or glyph set data (.vtp, .vtl, .vtg, .vtd) or in the private table binary format in which VOLT projects are stored within a source TTF). FontLab offers an option to 'Export VOLT data' when generating a TTF, which I think means it will try to write the private table, but I don't think it is very reliable. You would probably need to rebuild your features and lookups in VOLT.
Alternatively, you should be able to use the AFDKO v.2 outside of FontLab to compile your feature code. Or you could use DTL OTMaster.
30 Jul 2012 — 10:54pm
Thanks for the help. I finally was able to run the code in Fontlab 5.1
The preview does not show the results but testing a generated font, the effects can be seen.
Great! Now I can set kerning for difficult triplets :)
13 Aug 2012 — 4:22pm
Ramiro,
sorry, I was on vacation :)
Adam
14 Aug 2012 — 1:42am
No problem Adam, I don't expect the Fontlab genie to materialize every time I invoke it :)