Cleaning up

This commit is contained in:
John Whitington
2023-04-13 17:07:55 +01:00
parent 9587169a94
commit 96d6e2472d
114 changed files with 4 additions and 13 deletions

View File

@@ -0,0 +1,12 @@
# CHAPTER 14. Fonts
def getFontInfo(pdf):
"""Get a list of (pagenumber, fontname, fonttype, fontencoding) tuples,
showing each font used on each page."""
def removeFonts(pdf):
"""Remove all font data from a file."""
def copyFont(pdf, pdf2, r, pagenumber, fontname):
"""Copy the given font from the given page in the pdf PDF to every page in
the pdf2 PDF. The new font is stored under its font name."""