From 4b76170550fc000202721b93ea7973a4c67c6222 Mon Sep 17 00:00:00 2001 From: Ilia Loriakov Date: Thu, 27 Aug 2015 11:36:50 +0200 Subject: [PATCH] Fixing typo which make tests fail Now fontkit branch should be functional --- lib/image/png.coffee | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/image/png.coffee b/lib/image/png.coffee index b446e49..a6db832 100644 --- a/lib/image/png.coffee +++ b/lib/image/png.coffee @@ -12,7 +12,7 @@ class PNGImage embed: (@document) -> return if @obj - @obj = document.ref + @obj = @document.ref Type: 'XObject' Subtype: 'Image' BitsPerComponent: @image.bits