--- !ruby/object:RI::MethodDescription 
aliases: []

block_params: 
comment: 
- !ruby/struct:SM::Flow::P 
  body: "Selects the current font based on defined font families and the current text state. As noted in #font_families, a &quot;bi&quot; font can be defined differently than an &quot;ib&quot; font. It should not be possible to have a &quot;bb&quot; text state, but if one were to show up, an entry for the #font_families would have to be defined to select anything other than the default font. This function is to be called whenever the current text state is changed; it will update the current font to whatever the appropriate font defined in the font family."
- !ruby/struct:SM::Flow::P 
  body: "When the user calls #select_font, both the current base font and the current font will be reset; this function only changes the current font, not the current base font."
- !ruby/struct:SM::Flow::P 
  body: This will probably not be needed by end users.
full_name: PDF::Writer#current_font!
is_singleton: false
name: current_font!
params: ()
visibility: public
