search for: pango_layout_set_text

Displaying 8 results from an estimated 8 matches for "pango_layout_set_text".

2007 Nov 04
0
7 commits - libswfdec/swfdec_text_field_movie.c libswfdec/swfdec_text_field_movie.h libswfdec/swfdec_text_field_movie_html.c
...->index_; + if (paragraphs[i].newline) + length -= 1; } if (skip > length) { @@ -577,14 +581,16 @@ swfdec_text_field_movie_get_layouts (SwfdecTextFieldMovie *text, int *num, pango_layout_set_attributes (playout, attr_list); if (text->text->password) { - pango_layout_set_text (playout, text->asterisks, - paragraphs[i].length - block->index_ - skip); + pango_layout_set_text (playout, text->asterisks, paragraphs[i].length - + block->index_ - skip - (paragraphs[i].newline ? 1 : 0)); } else { pango_layout_set_text (playout, text->input-...
2007 Oct 17
0
libswfdec/swfdec_text_field.c libswfdec/swfdec_text_field.h libswfdec/swfdec_text_field_movie.c
...end_index = attr->end_index - (block->index_ + skip); - pango_attr_list_insert (attr_list, attr); - } - pango_layout_set_attributes (playout, attr_list); - pango_attr_list_unref (attr_list); - } else { - pango_layout_set_attributes (playout, paragraphs[i].attrs_list); - } - - pango_layout_set_text (playout, - paragraphs[i].text + block->index_ + skip, - paragraphs[i].text_length - block->index_ - skip); - - if (iter->next != NULL && text->word_wrap) - { - PangoLayoutLine *line; - int line_num; - guint skip_new; - - pango_layout_index_to_line_x (playout, leng...
2005 Feb 04
8
wxruby swig update
Good news and bad news. First he good news. wxruby-swig now compiles on Linux, Mac, and Windows using wxWidgets 2.5. I just patched a bug with the paint method today, but it''s getting very close to the first release of wxruby. With a little more cleanup, I think we''re getting ready to do a first release of it, which will hopefully replaced wxruby. Of course, the debug spew
2007 Nov 02
0
5 commits - libswfdec/swfdec_as_array.c libswfdec/swfdec_as_array.h libswfdec/swfdec_as_date.c libswfdec/swfdec_as_date.h libswfdec/swfdec_as_initialize.as libswfdec/swfdec_as_interpret.c libswfdec/swfdec_as_object.c libswfdec/swfdec_filter.c
...risks (text, max_length); + return (SwfdecParagraph *)g_array_free (paragraphs, FALSE); } @@ -487,9 +513,14 @@ swfdec_text_field_movie_get_layouts (SwfdecTextFieldMovie *text, int *num, pango_layout_set_attributes (playout, attr_list); pango_attr_list_unref (attr_list); - pango_layout_set_text (playout, - text->input->str + paragraphs[i].index_ + block->index_ + skip, - paragraphs[i].length - block->index_ - skip); + if (text->text->password) { + pango_layout_set_text (playout, text->asterisks, + paragraphs[i].length - block->index_ - skip); + }...
2010 Mar 23
1
Plot ``freezes''.
In an elderly version of ``plotSymbols'' (now in the cwhmisc package) that I had lying around, there was the example plot(1:10,xlab="\374") which the comments said would give a u-umlaut as the x-axis label. When I execute this plot (a) I get no x-axis label at all, and (b) the plot ``freezes'' in that further plotting commands (e.g. plot(runif(42))) produce no
2005 Jul 16
28
wxruby (was: Some questions)
Roy Sutton wrote (on the FreeRIDE list): > Really? That''s interesting. I haven''t checked out WxRuby but I would > be much happier using something that interfaces to the underlying > operating system''s widgets. As a member (and former leader) of the wxruby team, I thought I would share the state of the wxruby world. The current release is 0.6, and it has
2007 Oct 29
0
20 commits - libswfdec/Makefile.am libswfdec/swfdec_as_interpret.c libswfdec/swfdec_html_parser.c libswfdec/swfdec_initialize.as libswfdec/swfdec_initialize.h libswfdec/swfdec_text_field.c libswfdec/swfdec_text_field.h
...{ - length = paragraphs[i].text_length - block->index_; + length = paragraphs[i].length - block->index_; } if (skip > length) { @@ -490,8 +487,8 @@ swfdec_text_field_movie_get_layouts (SwfdecTextFieldMovie *text, int *num, pango_attr_list_unref (attr_list); pango_layout_set_text (playout, - paragraphs[i].text + block->index_ + skip, - paragraphs[i].text_length - block->index_ - skip); + text->input->str + paragraphs[i].index_ + block->index_ + skip, + paragraphs[i].length - block->index_ - skip); if (iter->next != NULL && text-...
2010 Mar 24
0
R-help ordinal regression
...ehave?? If so, this suggests > that the Mac OS X > implementation of cairo (supplied by Simon Urbanek) is not > too robust > (which in a several ways we already know).? On Linux I > get warnings > > (process:14674): Pango-WARNING **: Invalid UTF-8 string > passed to > pango_layout_set_text() > > and a 'broken char' symbol on the plot. > > > ??? cheers, > > > > ??? ??? Rolf Turner > > > >> sessionInfo() > > R version 2.10.1 (2009-12-14) > > i386-apple-darwin8.11.1 > > > > locale: > > [1] > en_NZ.UTF-8...