Troubles with textRenderer

I’ve faced with problem of incomplete atom labels again. Avogadro TextRenderer misses first letter in some structures, e.g., “o1” instead of “Co1” when reading CIF. I’ve checked that labelengine passes correct text to the renderer. If I use Qt renderText function, labels appear correctly (not so ‘cool’, of cource, but it doesn’t lose letters and can change font)

Regards,
Konstantin

Qt renderText function, labels appear correctly (not so ‘cool’, of cource, but it doesn’t lose letters and can change font)

Benoit wrote the textRenderer because the renderText code in Qt-4.2 was really buggy.

I think we could probably fix this simply by making textRenderer call Qt’s renderText. Couldn’t we still make two calls to renderText – one in white with a larger size, and one in black?

This seems like a good experiment to me.

-Geoff