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

Correct PS private values for each weight & style #26

Closed
sungsit opened this Issue Nov 17, 2015 · 6 comments

Comments

Projects
None yet
2 participants
@sungsit
Member

sungsit commented Nov 17, 2015

For better auto-hinting results.

@sungsit

This comment has been minimized.

Member

sungsit commented Nov 17, 2015

@davelab6: Is there a way to set PS private in FontForge via python?

@sungsit sungsit changed the title from Manually set PS private values for each weight & style to Correct PS private values for each weight & style Nov 17, 2015

@davelab6

This comment has been minimized.

Contributor

davelab6 commented Nov 17, 2015

@sungsit

This comment has been minimized.

Member

sungsit commented Nov 18, 2015

@davelab6 Thanks! After a while, I figured out that private is a list of tuple.

font.private['BlueValues'] = (-20, 0, 600, 620, 780, 800, 810, 830)
font.private['OtherBlues'] = (-225, -210)
font.private['StdHW'] = 100,
font.private['StdVW'] = 137,
@davelab6

This comment has been minimized.

Contributor

davelab6 commented Nov 18, 2015

@davelab6

This comment has been minimized.

Contributor

davelab6 commented Nov 18, 2015

For better auto-hinting results

I don't understand this, actually. With which autohinter?

@sungsit

This comment has been minimized.

Member

sungsit commented Nov 18, 2015

I'm testing AFDKO authohint for otf hinting. It requires StemSnapH & StemSnapV which different from weight to weight so I need to set these values in sfd sources, like font.private.guess('StemSnapH'). And it seems to help ttfautohint too.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment