Re: GdkPangoRenderer
- From: Hans Breuer <hans breuer org>
- To: Owen Taylor <otaylor redhat com>
- Cc: gtk-devel-list gnome org
- Subject: Re: GdkPangoRenderer
- Date: Sun, 21 Nov 2004 16:43:58 +0100
On 20.11.2004 22:56, Owen Taylor wrote:
[...]
The main remaining issue for getting the GTK+ changes into CVS is Win32
support. Possible steps in that direction:
- Simply implement drawable.draw_glyphs_transformed by calling
drawable.draw_glyphs. That would at least keep what works currently
working, but rotated text wouldn't work. Approximate time - 10 minutes.
- Implement support in PangoWin32Font for loading fonts with transformation
matrices and implement pango_win32_render_transformed(). This is
sufficient to get rotated text working. Approximate time - 2-3 hours(?)
Although I think your scheduling is overly optimistic I can try to get
this into cvs today.
- Implement a PangoWin32Renderer. Not really needed for GDK, but would
clean up duplicated code and provide some new capabilities.
Approximate time - 2-3 hours(???)
Not that it is a precondition for me working at this, but it would be
nice to get the capabilities described in
http://bugzilla.gnome.org/show_bug.cgi?id=94791
and
http://bugzilla.gnome.org/show_bug.cgi?id=107668
(bitmap rendering and font outlines) into the pango renderer as well;
and not only for the FT2 case ...
- Implement drawable.draw_trapezoids using GDI (and/or GDI+) rather than
the fallback code to improve efficiency and get tiles/stipples working.
Approximate time - unknown. Note the saturated-add-then-composite
semantic of draw_trapezoids, which is needed to prevent seams.
Attached are ChangeLog, header file snippets for new API, and the entire
patch (compressed). The patch includes docs and testgtk and gtk-demo
additions.
For me it would be much more convenient to work from cvs. Also a broken
gtk/win32 build shouldn't be a new experience ;-)
Hans
-------- Hans "at" Breuer "dot" Org -----------
Tell me what you need, and I'll tell you how to
get along without it. -- Dilbert
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]