remove duplicate log

This commit is contained in:
Gunnsteinn Hall 2018-12-27 17:42:12 +00:00
parent 8f031e7bdb
commit 99a19b0b8d

View File

@ -475,8 +475,6 @@ func (font *PdfFont) ToPdfObject() core.PdfObject {
func (font *PdfFont) Encoder() textencoding.TextEncoder {
t := font.actualFont()
if t == nil {
common.Log.Debug("ERROR: Encoder not implemented for font type=%T", font.context)
// XXX: Should we return a default encoding?
common.Log.Debug("ERROR: Encoder not implemented for font type=%#T", font.context)
// TODO: Should we return a default encoding?
return nil