lib/pdf/reader/pages_strategy.rb in pdf-reader-1.0.0.beta1 vs lib/pdf/reader/pages_strategy.rb in pdf-reader-1.0.0.rc1
- old
+ new
@@ -348,10 +348,10 @@
current_font = nil
params = []
while (token = parser.parse_token(OPERATORS))
if token.kind_of?(Token) and OPERATORS.has_key?(token)
- if OPERATORS[token] == :set_text_font_and_size
+ if OPERATORS[token] == :set_text_font_and_size
current_font = params.first
if fonts[current_font].nil?
raise MalformedPDFError, "Unknown font #{current_font}"
end
end