Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

incorrect font flag value #7

Open
benoitkugler opened this issue Nov 11, 2020 · 0 comments
Open

incorrect font flag value #7

benoitkugler opened this issue Nov 11, 2020 · 0 comments

Comments

@benoitkugler
Copy link

I think the SmallCap value defined in def (line 651) as 1 << 18 should be 1 << 17, so that the "bit position" defined in the SPEC, part 9.8.2 (Font Descriptor Flag) in Table 123 (Font flag), is actually 18.
As an other evidence, consider that ForceBold has the same value 1 << 18, which is certainly a mistake.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant