svg-fonts-dialog.cpp revision d4c33c0ce4469babf6bd589aeeb7d0988f8daacc
/**
* \brief SVG Fonts dialog
*
* Authors:
* Felipe C. da S. Sanches <felipe.sanches@gmail.com>
*
* Copyright (C) 2008 Authors
*
* Released under GNU GPLv2 (or later). Read the file 'COPYING' for more information.
*/
#ifdef HAVE_CONFIG_H
# include <config.h>
#endif
#ifdef ENABLE_SVG_FONTS
#include "svg-fonts-dialog.h"
this->text = "";
}
}
}
void SvgFontDrawingArea::redraw(){
}
if (this->svgfont){
cr->set_font_face( Cairo::RefPtr<Cairo::FontFace>(new Cairo::FontFace(this->svgfont->get_font_face(), false /* does not have reference */)) );
}
return TRUE;
}
namespace Inkscape {
namespace UI {
namespace Dialog {
/*** SvgFontsDialog ***/
}
if (spfont) {
if (SP_IS_GLYPH(node)){
}
}
}
}
/* Add all fonts in the document to the combobox. */
void SvgFontsDialog::update_fonts()
{
}
}
void SvgFontsDialog::on_preview_text_changed(){
}
void SvgFontsDialog::on_font_selection_changed(){
}
{
if(i)
return NULL;
}
{
if(i)
return NULL;
}
{
//List of SVGFonts declared in a document:
_font_list.get_selection()->signal_changed().connect(sigc::mem_fun(*this, &SvgFontsDialog::on_font_selection_changed));
this->update_fonts();
//kerning setup:
//Text Preview:
_preview_entry.signal_changed().connect(sigc::mem_fun(*this, &SvgFontsDialog::on_preview_text_changed));
_getContents()->show_all();
}
SvgFontsDialog::~SvgFontsDialog(){}
} // namespace Dialog
} // namespace UI
} // namespace Inkscape
#endif //#ifdef ENABLE_SVG_FONTS