Skip to content

Commit 109a7a3

Browse files
authored
Merge pull request #261 from BJNFNE/tw99
add FFN format
2 parents 452ad24 + 3816e6e commit 109a7a3

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

db/Binary/font.FFN.sg

+14
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
// Detect It Easy: detection rule file
2+
// Author: BJNFNE <[email protected]>
3+
// This Script supports following formats: FFN
4+
5+
init("font", "FFN");
6+
7+
function detect() {
8+
if (Binary.compare("'FNTF'")) { // Use contains instead of compare
9+
sVersion = "Font"; // Set version if detected
10+
bDetected = true; // Mark as detected
11+
}
12+
13+
return result(); // Return the result of the detection
14+
}

0 commit comments

Comments
 (0)