Displaying 13 results from an estimated 13 matches for "embed_fonts".
2007 Oct 14
0
3 commits - doc/Makefile.am libswfdec/swfdec_text_field_movie_as.c
..._text_field_movie_as.c
index 43599a3..121fefc 100644
--- a/libswfdec/swfdec_text_field_movie_as.c
+++ b/libswfdec/swfdec_text_field_movie_as.c
@@ -604,10 +604,10 @@ swfdec_text_field_movie_set_embedFonts (SwfdecAsContext *cx,
swfdec_as_value_to_number (cx, &argv[0]);
- text->text->embed_fonts = value;
-
- if (text->text->embed_fonts)
+ if (!text->text->embed_fonts && value)
SWFDEC_FIXME ("Using embed fonts in TextField not supported");
+
+ text->text->embed_fonts = value;
}
static void
@@ -619,8 +619,7 @@ swfdec_text_field_movie_get_textCo...
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
...ext_field.c b/libswfdec/swfdec_text_field.c
index 2788cfc..485d3b2 100644
--- a/libswfdec/swfdec_text_field.c
+++ b/libswfdec/swfdec_text_field.c
@@ -337,6 +337,8 @@ tag_func_define_edit_text (SwfdecSwfDeco
reserved = swfdec_bits_getbit (b);
text->html = swfdec_bits_getbit (b);
text->embed_fonts = swfdec_bits_getbit (b);
+ if (text->embed_fonts)
+ SWFDEC_FIXME ("Using embed fonts in TextField is not supported");
if (has_font) {
SwfdecCharacter *font;
diff --git a/libswfdec/swfdec_text_field_movie.c b/libswfdec/swfdec_text_field_movie.c
index 2827961..21e9a79 1006...
2016 Jul 20
2
Fuente (Tahoma)
Hola.
Estoy logrando sacar un gráfico para una presentación en ggloot2 y me está
quedando bastante bonito! Pero, tengo es problema con las fuentes:
Warning messages:
?>?
1: In grid.Call(L_textBounds, as.graphicsAnnot(x$label), ... :
?>?
font family not found in Windows font database
?etc.?
?que proviene de
> theme_minimal(base_size = 14, base_family = "Tahoma") +
?La verdad
2017 Oct 20
0
[FORGED] can't print ggplot with Chinese characters to pdf files
Hi,
Following Paul's instruction, I have installed the Cairo. I tried to run
the program, and there is no error message at all. I did see the Chinese
title in the plot if I ask my RStudio to show the plot (if I type "p1"),
but the pdf file shows the plots without the Chinese titles.
library(ggplot2)
library(gridExtra)
df1<-data.frame(x=1:2, y=3:4, z=5:6)
#p1<-ggplot(df1,
2007 Oct 18
0
11 commits - libswfdec/swfdec_as_strings.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
...MOVIE (text));
+ swfdec_text_field_movie_auto_size (text);
+ // special case: don't set scrolling
}
}
@@ -795,6 +809,8 @@ swfdec_text_field_movie_set_embedFonts (SwfdecAsContext *cx,
SWFDEC_FIXME ("Using embed fonts in TextField not supported");
text->text->embed_fonts = value;
+
+ // FIXME: resize
}
static void
commit 012c5ba8a76250fd2585c13b2b43bb8980a28d73
Author: Pekka Lampila <pekka.lampila at iki.fi>
Date: Thu Oct 18 11:35:27 2007 +0300
Some fixes to TextField's scrolling
diff --git a/libswfdec/swfdec_text_field_movie.c b/libswfdec/sw...
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
...xt));
diff --git a/libswfdec/swfdec_text_field_movie.h b/libswfdec/swfdec_text_field_movie.h
index fc7371d..fd02f04 100644
--- a/libswfdec/swfdec_text_field_movie.h
+++ b/libswfdec/swfdec_text_field_movie.h
@@ -90,7 +90,9 @@ struct _SwfdecTextFieldMovie {
gboolean condense_white;
gboolean embed_fonts;
+
SwfdecStyleSheet * style_sheet;
+ const char * style_sheet_input; /* saved input, so it can be used to apply stylesheet again */
gboolean scroll_changed; /* if any of the scroll attributes have changed and we haven't fired the event yet */
int scroll;
diff --git a/libswfdec/s...
2017 Oct 13
4
[FORGED] can't print ggplot with Chinese characters to pdf files
Hi
By the looks of it, you need to install Cairo graphics ...
https://www.cairographics.org/download/
Paul
On 13/10/17 15:48, John wrote:
> Thanks, Paul. Following your solution, ?I got this error message:
>
> Warning message:
> In cairo_pdf("test_plot_chinese.pdf") : failed to load cairo DLL
>
> Is there anything else I need to install?
>
> Thanks,
>
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
...WFDEC_GRID_FIT_TYPE_SUBPIXEL
-} SwfdecGridFitType;
-
struct _SwfdecTextFieldMovie {
SwfdecMovie movie;
@@ -67,17 +56,9 @@ struct _SwfdecTextFieldMovie {
SwfdecTextFormat * format_new;
GSList * formats;
- SwfdecAntiAliasType anti_alias_type;
gboolean condense_white;
gboolean embed_fonts;
- SwfdecGridFitType grid_fit_type;
- guint hscroll;
- gboolean mouse_wheel_enabled;
- const char * restrict_;
- guint scroll;
- int sharpness;
SwfdecStyleSheet * style_sheet;
- int thickness;
SwfdecColor border_color;
SwfdecColor background_color;
@@ -100,6 +81,8 @@ v...
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
...bswfdec/swfdec_text_field.h
index 1609a52..f3cd10d 100644
--- a/libswfdec/swfdec_text_field.h
+++ b/libswfdec/swfdec_text_field.h
@@ -86,7 +86,7 @@ struct _SwfdecTextField
gboolean input;
gboolean password;
- guint max_length;
+ int max_chars;
gboolean selectable;
gboolean embed_fonts;
diff --git a/libswfdec/swfdec_text_field_movie_as.c b/libswfdec/swfdec_text_field_movie_as.c
index 7e8e20e..d480525 100644
--- a/libswfdec/swfdec_text_field_movie_as.c
+++ b/libswfdec/swfdec_text_field_movie_as.c
@@ -454,6 +454,38 @@ swfdec_text_field_movie_set_condenseWhite (SwfdecAsContext *cx,...
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
...= swfdec_text_field_movie_render;
}
diff --git a/libswfdec/swfdec_text_field_movie.h b/libswfdec/swfdec_text_field_movie.h
index 058d915..70ddb4f 100644
--- a/libswfdec/swfdec_text_field_movie.h
+++ b/libswfdec/swfdec_text_field_movie.h
@@ -92,6 +92,7 @@ struct _SwfdecTextFieldMovie {
gboolean embed_fonts;
SwfdecStyleSheet * style_sheet;
+ gboolean scroll_changed; /* if any of the scroll attributes have changed and we haven't fired the event yet */
int scroll;
int scroll_max;
int scroll_bottom;
diff --git a/libswfdec/swfdec_text_field_movie_as.c b/libswfdec/swfdec_text_fiel...
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
...x1, SWFDEC_GRAPHIC (text)->extents.y1);
swfdec_bits_syncbits (b);
+
has_text = swfdec_bits_getbit (b);
text->word_wrap = swfdec_bits_getbit (b);
text->multiline = swfdec_bits_getbit (b);
@@ -128,6 +130,7 @@ tag_func_define_edit_text (SwfdecSwfDecoder * s, guint tag)
text->embed_fonts = swfdec_bits_getbit (b);
if (text->embed_fonts)
SWFDEC_FIXME ("Using embed fonts in TextField is not supported");
+
if (has_font) {
SwfdecCharacter *font;
@@ -142,6 +145,7 @@ tag_func_define_edit_text (SwfdecSwfDecoder * s, guint tag)
text->size = swfdec_bits...
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
...else {
diff --git a/libswfdec/swfdec_text_field_movie.h b/libswfdec/swfdec_text_field_movie.h
index fd02f04..28439f2 100644
--- a/libswfdec/swfdec_text_field_movie.h
+++ b/libswfdec/swfdec_text_field_movie.h
@@ -91,7 +91,7 @@ struct _SwfdecTextFieldMovie {
gboolean condense_white;
gboolean embed_fonts;
- SwfdecStyleSheet * style_sheet;
+ SwfdecAsObject * style_sheet;
const char * style_sheet_input; /* saved input, so it can be used to apply stylesheet again */
gboolean scroll_changed; /* if any of the scroll attributes have changed and we haven't fired the event yet */
diff --g...
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
...use_wheel_enabled = TRUE;
}
void
diff --git a/libswfdec/swfdec_text_field_movie.h b/libswfdec/swfdec_text_field_movie.h
index 02b7b73..a181cb7 100644
--- a/libswfdec/swfdec_text_field_movie.h
+++ b/libswfdec/swfdec_text_field_movie.h
@@ -60,6 +60,9 @@ struct _SwfdecTextFieldMovie {
gboolean embed_fonts;
SwfdecStyleSheet * style_sheet;
+ gboolean mouse_wheel_enabled;
+ const char * restrict_;
+
SwfdecColor border_color;
SwfdecColor background_color;
diff --git a/libswfdec/swfdec_text_field_movie_as.c b/libswfdec/swfdec_text_field_movie_as.c
index 635009c..2930c66 100644
--- a/li...