Class: Pdfrb::Content::Operator::CharSpacing

Inherits:
Base
  • Object
show all
Defined in:
lib/pdfrb/content/operators/text_state.rb

Overview

Text-state operators (s9.3). Each updates a slot in the Processor's current TextState.

Class Method Summary collapse

Methods inherited from Base

register, serialize

Class Method Details

.invoke(processor, n) ⇒ Object



11
12
13
# File 'lib/pdfrb/content/operators/text_state.rb', line 11

def self.invoke(processor, n)
  processor.update_text_state(char_spacing: n.to_f)
end

.nameObject



10
# File 'lib/pdfrb/content/operators/text_state.rb', line 10

def self.name; "Tc"; end