Change log.info into log.debug to make pdfinterp.py less verbose

pull/706/head
crisptag 2022-01-27 00:27:55 +05:30 committed by GitHub
parent 95dee8d67c
commit c4ac514984
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -184,7 +184,7 @@ class PDFResourceManager:
if objid and objid in self._cached_fonts: if objid and objid in self._cached_fonts:
font = self._cached_fonts[objid] font = self._cached_fonts[objid]
else: else:
log.info('get_font: create: objid=%r, spec=%r', objid, spec) log.debug('get_font: create: objid=%r, spec=%r', objid, spec)
if settings.STRICT: if settings.STRICT:
if spec['Type'] is not LITERAL_FONT: if spec['Type'] is not LITERAL_FONT:
raise PDFFontError('Type is not /Font') raise PDFFontError('Type is not /Font')