hello guys,
does anybody has a clue on why SVGFonts code stopped working?
JucaBlues
-------------
(09:01:51) Juca: SVG Fonts code is broken currently (09:01:58) Juca: and I have no idea why (09:02:18) Juca: at least for me it stopped working sometime ago (1 or 2 weeks maybe) (09:02:26) Juca: does it work for you? (09:02:39) Juca: maybe it is an issue with my cairo version (09:03:16) Alexandre Prokoudine: honestly, I find it difficult to use the current implementation (09:03:30) Alexandre Prokoudine: starting with having no idea in what form to input unicode value (09:03:48) Juca: yeah, I agree (09:03:58) Alexandre Prokoudine: and finishing with no numeric input for kerning value (09:03:59) Juca: currently we input the char itsef (09:04:16) Juca: not the codepoint value (09:05:03) Juca: but does it render anything (even the default missing glyph) in the text preview area? (09:05:10) Alexandre Prokoudine: nope (09:05:15) Juca: it is not rendering in my builb (09:05:16) Alexandre Prokoudine: and it never did for me (09:05:20) Juca: hmmm (09:05:42) Juca: it worked for me during some time and then misteriously stopped working (09:05:57) Juca: it worked while I was activelly developing it (09:06:11) Juca: since SoC until 2 weeks ago at least I think (09:06:36) Alexandre Prokoudine: maybe your cairo has a secret switch that worked only for you :) (09:06:43) Juca: :-P
On Thu, Feb 5, 2009 at 2:09 PM, Felipe Sanches wrote:
hello guys,
does anybody has a clue on why SVGFonts code stopped working?
JucaBlues
Felipe also secretly refers to https://answers.launchpad.net/inkscape/+question/59676 :)
Alexandre
it there any issue with this part of my code ?
bool SvgFontDrawingArea::on_expose_event (GdkEventExpose */*event*/){ if (this->svgfont){ Glib::RefPtrGdk::Window window = get_window(); Cairo::RefPtrCairo::Context cr = window->create_cairo_context(); cr->set_font_face( Cairo::RefPtrCairo::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:
hello guys,
does anybody has a clue on why SVGFonts code stopped working?
JucaBlues
Felipe also secretly refers to 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
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::RefPtrGdk::Window window = get_window(); Cairo::RefPtrCairo::Context cr = window->create_cairo_context(); cr->set_font_face( Cairo::RefPtrCairo::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:
hello guys,
does anybody has a clue on why SVGFonts code stopped working?
JucaBlues
Felipe also secretly refers to 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
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
On Sat, Feb 7, 2009 at 8:17 AM, Milosz Derezynski <internalerror@...400...>wrote:
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::RefPtrGdk::Window window = get_window(); Cairo::RefPtrCairo::Context cr = window->create_cairo_context(); cr->set_font_face( Cairo::RefPtrCairo::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:
hello guys,
does anybody has a clue on why SVGFonts code stopped working?
JucaBlues
Felipe also secretly refers to 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.]
participants (3)
-
Alexandre Prokoudine
-
Felipe Sanches
-
Milosz Derezynski