about the two functions that lack implementation, sorry, but I forgot about them. Only Qnx and Unix has implementation for getCoverage and drawGlyph.
drawGlyph(i, ...) should draw the glyph indexed in the i position in the table (not to be confused with the i'th codepoint of UCS4). I explained getCoverage a bit ago. For a given font, it should return a vector that gives us information about the codepoints covered by this font. It should fill the vector that it receives as argument (after clearing it) with pairs of: (base codepoint, length) (base codepoint, length) ... For instance, if the font only supports the ranges [a-z][A-Z][0-9], you should put in the vector: ['a', 'z'-'a', 'A', 'Z'-'A', '0', '9'-'0'] AFAIR drawGlyph is not used right now, but my first implementation of insert symbol used it and even if I don't use it I though that it was useful enough to not delete it. We may (should :) need it in the future, but by now you can just stub it. getCoverage is more important, if you don't have it insert symbol will not work right. BTW, you can leave both functions of GnomeGraphicsPrint as stubs. It's only need for on screen graphics (in fact, it should be a GR_Font method, just as getAscender, etc. but everybody seems to be using GR_Graphics as GR_Graphics + GR_Font. I plan to change that in the future) Cheers, ===== Joaquin Cuenca Abela [EMAIL PROTECTED] __________________________________________________ Do You Yahoo!? Yahoo! Autos - Get free new car price quotes http://autos.yahoo.com
