Displaying 2 results from an estimated 2 matches for "23ecce4".
Did you mean:
23e68e4
2007 Feb 16
0
11 commits - libswfdec/swfdec_font.c libswfdec/swfdec_font.h libswfdec/swfdec_js_movie.c libswfdec/swfdec_script.c libswfdec/swfdec_script.h test/.gitignore test/trace
...c void
swfdec_font_parse_kerning_table (SwfdecSwfDecoder *s, SwfdecFont *font, gboolean wide_codes)
{
- SwfdecBits *bits;
+ SwfdecBits *bits = &s->b;
guint n_kernings, i;
n_kernings = swfdec_bits_get_u16 (bits);
diff --git a/libswfdec/swfdec_font.h b/libswfdec/swfdec_font.h
index 23ecce4..babfa5a 100644
--- a/libswfdec/swfdec_font.h
+++ b/libswfdec/swfdec_font.h
@@ -1,7 +1,7 @@
/* Swfdec
* Copyright (C) 2003-2006 David Schleef <ds@schleef.org>
* 2005-2006 Eric Anholt <eric@anholt.net>
- * 2006 Benjamin Otte <otte@gnome.org>
+ * 2006-2007 Benjamin O...
2007 Feb 15
0
8 commits - libswfdec/swfdec_bits.h libswfdec/swfdec_font.c libswfdec/swfdec_font.h libswfdec/swfdec_loader.c libswfdec/swfdec_loader_internal.h libswfdec/swfdec_tag.c libswfdec/swfdec_text.c libswfdec/swfdec_text.h test/swfedit_token.c test/various
...}
+ for (i = 0; i < n_glyphs; i++) {
+ SwfdecRect rect;
+ swfdec_bits_get_rect (bits, &rect);
+ }
+ swfdec_font_parse_kerning_table (s, font, wide_codes);
+ }
+
return SWFDEC_STATUS_OK;
}
diff --git a/libswfdec/swfdec_font.h b/libswfdec/swfdec_font.h
index c8e2d04..23ecce4 100644
--- a/libswfdec/swfdec_font.h
+++ b/libswfdec/swfdec_font.h
@@ -31,6 +31,8 @@ G_BEGIN_DECLS
typedef struct _SwfdecFontEntry SwfdecFontEntry;
typedef struct _SwfdecFontClass SwfdecFontClass;
+#define SWFDEC_TEXT_SCALE_FACTOR (1024)
+
typedef enum {
SWFDEC_LANGUAGE_NONE = 0,
SWFDE...