I have a problem with the freetype implementation and
provide a patch for a possible solution. The problem:
A new font is loaded in plD_render_freetype_text() if
the font face has
changed or the character height. But I run into trouble
if I resize
my plot window in wxwidgets, since neither has changed
(I use the virtual-remove-hidden-line-hack), but only
the resolution (xdpi, ydpi). But in
plD_render_freetype_text() it's not checked, if the
resolution has changed.
My resolution is, that I also save the resolution and
compare it together with the font face and the
character height. This works for me (wxwidgets driver)
and I can't see a problem with other drivers.
A patch against the latest cvs (as of today) is
attached regarding this issue.