search for: blockindent

Displaying 10 results from an estimated 10 matches for "blockindent".

2007 Oct 25
0
18 commits - libswfdec/swfdec_player_internal.h libswfdec/swfdec_text_field_movie_as.c libswfdec/swfdec_text_format.c libswfdec/swfdec_text_format.h libswfdec/swfdec_xml.c libswfdec/swfdec_xml_node.c libswfdec/swfdec_xml_node.h test/trace
...format-6.swf differ diff --git a/test/trace/text-field-set-text-format-6.swf.trace b/test/trace/text-field-set-text-format-6.swf.trace new file mode 100644 index 0000000..af140ad --- /dev/null +++ b/test/trace/text-field-set-text-format-6.swf.trace @@ -0,0 +1,149 @@ +Starting state: +0: align=right blockIndent=0 bold=false bullet=false +1: align=right blockIndent=0 bold=true bullet=false +2: align=right blockIndent=0 bold=true bullet=false +3: align=right blockIndent=0 bold=true bullet=false +4: align=right blockIndent=0 bold=true bullet=false +5: align=right blockIndent=0 bold=true bullet=false +6: alig...
2007 Oct 22
0
12 commits - libswfdec/swfdec_as_strings.c libswfdec/swfdec_html_parser.c libswfdec/swfdec_text_field.c libswfdec/swfdec_text_field.h libswfdec/swfdec_text_field_movie_as.c libswfdec/swfdec_text_field_movie.c libswfdec/swfdec_text_field_movie.h test/trace
...ml-input-6.swf.trace @@ -0,0 +1,120 @@ +0: multiline: false condenseWhite: false +a +<P ALIGN="LEFT"><FONT FACE="Times New Roman" SIZE="12" COLOR="#000000" LETTERSPACING="0" KERNING="0">a</FONT></P> +0/a: align=left blockIndent=0 bold=false bullet=false color=0 display=block font=Times New Roman indent=0 italic=false kerning= leading=0 leftMargin=0 letterSpacing= rightMargin=0 size=12 tabStops= target= underline=false url= +0: multiline: true condenseWhite: false +a +<P ALIGN="LEFT"><FONT FACE="Tim...
2007 Oct 22
0
5 commits - libswfdec/swfdec_html_parser.c libswfdec/swfdec_text_field_movie_as.c libswfdec/swfdec_text_field_movie.c test/trace
...input-6.swf differ diff --git a/test/trace/text-field-html-input-6.swf.trace b/test/trace/text-field-html-input-6.swf.trace index e976072..43479bd 100644 --- a/test/trace/text-field-html-input-6.swf.trace +++ b/test/trace/text-field-html-input-6.swf.trace @@ -118,3 +118,31 @@ ab c 1/b: align=right blockIndent=0 bold=false bullet=false color=0 display=block font=Times New Roman indent=0 italic=false kerning= leading=0 leftMargin=0 letterSpacing= rightMargin=0 size=12 tabStops= target= underline=false url= 2/ : align=right blockIndent=0 bold=false bullet=false color=0 display=block font=Times New Roman i...
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
....trace +++ b/test/trace/text-field-html-input-6.swf.trace @@ -182,3 +182,51 @@ a a <P ALIGN="LEFT"><FONT FACE="Times New Roman" SIZE="12" COLOR="#000000" LETTERSPACING="0" KERNING="0">a</FONT></P> 0/a: align=left blockIndent=0 bold=false bullet=false color=0 display=block font=Times New Roman indent=0 italic=false kerning= leading=0 leftMargin=0 letterSpacing= rightMargin=0 size=12 tabStops= target= underline=false url= +8: multiline: false condenseWhite: false +a b cd e +<P ALIGN="LEFT"><FONT FACE=&...
2007 Oct 17
0
6 commits - libswfdec/swfdec_as_strings.c libswfdec/swfdec_movie.c libswfdec/swfdec_movie.h libswfdec/swfdec_text_field.c libswfdec/swfdec_text_field.h libswfdec/swfdec_text_field_movie_as.c libswfdec/swfdec_text_field_movie.c
...uot;; + case SWFDEC_TEXT_ALIGN_JUSTIFY: + return "JUSTIFY"; + default: + g_assert_not_reached (); + } +} + +/* + * Order of tags: + * TEXTFORMAT / P or LI / FONT / A / B / I / U + * + * Order of attributes: + * TEXTFORMAT: + * LEFTMARGIN / RIGHTMARGIN / INDENT / LEADING / BLOCKINDENT / TABSTOPS + * P: ALIGN + * LI: none + * FONT: FACE / SIZE / COLOR / LETTERSPACING / KERNING + * A: HREF / TARGET + * B: none + * I: none + * U: none + */ +static GString * +swfdec_text_field_movie_html_text_append_paragraph (SwfdecTextFieldMovie *text, + GString *string, guint start_index, guin...
2007 Oct 17
0
libswfdec/swfdec_text_field.c libswfdec/swfdec_text_field.h libswfdec/swfdec_text_field_movie.c
...width = SWFDEC_GRAPHIC (text)->extents.x1 - - SWFDEC_GRAPHIC (text)->extents.x0 - block->left_margin - - block->right_margin - block->block_indent; - - if (block->index_ == 0 && paragraphs[i].indent < 0) { - // limit negative indent to not go over leftMargin + blockIndent - int indent = MAX (paragraphs[i].indent / PANGO_SCALE, - -(block->left_margin + block->block_indent)); - layout.render_offset_x += indent; - width += -indent; - } - - if (text->word_wrap) { - pango_layout_set_wrap (playout, PANGO_WRAP_WORD_CHAR); - pango_layout_set_width (pl...
2007 Oct 14
0
5 commits - libswfdec/swfdec_html_parser.c libswfdec/swfdec_text_field.c libswfdec/swfdec_text_field.h libswfdec/swfdec_text_field_movie_as.c libswfdec/swfdec_text_field_movie.c libswfdec/swfdec_xml.c libswfdec/swfdec_xml.h
...block->right_margin - block->block_indent; if (block->index_ == 0 && paragraphs[i].indent < 0) { - layout->render_offset_x += paragraphs[i].indent / PANGO_SCALE; - width += -paragraphs[i].indent / PANGO_SCALE; + // limit negative indent to not go over leftMargin + blockIndent + int indent = MAX (paragraphs[i].indent / PANGO_SCALE, + -(block->left_margin + block->block_indent)); + layout->render_offset_x += indent; + width += -indent; } if (text->word_wrap) { commit 3000a03cfb7eeea8c55b8975802a98ec6baa8265 Author: Pekka Lampila <pekka.l...
2007 Oct 15
0
6 commits - libswfdec/swfdec_as_strings.c libswfdec/swfdec_codec_audio.c libswfdec/swfdec_codec_video.c libswfdec/swfdec_text_field.c libswfdec/swfdec_text_field.h libswfdec/swfdec_text_field_movie_as.c libswfdec/swfdec_text_field_movie.c
...FDEC_GRAPHIC (text)->extents.x1 - SWFDEC_GRAPHIC (text)->extents.x0 - block->left_margin - block->right_margin - block->block_indent; @@ -143,7 +140,7 @@ swfdec_text_field_generate_layouts (SwfdecTextField *text, cairo_t *cr, // limit negative indent to not go over leftMargin + blockIndent int indent = MAX (paragraphs[i].indent / PANGO_SCALE, -(block->left_margin + block->block_indent)); - layout->render_offset_x += indent; + layout.render_offset_x += indent; width += -indent; } @@ -240,9 +237,9 @@ swfdec_text_field_generate_layouts (SwfdecTextField *text,...
2007 Nov 07
0
14 commits - libswfdec/swfdec_as_context.c libswfdec/swfdec_as_interpret.c libswfdec/swfdec_as_interpret.h libswfdec/swfdec_net_stream.c libswfdec/swfdec_script.c libswfdec/swfdec_sprite_movie.c libswfdec/swfdec_tag.c libswfdec/swfdec_text_field_movie.c
...block->left_margin - - block->right_margin - block->block_indent; + SWFDEC_MOVIE (text)->original_extents.x0 - block->right_margin - + layout.offset_x; if (block->index_ == 0 && paragraphs[i].indent < 0) { // limit negative indent to not go over leftMargin + blockIndent
2007 Nov 30
0
36 commits - libswfdec/Makefile.am libswfdec/swfdec_as_context.c libswfdec/swfdec_as_date.c libswfdec/swfdec_as_initialize.as libswfdec/swfdec_as_initialize.h libswfdec/swfdec_as_strings.c libswfdec/swfdec_flash_security.c
..._global.Object.prototype + constructor (hp) = _global.TextFormat +_global.TextFormat = function + __proto__ (hp) = _global.Object.__proto__ + constructor (hp) = _global.Object.constructor + prototype (hp) = object + __proto__ (hp) = _global.Object.prototype + align (C) = undefined + blockIndent (C) = undefined + bold (C) = undefined + bullet (C) = undefined + color (C) = undefined + constructor (hp) = _global.TextFormat + display (C) = undefined + font (C) = undefined + indent (C) = undefined + italic (C) = undefined + leading (C) = undefined + leftMargin (C)...