[Mono-dev] GDI+ and Pango.

Cambell Prince cambell.prince at gmail.com
Wed May 13 22:08:27 EDT 2009


Hi,

Jonathan has finished his time with us at Palaso (Thailand) and returned 
to the US.  I'm currently working on the 2.4 packaging for debian and 
our own package, then I'll be able to have a look at the pango work 
again (say in a couple of weeks time).

Sebastien Pouliot wrote:
> On Tue, 2009-05-12 at 20:06 -0400, Miguel de Icaza wrote:
>   
>> Hello,
>>
>>     There was a discussion today on IRC about Winforms and Pango, and I
>> was wondering if this patch ever got committed, 
>>     
>
> No, it's not committed. But like I offered in a later email I don't have
> any issue committing this* (well the most up to date patch) into SVN.
>
>   

I'd like to see this committed.  We're very nearly finished with our 
re-engineering / refactoring of the TextBoxTextRenderer to support pango.

>> and in general what was the status of using Pango for GDI+
>>     
>
> Even with the great work from Jonathan this Pango-enabling does not
> cover all the cases already supported by libgdiplus (unless he has a
> newer patch with additional features). 
>
> * As such it's not possible at this stage to switch to a pango backend
> without loosing features that existing applications depends on. Which
> means it will, for the time being, be an option (getting the new
> features) that reduce compatibility.
>
> The "big deal" is that the current work (old mine in SVN and Jonathan
> new patch) use the high-level pango API which is not complete enough for
> some of the options offered by GDI+ (including many supported by
> libgdiplus). This means that the code needs to be re-written in the
> low-level API before being ready for general consumption.
>
>   
There's also quite a bit of work in the TextBoxTextRenderer which has 
undergone quite a lot of change.  So far, it seems good enough for our 
purposes.  Rendering right to left, burmese, and other non-roman south 
east asian languages.

I expect to follow up on this in a couple of weeks time.

Regards,
Cambell


More information about the Mono-devel-list mailing list