Re: Pango layout multibyte character problem

2008-02-20 Thread Behdad Esfahbod
On Wed, 2008-02-20 at 14:01 -0800, Steve Splonskowski wrote: > > Any ideas on what to try next? Nul-terminate your string? Or, what are you passing as len to pango_layout_set_text()? That should be len in bytes, not characters. That is, 3, not 2. Or -1 if nul-terminated. -- behdad http://beh

Pango layout multibyte character problem

2008-02-20 Thread Steve Splonskowski
Hello, I am having a problem with some multibyte characters when trying to render them via a Pango layout (using the pangomm c++ binding). Here are the details of a specific problem: - the text string that I am trying to render is just two characters: a lower case 'x' and a superscript '2'

getting & setting colors

2008-02-20 Thread Dave Howorth
I want to temporarily change the background or foreground color in a widget (TextBuffer or Entry), to highlight errors. I've found gtk_widget_modify_bg, which looks like it will let me change the background colour, but I can't see any way to return the color to what it was previously. I suppose I

Dialogs and gtk_window_set_transient_for()

2008-02-20 Thread Arto Karppinen
Hi Im developing an app which shows modal dialogs to the user. Also the app may popup a custom error message dialog if something goes wrong. Currently i'm setting both dialog to be transient_for to my main window. This has the effect of the error dialog appearing beneath the first modal dialog

Re: Printing

2008-02-20 Thread Enrico Tröger
On Wed, 20 Feb 2008 06:31:04 -0700, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote: > > >> Enrico Tr?ger wrote: > > For examples see: > > http://www.uvena.de/tmp/cairo/print_pango_linux.pdf (fine) > > and > > http://www.uvena.de/tmp/cairo/print_pango_win32.pdf (broken) > > The link to the windows

Re: Printing

2008-02-20 Thread [EMAIL PROTECTED]
>> Enrico Tr?ger wrote: > For examples see: > http://www.uvena.de/tmp/cairo/print_pango_linux.pdf (fine) > and > http://www.uvena.de/tmp/cairo/print_pango_win32.pdf (broken) The link to the windows version is non-functional. I get the following 403 permission error when I try to open it: 403: Yo