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:
9fae7a5
)
added swf_WriteFont and swf_ReadFont routines
author
kramm
<kramm>
Sun, 4 Nov 2001 16:55:49 +0000
(16:55 +0000)
committer
kramm
<kramm>
Sun, 4 Nov 2001 16:55:49 +0000
(16:55 +0000)
lib/rfxswf.h
patch
|
blob
|
history
diff --git
a/lib/rfxswf.h
b/lib/rfxswf.h
index
43d4b87
..
db5a79e
100644
(file)
--- a/
lib/rfxswf.h
+++ b/
lib/rfxswf.h
@@
-16,6
+16,8
@@
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
+#include <unistd.h>
+#include <fcntl.h>
#include "../config.h"
#define DEBUG_RFXSWF
#include "../config.h"
#define DEBUG_RFXSWF
@@
-356,6
+358,9
@@
int swf_FontSetInfo(TAG * t,SWFFONT * f);
int swf_FontExport(int handle,SWFFONT * f);
int swf_FontImport(int handle,SWFFONT * * f);
int swf_FontExport(int handle,SWFFONT * f);
int swf_FontImport(int handle,SWFFONT * * f);
+void swf_WriteFont(SWFFONT* font, char* filename, int useDefineFont2);
+SWFFONT* swf_ReadFont(char* filename);
+
void swf_FontFree(SWFFONT * f);
U32 swf_TextGetWidth(SWFFONT * font,U8 * s,int scale);
void swf_FontFree(SWFFONT * f);
U32 swf_TextGetWidth(SWFFONT * font,U8 * s,int scale);