extrafont icon indicating copy to clipboard operation
extrafont copied to clipboard

Type1 importing not working

Open AntonioFasano opened this issue 3 years ago • 0 comments

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.

AntonioFasano avatar May 17 '22 08:05 AntonioFasano