Permalink
Browse files

Add stream Length property for uncompressed documents. Fixes mozilla/…

  • Loading branch information...
devongovett committed Mar 4, 2012
1 parent fb7d8ce commit a39c7d09955e0a145dc099ec6a4b4fd096773195
Showing with 2 additions and 1 deletion.
  1. +2 −1 lib/reference.coffee
View
@@ -40,9 +40,10 @@ class PDFReference
@finalizedStream = compressedData.toString 'binary'
@data.Filter = 'FlateDecode'
- @data.Length ?= @finalizedStream.length
else
@finalizedStream = data
+
+ @data.Length ?= @finalizedStream.length
else
@finalizedStream = ''

0 comments on commit a39c7d0

Please sign in to comment.