Displaying 2 results from an estimated 2 matches for "attr_font".
2007 Oct 13
0
5 commits - libswfdec/swfdec_html_parser.c libswfdec/swfdec_text_field.c libswfdec/swfdec_text_field_movie_as.c libswfdec/swfdec_text_field_movie.c libswfdec/swfdec_xml.c test/trace
...swfdec_text_field_movie.c b/libswfdec/swfdec_text_field_movie.c
index 2827961..21e9a79 100644
--- a/libswfdec/swfdec_text_field_movie.c
+++ b/libswfdec/swfdec_text_field_movie.c
@@ -108,7 +108,7 @@ swfdec_text_field_movie_generate_paragra
GSList *iter;
PangoAttribute *attr_bold, *attr_color, *attr_font, *attr_italic,
*attr_letter_spacing, *attr_size, *attr_underline;
- // TODO: kerning
+ // TODO: kerning, display
g_assert (SWFDEC_IS_TEXT_FIELD_MOVIE (text));
g_assert (paragraph != NULL);
@@ -147,8 +147,7 @@ swfdec_text_field_movie_generate_paragra
SWFDEC_COLOR_B (format->c...
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
..._bold->end_index = length;
swfdec_text_paragraph_add_attribute (paragraph, attr_bold);
attr_bold = NULL;
- attr_color->end_index = end_index - start_index;
+ attr_color->end_index = length;
swfdec_text_paragraph_add_attribute (paragraph, attr_color);
attr_color = NULL;
- attr_font->end_index = end_index - start_index;
+ attr_font->end_index = length;
swfdec_text_paragraph_add_attribute (paragraph, attr_font);
attr_font = NULL;
- attr_italic->end_index = end_index - start_index;
+ attr_italic->end_index = length;
swfdec_text_paragraph_add_attribute (...