Skip to content

Commit 00e5b32

Browse files
antoniopangallodougwilson
authored andcommitted
Mark font/ttf as compressible
closes jshttp#169
1 parent 5735d04 commit 00e5b32

File tree

3 files changed

+9
-0
lines changed

3 files changed

+9
-0
lines changed

HISTORY.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ unreleased
33

44
* Add new upstream MIME types
55
* Add `application/toml` with extension `.toml`
6+
* Mark `font/ttf` as compressible
67

78
1.40.0 / 2019-04-20
89
===================

db.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6518,6 +6518,7 @@
65186518
},
65196519
"font/ttf": {
65206520
"source": "iana",
6521+
"compressible": true,
65216522
"extensions": ["ttf"]
65226523
},
65236524
"font/woff": {

src/custom-types.json

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -526,6 +526,13 @@
526526
"http://www.phpied.com/gzip-your-font-face-files/"
527527
]
528528
},
529+
"font/ttf": {
530+
"compressible": true,
531+
"sources": [
532+
"https://www.iana.org/assignments/media-types/font/ttf",
533+
"http://www.phpied.com/gzip-your-font-face-files/"
534+
]
535+
},
529536
"image/apng": {
530537
"compressible": false,
531538
"extensions": ["apng"],

0 commit comments

Comments
 (0)