#46 LinLibertine_R.ttx crashes ttx

open
nobody
None
5
2014-01-16
2012-05-22
Pablo Rodriguez
No

Reported also at https://bugzilla.redhat.com/show_bug.cgi?id=824169 (with more information).

I'm afraid that recompiling LinLibertine_R.ttx crashes ttx.

Discussion

  • FWIW, I can see how that error can happen in this block:

                                        # user intends virtual GID support      
                                        try:
                                                glyphID = self.reverseVIDDict[glyphName]
                                        except KeyError:
                                                # if name is in glyphXXX format, use the specified name.
                                                if glyphName[:5] == "glyph":
                                                        try:
                                                                glyphID = int(glyphName[5:])
                                                        except (NameError, ValueError):
                                                                glyphID = None
                                                if glyphID is None:
                                                        glyphID = self.last_vid -1
                                                        self.last_vid = glyphID
                                                self.reverseVIDDict[glyphName] = glyphID
                                                self.VIDDict[glyphID] = glyphName
                                        return glyphID