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

Bold check doesn't support fonts named "fontname-heavy" #131

Open
mira-cb opened this issue Nov 3, 2021 · 0 comments
Open

Bold check doesn't support fonts named "fontname-heavy" #131

mira-cb opened this issue Nov 3, 2021 · 0 comments

Comments

@mira-cb
Copy link

mira-cb commented Nov 3, 2021

Had some issues with text in Franklin Gothic that was bolded but not being marked as such. The font name was "franklingothic-heavy". I resolved this by checking for "heavy" as well as "bold" in the font name (at https://github.com/kermitt2/pdfalto/blob/master/src/XmlAltoOutputDev.cc#L609 and https://github.com/kermitt2/pdfalto/blob/master/src/XmlAltoOutputDev.cc#L932). I'm not sure how widespread this is or how many fonts are affected.

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