-
Notifications
You must be signed in to change notification settings - Fork 8
problem loading opentype fonts with the calt feature: wrong 'backtrack' glyph order when implemented as contextual chaining substitution #303
Comments
···<date: 2015-12-09, Wednesday>···<from: orchidee2>···
Thanks for the thorough report. Since the 2.6 release has just If that isn’t the case, then:
could you make this font available for testing? Reproducibility Best, |
I tried with the new luaotfload package (2.6) but got an error message during compilation of the test document. |
···<date: 2015-12-10, Thursday>···<from: orchidee2>···
Wait. What error did you get? How did you install the package?
If the license allows both modification and redistribution, then Best, |
Oh, Sorry. Probably I didn't do the installation right. I only copied the unzipped package into the local texmf tree and updated the file list (texhash). But I'm not able to load any font. OK, I will look for a font with a license which allows modification and redistribution. Best wishes, |
···<date: 2015-12-11, Friday>···<from: orchidee2>···
This should work in theory with the TDS package
Thanks, I appreciate that. |
The behavior of the new fontloader (luaotfload vers. 2.6-fix-2) concerning the calt feature is quite strange. In all tested cases the calt feature is completely ignored. |
···<date: 2015-12-14, Monday>···<from: orchidee2>···
That error is reproducible, even in Context which currently uses
Thanks for supplying me with the font, I’ve put it under version
Some issues with the |
···<date: 2015-12-14, Monday>···<from: phg>···
I have spoken too soon: The crash only happens with the earlier ![fat cat](http://i.imgur.com/zOmk2Q1.png] Does that match your expectations? If so, I’m afraid you’re going |
Thank you for your efforts. The result at the picture is as desired :-). |
@orchidee2 With the new release (just submitted) at least it |
@orchidee2 Do you have a TeX Live pretest setup for testing the 2.7 version? |
Ok, I have just installed the 2016 pretest setup. Am 28.04.2016 um 18:54 schrieb Philipp Gesang:
Dr. Martin Hein Tel.: +49 381 498 6428 |
My first test results show, that with the new fontloader the calt feature seems now to work correctly if it is implemented as contextual chaining substitution (that's very nice :-)). On the other hand, if the calt feature is implemented as normal contextual substitution, it still doesn't work properly. But I will do some more tests for verification. |
Hi, thanks a lot for the feedback! ···<date: 2016-04-29, Friday>···<from: orchidee2>···
I agree =)
No problem. I’d ask you to open a new item to track this issue. Best, |
Symptoms: the calt feature only works as expected, when the contextual substitution is applied to one of the first 2 glyphs of a word (phrase)
probable reason: the backtrack glyph order (glyphs before the glyph which is to be substituted) is swapped by the fontloader.
The following example was tested:
a font was modified with fontforge in a way, that it contains the following (useless) contextual substitutions (implemented as contextual chaining substitution):
cat -> fat (1st glyph substitution)
grow -> glow (2nd glyph substitution)
sell -> seal (3rd glyph substitution)
hand -> hang (4th glyph substitution)
The result for the first 2 substitutions is OK, for the last 2 no substitution was observed with enabled calt feature. But instead the following substitutions were found:
esll -> esal
nahd -> nahg
When compiling the test document with xelatex, the result is as desired.
Additionally, I observed that the the calt feature, if implemented as normal contextual substitution (not contextual chaining substitution), doesn't work at all (but this is a different story).
The text was updated successfully, but these errors were encountered: