[Mono-dev] Graphics.MeasureCharacterRanges cannot handle newline characters.
sebastien.pouliot at gmail.com
Wed Nov 5 07:54:47 EST 2008
On Wed, 2008-11-05 at 15:59 +0700, Jonathan Anderson wrote:
> Sebastien Pouliot wrote:
> > This is unlikely to be fixed any time soon (contributions are welcome).
> > Its part of the many little bugs in libgdiplus text support that
> > requires a major rewrite of this code (hopefully this time pango-based
> > with full i18n support).
> Is there anyone currently working on pango support in libgdiplus?
No. I did some initial work, about 18 months ago, to see the complexity
Some stuff is easier to do with pango, some stuff a bit harder (i.e.
using the high-level API is not enough). Which is why this (unsupported)
code does not support the same subset of GDI+ text features than custom
one in use.
It also was quite a bit slower, but no work was done to optimize its
performance, so YMMV.
> working with a small team in Thailand, and we're trying to get some
> applications working well in linux with Mono. The biggest problem right
> now is pango support for non-roman scripts.
I'm not sure what's the status of MWF wrt things not supported by
libgdiplus - since MWF also runs MS GDI+ some stuff could already be
supported (else you'll hit some problems there as well, assuming your
application use SWF too).
> We're probably going to be
> doing work on libgdiplus the get it working better with pango,
Great news :)
> and I was
> just wondering if there was any plan for larger changes that we need to
> be aware of or anyone we should coordinate with to avoid duplicate work.
The last discussions were done about one year ago, since then all (and a
lot) of graphical efforts were put on moonlight. To be 100% safe just
send an email to mono-devel-list (c.c. winforms-list too) before
starting your work.
More information about the Mono-devel-list