If the gconf var style/font/style be changed, this method
        will be called and will change the font style in all terminals
        open.
483752
def fstyle_changed(self, settings, key, user_data):
        
        font = Pango.FontDescription(settings.get_string(key))
        for i in self.guake.notebook_manager.iter_terminals():
            i.set_font(font)
1302707
def _update_fontcolor(self, fontcolor):
        

        textcolor = wx.SystemSettings_GetColour(wx.SYS_COLOUR_WINDOWTEXT)
        textcolor.SetRGB(fontcolor)

        self.textcolor_choice.SetColour(textcolor)
842972
def change_row_font(row_index, change_type, arg, font)
      validate_workbook
      ensure_cell_exists(row_index)

      xf = workbook.register_new_font(font, get_row_xf(row_index))
      row = sheet_data[row_index]
      row.style_index = workbook.register_new_xf(xf)
      row.cells.each { |c| c.font_switch(change_type, arg) unless c.nil? }
    end
973496
def prepare_fonts #:nodoc:
      fonts = {}

      @xf_formats.each { |format| format.set_font_info(fonts) }

      @font_count = fonts.size

      # For the DXF formats we only need to check if the properties have changed.
      @dxf_formats.each do |format|
        # The only font properties that can change for a DXF format are: color,
        # bold, italic, underline and strikethrough.
        if format.color? || format.bold? || format.italic? || format.underline? || format.strikeout?
          format.has_dxf_font(true)
        end
      end
    end
283892
public boolean setTypeface(GVRContext gvrContext, String font) {
        return setTypeface(gvrContext, font, fontStyleTypes.PLAIN);
    }
200559
function init(){
//modules load
terminal.colors.default= chalk.white.bold;
terminal.default="";
//set the colors of the terminal
checkUserColors(terminal.colors);
bool=true;
//to control the view properties and colors
properties= Object.getOwnPropertyNames(terminal);
colors=Object.getOwnPropertyNames(terminal.colors);
}
1060301
private void fontComboBoxActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_fontComboBoxActionPerformed
        String fontName = (String)fontComboBox.getSelectedItem();
        if (!this.getDefaultText().equalsIgnoreCase(fontName))
            properties.put(ScreenUtil.FONT_NAME, fontName);
        else
            properties.remove(ScreenUtil.FONT_NAME);

        ScreenUtil.updateLookAndFeel(this, null, properties);
        this.setSampleStyle();
    }
1177288
public void setFont(Font font) {
		if (comboBox != null) {
			comboBox.setFont(font);
		}
		super.setFont(font);
	}
1169813
function setTextStyle(ctx, fontSize) {
  ctx.font = `${fontSize}px Helvetica,Arial,sans-serif`;
  ctx.fillStyle = '#000';
  ctx.textBaseline = 'top';
  ctx.textAlign = 'center';
}
1128487
public void updateGraphics(Graphics2D g)
    {
        g.setFont(font);
        g.setColor(color);
        g.setRenderingHint(RenderingHints.KEY_ANTIALIASING, RenderingHints.VALUE_ANTIALIAS_OFF);
        g.setRenderingHint(RenderingHints.KEY_TEXT_ANTIALIASING, RenderingHints.VALUE_TEXT_ANTIALIAS_ON);
    }
479629
def update_font(self):
        """"""
        color_scheme = self.get_color_scheme()
        font = self.get_plugin_font()
        rich_font = self.get_plugin_font(rich_text=True)

        self.set_plain_text_font(font, color_scheme=color_scheme)
        self.set_rich_text_font(rich_font)
586190
def set_font(self, font):
        """"""
        self.shellwidget._control.setFont(font)
        self.shellwidget.font = font
201348
public void setStyleName(String v) {
    if (Style_Type.featOkTst && ((Style_Type)jcasType).casFeat_styleName == null)
      jcasType.jcas.throwFeatMissing("styleName", "de.julielab.jules.types.Style");
    jcasType.ll_cas.ll_setStringValue(addr, ((Style_Type)jcasType).casFeatCode_styleName, v);}
1207148
protected void applyStyle(TextFormatting format)
	{
		if (format == TextFormatting.RESET)
		{
			FontOptions fontOptions = styles.getFirst();
			styles.clear();
			styles.add(fontOptions);
			return;
		}

		FontOptionsBuilder builder = currentStyle().toBuilder();
		builder.styles(format);
		styles.add(builder.build());
	}
105742
private void updateDisplayModeIcon() {
        FontAwesomeIcon icon = FontAwesomeIcon.CALENDAR;
        if (getDisplayMode().equals(DisplayMode.GRID)) {
            icon = FontAwesomeIcon.CALENDAR_ALT;
        }

        final Text graphic = FontAwesomeIconFactory.get().createIcon(icon);
        graphic.getStyleClass().addAll("button-icon", "display-mode-icon");
        displayModeButton.setGraphic(graphic);
    }
518578
public void setStyle(org.kie.dmn.model.api.dmndi.Style value) {
        this.style = value;
    }
346999
function update (src) {
      if (element.styleSheet) {
        element.styleSheet.cssText = src
      } else {
        element.textContent = src
      }
    }