[GRASS-dev] Re: [bug #4905] (grass) gis.m: d.text.freetype does
not allow spaces in text
Glynn Clements
glynn at gclements.plus.com
Thu Aug 31 09:08:20 EDT 2006
Hamish wrote:
> > I've changed FT_LOAD_DEFAULT to FT_LOAD_NO_BITMAP not to try to load
> > embedded bitmaps. Could you please test this code?
>
> Hi, I've just updated to the latest HEAD code...
>
> I still get the same result if text="" has a space in it.
> (my usual test is text="`g.version`")
>
> Monitor <x0>: Premature EOF
> Floating point exception
>
> Without a space it works fine.
>
> I expect I am seeing the 2.2.1 ft_render_mode_mono bugfix backported to
> Debian/stable's libfreetype 2.1.7 (with the latest Debian secuirty fix),
> and this is actually is breaking it! (???)
>
> Maybe we can get a non-Debian non-FT 2.2.1 tester to try? (otherwise we
> are compounding bugs which makes things very difficult to trial)
I suggest adding a flag to d.text.freetype to choose between
normal/mono rendering modes.
I can do this, but I don't want to make any changes if Huidae is also
working on d.text.freetype.
--
Glynn Clements <glynn at gclements.plus.com>
More information about the grass-dev
mailing list