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

Type1 importing not working #94

Open
AntonioFasano opened this issue May 17, 2022 · 0 comments
Open

Type1 importing not working #94

AntonioFasano opened this issue May 17, 2022 · 0 comments

Comments

@AntonioFasano
Copy link

In function extrafont:::type1_import, the line

pfbdata <- data.frame(fontfile = pfbfile, base = sub("\\.pf?$", 
    "", basename(pfbfile)))

(to remove the pfb/pfa extension) does not work. The regex should be \\.pf.$ or \\.pf(a|b)$

This seems a regression from the previous version, when only pfb extensions were used.

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