blob: 612a804f95bb7b08759ab5c6a1e17a3eda07a5c0 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
require "hbc/container/naked"
module Hbc
class Container
class Ttf < Naked
def self.me?(criteria)
# TrueType Font
criteria.magic_number(/^\000\001\000\000\000/n) ||
# Truetype Font Collection
criteria.magic_number(/^ttcf/n)
end
end
end
end
|