Class: Idml::TextEngine::Justifier::SpacingLimits

Inherits:
Struct
  • Object
show all
Defined in:
lib/idml/text_engine/justifier.rb

Overview

Justification distribution caps, in percent (100 = natural). InDesign defaults: word spacing max 133%, letter spacing 0%.

Instance Attribute Summary collapse

Instance Attribute Details

#max_letter_spacingObject

Returns the value of attribute max_letter_spacing

Returns:

  • (Object)

    the current value of max_letter_spacing



12
13
14
# File 'lib/idml/text_engine/justifier.rb', line 12

def max_letter_spacing
  @max_letter_spacing
end

#max_word_spacingObject

Returns the value of attribute max_word_spacing

Returns:

  • (Object)

    the current value of max_word_spacing



12
13
14
# File 'lib/idml/text_engine/justifier.rb', line 12

def max_word_spacing
  @max_word_spacing
end