8000 [feaLib] "Expected name id < 255" check · Issue #1003 · fonttools/fonttools · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
[feaLib] "Expected name id < 255" check #1003
Closed
@miguelsousa

Description

@miguelsousa

@brawer is it OK to remove this check from feaLib's parse_nameid_?

        if nameID > 255:
            raise FeatureLibError("Expected name id < 255",
                                  self.cur_token_location_)

I ran into it while working on a project that requires hardcoding some nameids, and I can't think of a reason for blocking them, specially since they're outside the reserved range.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions

    0