class CTioga2::Graphics::Styles::FullLatexFont

Full font information

@todo There is a whole bunch of work to be done on the Tioga side to make sure that things work.

Public Instance Methods

set_global_font(t) click to toggle source

Set global font information based on this style

This only works from within a figure !

# File lib/ctioga2/graphics/styles/texts.rb, line 372
def set_global_font(t)
  # for a in %w(family series shape)
  #   v = self.send(a)
  #   t.send("tex_font#{a}=", v) if v
  # end


  if @size
    fact = @size/t.default_font_size
    t.rescale_text(fact)
  end
end