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:
c486520
)
added function swf_isFontTag().
author
kramm
<kramm>
Sat, 25 Jun 2005 13:42:43 +0000
(13:42 +0000)
committer
kramm
<kramm>
Sat, 25 Jun 2005 13:42:43 +0000
(13:42 +0000)
lib/modules/swftools.c
patch
|
blob
|
history
lib/rfxswf.h
patch
|
blob
|
history
diff --git
a/lib/modules/swftools.c
b/lib/modules/swftools.c
index
163d855
..
58962e1
100644
(file)
--- a/
lib/modules/swftools.c
+++ b/
lib/modules/swftools.c
@@
-920,6
+920,15
@@
U8 swf_isTextTag(TAG*tag)
return 0;
}
+U8 swf_isFontTag(TAG*tag)
+{
+ if(tag->id == ST_DEFINEFONT ||
+ tag->id == ST_DEFINEFONT2 ||
+ tag->id == ST_DEFINEFONTINFO)
+ return 1;
+ return 0;
+}
+
U8 swf_isImageTag(TAG*tag)
{
if(tag->id == ST_DEFINEBITSJPEG ||
diff --git
a/lib/rfxswf.h
b/lib/rfxswf.h
index
31050dd
..
21a6068
100644
(file)
--- a/
lib/rfxswf.h
+++ b/
lib/rfxswf.h
@@
-754,6
+754,8
@@
U8 swf_isPseudoDefiningTag(TAG * t);
U8 swf_isAllowedSpriteTag(TAG * t);
U8 swf_isImageTag(TAG*tag);
U8 swf_isShapeTag(TAG*tag);
+U8 swf_isTextTag(TAG*tag);
+U8 swf_isFontTag(TAG*tag);
U8 swf_isPlaceTag(TAG*tag);
U16 swf_GetDefineID(TAG * t);