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:
edaf4fc
)
fonts are exported now, too
author
kramm
<kramm>
Fri, 25 Mar 2005 10:58:17 +0000
(10:58 +0000)
committer
kramm
<kramm>
Fri, 25 Mar 2005 10:58:17 +0000
(10:58 +0000)
src/swfc.c
patch
|
blob
|
history
diff --git
a/src/swfc.c
b/src/swfc.c
index
092a49d
..
d2105e0
100644
(file)
--- a/
src/swfc.c
+++ b/
src/swfc.c
@@
-1156,6
+1156,10
@@
void s_font(char*name, char*filename)
font->id = id;
tag = swf_InsertTag(tag, ST_DEFINEFONT2);
swf_FontSetDefine2(tag, font);
+ tag = swf_InsertTag(tag, ST_EXPORTASSETS);
+ swf_SetU16(tag, 1);
+ swf_SetU16(tag, id);
+ swf_SetString(tag, name);
incrementid();
if(dictionary_lookup(&fonts, name))