From: Aron S. <elv...@gm...> - 2005-09-08 00:11:57
|
Hello. This is my first post to the list. I was getting: fo-image.c: In function `fo_image_get_width': fo-image.c:247: error: assignment of read-only member `width' fo-image.c: In function `fo_image_get_height': fo-image.c:270: error: assignment of read-only member `height' In this newly added file. I fixed by removing the const constrain on the passed in FoImage (patches attached), don't know if that is the right thing to do (I'm not such a proficient programmer), but it fixed the compilation error. Maybe the real solution to this is to not declare the width and height members the way they are declared? The funky GObject macros confused my little head. Heh. I think xmlroff is a very promising project, and I think it's important that there are other free XSL Formatter project besides Apache FOP. I saw that one poster on this list expressed the same thought I had in mind: Now that Pango supports drawing to Cairo surfaces, could this somehow be used by xmlroff? Maybe some day I'll brush up my C skills and dive into the xmlroff code (have to study the GObject system first). It would be really nice if I could use xmlroff in my DocBook XML tool chain. It needs to be better on the block-level stacking and preserve white-space correctly in my code listings first, and support images. (Don't worry, I'll come back with more detailed reports/test cases :)) I think you're doing a great job, considering the 400 page humorless XSL sp= ec ;) Best regards, Aron Stansvik |