Skip to content

Commit 1d1ac8e

Browse files
committed
allow .woff fonts to be embedded.
1 parent 3b7291d commit 1d1ac8e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/jammit/compressor.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ class Compressor
2222

2323
# Font extensions for which we allow embedding:
2424
EMBED_EXTS = EMBED_MIME_TYPES.keys
25-
EMBED_FONTS = ['.ttf', '.otf']
25+
EMBED_FONTS = ['.ttf', '.otf', '.woff']
2626

2727
# (32k - padding) maximum length for data-uri assets (an IE8 limitation).
2828
MAX_IMAGE_SIZE = 32700

0 commit comments

Comments
 (0)