powered by
Obtain the fonts used in a Portable Document Format (PDF) file and further information about these fonts.
PDF_fonts(file)
A data frame inheriting from PDF_fonts (which has a useful print method), with the following variables:
PDF_fonts
the full name of the font (character)
the font type (Type 1, Type 3, etc.; character)
the file name of the font (character; empty if the font is embedded)
whether the font is embedded in the PDF file or not (logical)
whether the font is a subset of another font (logical)
A character string giving the path to a PDF file, or an object of class "PDF_doc" giving a reference to a PDF file.
"PDF_doc"
file <- system.file(file.path("doc", "Sweave.pdf"), package = "utils") PDF_fonts(file)
Run the code above in your browser using DataLab