Displaying 15 results from an estimated 15 matches for "letterspacing".
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
....trace
new file mode 100644
index 0000000..e976072
--- /dev/null
+++ b/test/trace/text-field-html-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: mul...
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
...72..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 indent=0 italic=false kerning= leading=0 leftMargin=0 letterSpacing= rightMargin=0 size=12 tabStops= target= underline=false url=
3/c: al...
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
...es = [
+ "align",
+ "blockIndent",
+ "bold",
+ "bullet"/*,
+ "color",
+ "display",
+ "font",
+ "indent",
+ "italic",
+ "kerning",
+ "leading",
+ "leftMargin",
+ "letterSpacing",
+ "rightMargin",
+ "size",
+ "tabStops",
+ "target",
+ "underline",
+ "url"*/
+];
+
+function format_to_string (fmt) {
+ str = "";
+ for (var i = 0; i < properties.length; i++) {
+ str += " " + prop...
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
...ml-input-6.swf.trace
index 7c0beaa..3093e99 100644
--- a/test/trace/text-field-html-input-6.swf.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: mul...
2007 Oct 13
0
swfdec patch, adds letterSpacing support
Hello,
here is a first small patch that adds support to Flash 8 letterSpacing
property as described here :
http://wiki.mediabox.fr/documentation/flash/textformat/letterspacing
http://livedocs.adobe.com/flash/9.0_fr/main/wwhelp/wwhimpl/common/html/wwhelp.htm?context=LiveDocs_Parts_bak&file=00002274.html
http://livedocs.adobe.com/flash/9.0_fr/main/wwhelp/wwhimpl/common/ht...
2007 Oct 17
0
6 commits - libswfdec/swfdec_as_strings.c libswfdec/swfdec_initialize.as libswfdec/swfdec_initialize.h libswfdec/swfdec_text_field_movie_as.c libswfdec/swfdec_text_field_movie.c libswfdec/swfdec_text_field_movie.h test/trace
...(boolean)
+html: (59) 34000000 (number) = true (boolean)
+html: (60) -34000000 (number) = true (boolean)
+html: (61) input (dynamic) = true (boolean)
+Testing: htmlText (default: <P ALIGN="LEFT"><FONT FACE="Times New Roman" SIZE="12" COLOR="#000000" LETTERSPACING="0" KERNING="0">dynamic</FONT></P>)
+htmlText: (0) undefined (undefined) = <P ALIGN="LEFT"><FONT FACE="Times New Roman" SIZE="12" COLOR="#000000" LETTERSPACING="0" KERNING="0">undefined</FO...
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
...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, guint end_index)
+{
+ SwfdecTextFormat *format, *format_prev, *format_font;
+ GSList...
2007 Oct 23
0
11 commits - libswfdec/swfdec_as_internal.h libswfdec/swfdec_as_object.c libswfdec/swfdec_html_parser.c libswfdec/swfdec_initialize.as libswfdec/swfdec_initialize.h libswfdec/swfdec_style_sheet.c libswfdec/swfdec_style_sheet.h
...riable (proto, SWFDEC_AS_STR_leftMargin,
+ swfdec_as_object_add_native_variable (proto, SWFDEC_AS_STR_leftMargin,
swfdec_text_format_do_get_left_margin,
swfdec_text_format_do_set_left_margin);
if (cx->version >= 8) {
- swfdec_text_format_add_variable (proto, SWFDEC_AS_STR_letterSpacing,
+ swfdec_as_object_add_native_variable (proto, SWFDEC_AS_STR_letterSpacing,
swfdec_text_format_do_get_letter_spacing,
swfdec_text_format_do_set_letter_spacing);
}
- swfdec_text_format_add_variable (proto, SWFDEC_AS_STR_rightMargin,
+ swfdec_as_object_add_native_variable (proto, SWFDEC_...
2007 Oct 23
0
9 commits - libswfdec/swfdec_as_strings.c libswfdec/swfdec_html_parser.c libswfdec/swfdec_style_sheet.c libswfdec/swfdec_style_sheet.h libswfdec/swfdec_text_field_movie_as.c libswfdec/swfdec_text_field_movie.c libswfdec/swfdec_text_field_movie.h
...+++++-----
libswfdec/swfdec_text_format.c | 5 ++
8 files changed, 166 insertions(+), 18 deletions(-)
New commits:
commit 0f2289cf2e49a0c3ec695e77b4310964ccccbc75
Author: Pekka Lampila <pekka.lampila at iki.fi>
Date: Tue Oct 23 14:16:53 2007 +0300
Don't set kerning and letterSpacing in TextFormat's set_defaults when v < 8
diff --git a/libswfdec/swfdec_text_format.c b/libswfdec/swfdec_text_format.c
index 63c0849..8a86d18 100644
--- a/libswfdec/swfdec_text_format.c
+++ b/libswfdec/swfdec_text_format.c
@@ -1100,6 +1100,11 @@ swfdec_text_format_set_defaults (SwfdecTextForm...
2007 Sep 29
0
libswfdec/swfdec_initialize.as libswfdec/swfdec_initialize.h
...style.kerning == "false") {
+ format.kerning = false;
+ } else {
+ format.kerning = parseInt (style.kerning);
+ }
+
+ if (style.leading)
+ format.leading = parseInt (style.leading);
+
+ if (style.marginLeft)
+ format.leftMargin = parseInt (style.marginLeft);
+
+ if (style.letterSpacing)
+ format.letterSpacing = parseInt (style.letterSpacing);
+
+ if (style.marginRight)
+ format.rightMargin = parseInt (style.marginRight);
+
+ if (style.fontSize) {
+ var tmp = parseInt (style.fontSize);
+ if (tmp > 0)
+ format.size = tmp;
+ }
+
+ if (style.textDecoration ==...
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
...(value + 1, &tail, 16);
+ if (tail != value + 7)
+ number = 0;
+ SWFDEC_AS_VALUE_SET_NUMBER (&val_number, number);
+ }
+
+ swfdec_as_object_set_variable (object, SWFDEC_AS_STR_color, &val_number);
+ }
else if (name_length == 13 && !g_strncasecmp (name, "letterspacing", 13))
{
swfdec_as_object_set_variable (object, SWFDEC_AS_STR_letterSpacing,
diff-tree ec52d0b16b2c5001bf9e1503e49b504853cc288c (from 069300ee8c33a1fede5e2f07624328fbacd2f0e1)
Author: Pekka Lampila <pekka.lampila at iki.fi>
Date: Sat Oct 13 14:32:12 2007 +0300
Print FI...
2009 Sep 02
0
Wine release 1.1.29
...LCurrentStyle_get_color.
mshtml: Implement IHTMLCurrentStyle_get_backgroundColor.
mshtml: Implement IHTMLCurrentStyle_get_overflow.
mshtml: Implement IHTMLCurrentStyle_get_borderWidth.
mshtml: Implement IHTMLCurrentStyle_get_margin.
mshtml: Implement IHTMLStyle get/put letterSpacing.
Andrew Eikum (9):
ole32: Don't read past the end of the stream when converting block types.
gdiplus: Support regions of more than one rectangle in GdipCreateRegionHrgn.
user32/tests: Fix input test failures on NT4.
gdiplus: Implement GdipIsVisibleRegionPoint.
gdi...
2007 Nov 15
2
Changes to 'refs/tags/0.5.4'
Tag '0.5.4' created by Benjamin Otte <otte at gnome.org> at 2007-11-15 10:12 -0800
release 0.5.4 ("Turkish Cycling Federation")
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
iD8DBQBHPBurvMv5VCdLq8QRAj1KAJ40NHRRS3gKyJjSjyyoH7gDaGi/tQCeOha/
R5PF4bZQqmSdJ64t8EbD4cA=
=8qBy
-----END PGP SIGNATURE-----
Changes since the dawn of time:
Benjamin Otte (40):
2007 Oct 12
0
Changes to 'refs/tags/0.5.3'
...eger properties in TextFormat class
Fix various issues with TextFormat's int properties
Do marking in TextFormat
Fix handling of color property in TextFormat class
Add swfdec_as_array_set_length as public function
Add tabStops property to TextFormat class
Add letterSpacing property to TextFormat class
Add TextFormat's display property
Support setting property values in the constructor of TextFormat
Add a test for TextFormat class
Do bunch of extra calls to valueOf and toString in TextFormat to work like FP
Enable testing for values.a...
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
...bullet (C) = undefined
+ color (C) = undefined
+ constructor (hp) = _global.TextFormat
+ display (C) = undefined
+ font (C) = undefined
+ indent (C) = undefined
+ italic (C) = undefined
+ kerning (C) = undefined
+ leading (C) = undefined
+ leftMargin (C) = undefined
+ letterSpacing (C) = undefined
+ rightMargin (C) = undefined
+ size (C) = undefined
+ tabStops (C) = undefined
+ target (C) = undefined
+ underline (C) = undefined
+ url (C) = undefined
+local.a = object
+ __constructor__ (h) = _global.TextFormat
+ __proto__ (hp) = _global.TextFormat.prototype...