git.asbjorn.biz
/
swftools.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
864398b
)
FONT_INTERNAL_SIZE is now 16.
author
kramm
<kramm>
Thu, 9 Sep 2004 17:35:38 +0000
(17:35 +0000)
committer
kramm
<kramm>
Thu, 9 Sep 2004 17:35:38 +0000
(17:35 +0000)
pdf2swf/swfoutput.cc
patch
|
blob
|
history
diff --git
a/pdf2swf/swfoutput.cc
b/pdf2swf/swfoutput.cc
index
4402785
..
ea6ae37
100644
(file)
--- a/
pdf2swf/swfoutput.cc
+++ b/
pdf2swf/swfoutput.cc
@@
-1001,8
+1001,8
@@
struct fontlist_t
fontlist_t*next;
} *fontlist = 0;
fontlist_t*next;
} *fontlist = 0;
-/* todo: why don't higher values (64, 1024) work here? */
-#define FONT_INTERNAL_SIZE 1
+/* TODO: why don't higher values (64, 1024) work here? */
+#define FONT_INTERNAL_SIZE 16
/* process a character. */
static int drawchar(struct swfoutput*obj, SWFFONT *swffont, char*character, int charnr, int u, swfmatrix*m)
/* process a character. */
static int drawchar(struct swfoutput*obj, SWFFONT *swffont, char*character, int charnr, int u, swfmatrix*m)
@@
-1400,7
+1400,6
@@
static void startshape(struct swfoutput*obj)
shapeid = ++currentswfid;
swf_SetU16(tag,shapeid); // ID
shapeid = ++currentswfid;
swf_SetU16(tag,shapeid); // ID
- /* TODO: patch back */
bboxrectpos = tag->len;
r.xmin = 0;
r.ymin = 0;
bboxrectpos = tag->len;
r.xmin = 0;
r.ymin = 0;