PDF_fonts {Rpoppler} | R Documentation |
PDF font information
Description
Obtain the fonts used in a Portable Document Format (PDF) file and further information about these fonts.
Usage
PDF_fonts(file)
Arguments
file |
A character string giving the path to a PDF file, or an
object of class |
Value
A data frame inheriting from PDF_fonts
(which has a useful
print method), with the following variables:
name |
the full name of the font (character) |
type |
the font type (Type 1, Type 3, etc.; character) |
file |
the file name of the font (character; empty if the font is embedded) |
emb |
whether the font is embedded in the PDF file or not (logical) |
sub |
whether the font is a subset of another font (logical) |
Examples
file <- system.file(file.path("doc", "Sweave.pdf"), package = "utils")
PDF_fonts(file)
[Package Rpoppler version 0.1-2 Index]