well... since SVG Fonts define glyphs using SVG chunks, I believe that the cairo userfont rendering routines will use the glyph style to define fill&stroke paint... let me check it.
Juca
I don't know about the defaults, but you are not setting an operator nor defining a source.--On Sat, Feb 7, 2009 at 10:46 AM, Felipe Sanches <felipe.sanches@...400...> wrote:
it there any issue with this part of my code ?
bool SvgFontDrawingArea::on_expose_event (GdkEventExpose */*event*/){
if (this->svgfont){
Glib::RefPtr<Gdk::Window> window = get_window();
Cairo::RefPtr<Cairo::Context> cr = window->create_cairo_context();
cr->set_font_face( Cairo::RefPtr<Cairo::FontFace>(new Cairo::FontFace(this->svgfont->get_font_face(), false /* does not have reference */)) );
cr->set_font_size (this->y-20);
cr->move_to (10, 10);
cr->show_text (this->text.c_str());
}
return TRUE;
}On Thu, Feb 5, 2009 at 9:21 AM, Alexandre Prokoudine <alexandre.prokoudine@...400...> wrote:
On Thu, Feb 5, 2009 at 2:09 PM, Felipe Sanches wrote:Felipe also secretly refers to
> hello guys,
>
> does anybody has a clue on why SVGFonts code stopped working?
>
> JucaBlues
https://answers.launchpad.net/inkscape/+question/59676 :)
Alexandre
------------------------------------------------------------------------------
Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM)
software. With Adobe AIR, Ajax developers can use existing skills and code to
build responsive, highly engaging applications that combine the power of local
resources and data with the reach of the web. Download the Adobe AIR SDK and
Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com
_______________________________________________
Inkscape-devel mailing list
Inkscape-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/inkscape-devel
------------------------------------------------------------------------------
Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM)
software. With Adobe AIR, Ajax developers can use existing skills and code to
build responsive, highly engaging applications that combine the power of local
resources and data with the reach of the web. Download the Adobe AIR SDK and
Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com
_______________________________________________
Inkscape-devel mailing list
Inkscape-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/inkscape-devel
Please note that according to the German law on data retention,
information on every electronic information exchange with me is
retained for a period of six months.
[Bitte beachten Sie, dass dem Gesetz zur Vorratsdatenspeicherung zufolge
jeder elektronische Kontakt mit mir sechs Monate lang gespeichert wird.]