Hi,
I just started today using birdfont, so it may be that I misunderstood something, but here it is:
I'm trying to create a ligature that only applies when the sequence is at the beginning of a word (or maybe is the whole word, both options are interesting to me).
Based on https://birdfont.org/doku/doku.php/ligatures, I typed a space in the "beginning" field, but it didn't work. Then, I tried typing "space", which seems to work be case "s p a c e" gets replaced by "space" and does appear in the ligature tab as on the webpage, but it still doesn't work.
Replacing space by another letter works.
<contextual ligature="de" backtrack="a" input="d e" lookahead="a" />
matches "adea" but not "ade" or "dea", as expected
<contextual ligature="de" backtrack=" " input="d e" lookahead=" " />
matches anything with "de" in it
<contextual ligature="de" backtrack="space" input="d e" lookahead="space" />
does not work
I'm using version 6.13.2 (plus) on GNU/Linux.
Hi,
I just started today using birdfont, so it may be that I misunderstood something, but here it is:
I'm trying to create a ligature that only applies when the sequence is at the beginning of a word (or maybe is the whole word, both options are interesting to me).
Based on https://birdfont.org/doku/doku.php/ligatures, I typed a space in the "beginning" field, but it didn't work. Then, I tried typing "space", which seems to work be case "s p a c e" gets replaced by "space" and does appear in the ligature tab as on the webpage, but it still doesn't work.
Replacing space by another letter works.
<contextual ligature="de" backtrack="a" input="d e" lookahead="a" />matches "adea" but not "ade" or "dea", as expected
<contextual ligature="de" backtrack=" " input="d e" lookahead=" " />matches anything with "de" in it
<contextual ligature="de" backtrack="space" input="d e" lookahead="space" />does not work
I'm using version 6.13.2 (plus) on GNU/Linux.