Displaying 9 results from an estimated 9 matches for "font_desc".
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
...bits);
+ swfdec_bits_get_u16 (bits);
+ } else {
+ swfdec_bits_get_u8 (bits);
+ swfdec_bits_get_u8 (bits);
+ }
+ swfdec_bits_get_s16 (bits);
}
- swfdec_bits_get_s16 (bits);
}
int
@@ -270,13 +277,13 @@ tag_func_define_font_2 (SwfdecSwfDecoder
int font_ascent;
int font_descent;
int font_leading;
- int kerning_count;
int i;
id = swfdec_bits_get_u16 (bits);
font = swfdec_swf_decoder_create_character (s, id, SWFDEC_TYPE_FONT);
if (!font)
return SWFDEC_STATUS_OK;
+ font->scale_factor = SWFDEC_TEXT_SCALE_FACTOR;
has_layout = swfdec_bits_getb...
2007 Jan 11
0
[PATCH] set VGA console to 50 lines by default
...0000 +0100
+++ 2007-01-08/xen/drivers/video/vga.c 2007-01-11 17:41:46.000000000 +0100
@@ -557,7 +557,7 @@ static int vga_load_font(const struct fo
static int vgacon_enabled = 0;
static int vgacon_keep = 0;
-static int vgacon_lines = 25;
+static int vgacon_lines = 50;
static const struct font_desc *font;
static int xpos, ypos;
@@ -585,6 +585,8 @@ void vga_init(void)
vgacon_keep = 1;
else if ( strncmp(p, "text-80x", 8) == 0 )
vgacon_lines = simple_strtoul(p + 8, NULL, 10);
+ else if ( strncmp(p, "text", 4) == 0 && p[4] !...
2007 Feb 15
0
3 commits - libswfdec/swfdec_bits.c libswfdec/swfdec_shape.c libswfdec/swfdec_tag.c
...s (s, shape);
}
if (wide_codes) {
- bits->ptr += 2 * n_glyphs;
+ swfdec_bits_skip_bytes (bits, 2 * n_glyphs);
} else {
- bits->ptr += 1 * n_glyphs;
+ swfdec_bits_skip_bytes (bits, 1 * n_glyphs);
}
if (has_layout) {
font_ascent = swfdec_bits_get_s16 (bits);
font_descent = swfdec_bits_get_s16 (bits);
font_leading = swfdec_bits_get_s16 (bits);
//font_advance_table = swfdec_bits_get_s16(bits);
- bits->ptr += 2 * n_glyphs;
+ swfdec_bits_skip_bytes (bits, 2 * n_glyphs);
for (i = 0; i < n_glyphs; i++) {
swfdec_bits_get_rect (bits, &a...
2013 Feb 14
12
[PATCH v7 0/5] xen: ARM HDLCD video driver
Hi all,
these are the remaining unapplied patches of the ARM HDLCD patch series.
Changes in v7:
- rebased on b61ed421d2c85b5b106c63f2c14f8aa162b282f0;
- turn more printk and panic into early_printk and early_panic.
Changes in v6:
- rebased on 77d3a1db3196b1b5864469f8d3f41d496800c795;
- remove useless initializations to NULL in lfb_init;
- more compact checks in lfb_init.
Changes in v5:
- move
2007 Apr 17
0
15 commits - libswfdec/jpeg libswfdec/swfdec_bits.c libswfdec/swfdec_edittext.c libswfdec/swfdec_font.c libswfdec/swfdec_image.c libswfdec/swfdec_root_sprite.c libswfdec/swfdec_script.c libswfdec/swfdec_shape.c libswfdec/swfdec_sprite.c
...ate: Tue Apr 17 11:46:17 2007 +0200
sanely skip offsets in DefineFont2
diff --git a/libswfdec/swfdec_font.c b/libswfdec/swfdec_font.c
index c626104..c0562b1 100644
--- a/libswfdec/swfdec_font.c
+++ b/libswfdec/swfdec_font.c
@@ -289,6 +289,7 @@ tag_func_define_font_2 (SwfdecSwfDecoder
int font_descent;
int font_leading;
int i;
+ guint skip;
id = swfdec_bits_get_u16 (bits);
font = swfdec_swf_decoder_create_character (s, id, SWFDEC_TYPE_FONT);
@@ -318,10 +319,18 @@ tag_func_define_font_2 (SwfdecSwfDecoder
n_glyphs = swfdec_bits_get_u16 (bits);
if (wide_offsets) {
- bit...
2007 Apr 17
0
Branch 'as' - 17 commits - libswfdec/jpeg libswfdec/swfdec_bits.c libswfdec/swfdec_font.c libswfdec/swfdec_image.c libswfdec/swfdec_root_sprite.c libswfdec/swfdec_script.c libswfdec/swfdec_shape.c libswfdec/swfdec_sound.c libswfdec/swfdec_sprite.c
...ate: Tue Apr 17 11:46:17 2007 +0200
sanely skip offsets in DefineFont2
diff --git a/libswfdec/swfdec_font.c b/libswfdec/swfdec_font.c
index c626104..c0562b1 100644
--- a/libswfdec/swfdec_font.c
+++ b/libswfdec/swfdec_font.c
@@ -289,6 +289,7 @@ tag_func_define_font_2 (SwfdecSwfDecoder
int font_descent;
int font_leading;
int i;
+ guint skip;
id = swfdec_bits_get_u16 (bits);
font = swfdec_swf_decoder_create_character (s, id, SWFDEC_TYPE_FONT);
@@ -318,10 +319,18 @@ tag_func_define_font_2 (SwfdecSwfDecoder
n_glyphs = swfdec_bits_get_u16 (bits);
if (wide_offsets) {
- bit...
2012 Nov 19
2
[PATCH 158/493] video: remove use of __devinit
...gned long rom_address, unsigned long hpa)
{
@@ -479,7 +479,7 @@ sti_init_glob_cfg(struct sti_struct *sti,
}
#ifdef CONFIG_FB
-static struct sti_cooked_font __devinit
+static struct sti_cooked_font
*sti_select_fbfont(struct sti_cooked_rom *cooked_rom, const char *fbfont_name)
{
const struct font_desc *fbfont;
@@ -535,14 +535,14 @@ static struct sti_cooked_font __devinit
return cooked_font;
}
#else
-static struct sti_cooked_font __devinit
+static struct sti_cooked_font
*sti_select_fbfont(struct sti_cooked_rom *cooked_rom, const char *fbfont_name)
{
return NULL;
}
#endif
-static struc...
2012 Nov 19
2
[PATCH 158/493] video: remove use of __devinit
...gned long rom_address, unsigned long hpa)
{
@@ -479,7 +479,7 @@ sti_init_glob_cfg(struct sti_struct *sti,
}
#ifdef CONFIG_FB
-static struct sti_cooked_font __devinit
+static struct sti_cooked_font
*sti_select_fbfont(struct sti_cooked_rom *cooked_rom, const char *fbfont_name)
{
const struct font_desc *fbfont;
@@ -535,14 +535,14 @@ static struct sti_cooked_font __devinit
return cooked_font;
}
#else
-static struct sti_cooked_font __devinit
+static struct sti_cooked_font
*sti_select_fbfont(struct sti_cooked_rom *cooked_rom, const char *fbfont_name)
{
return NULL;
}
#endif
-static struc...
2012 Nov 19
2
[PATCH 158/493] video: remove use of __devinit
...gned long rom_address, unsigned long hpa)
{
@@ -479,7 +479,7 @@ sti_init_glob_cfg(struct sti_struct *sti,
}
#ifdef CONFIG_FB
-static struct sti_cooked_font __devinit
+static struct sti_cooked_font
*sti_select_fbfont(struct sti_cooked_rom *cooked_rom, const char *fbfont_name)
{
const struct font_desc *fbfont;
@@ -535,14 +535,14 @@ static struct sti_cooked_font __devinit
return cooked_font;
}
#else
-static struct sti_cooked_font __devinit
+static struct sti_cooked_font
*sti_select_fbfont(struct sti_cooked_rom *cooked_rom, const char *fbfont_name)
{
return NULL;
}
#endif
-static struc...