}
private void initTextStyle(IArticle article, IArticleDisplayConfig config)
{
// Create new style for article and init it with default style settings
HTMLDocument doc = (HTMLDocument)tfText.getDocument();
doc.setBase(article.getLink());
Style def = doc.getStyle("default");
doc.addStyle(TEXT_STYLE_NAME, def);
UifUtilities.setFontAttributes(doc, TEXT_STYLE_NAME, config.getTitleFont(article.isRead()));
doc = (HTMLDocument)tfFullText.getDocument();
doc.setBase(article.getLink());
def = doc.getStyle("default");
doc.addStyle(TEXT_STYLE_NAME, def);
UifUtilities.setFontAttributes(doc, TEXT_STYLE_NAME, config.getTextFont());
}