On 2011-06-23 19:40, Abhishek Sharma wrote:
May anybody please give me heads up as to what inskcape does(effectively which function it calls or which class it refers) when it reads a new svg file and checks its style for its fonts. I have already looked into FontFactory and the only function which it has for reading font spec from SPStyle is FaceFromStyle. But this function doesn't get called when a new svg is loaded(verified it through printf and gtk_dialog_new, none of them give a response on a new svg loaded). So any heads up on this will be really helpful. I shall be highly thankful.
I'm no expert on the matter (so if anyone simply knows the answer, feel free to chime in), but SPTextStyle appears to be the "access point" for font styles, so what if you simply "knock it out" and see what breaks? Crude, I know, but it can be quite effective.