Cannot upload multiple font types in theme uploads

(David Kingham) #1

I’m trying to upload different font types (woff, woff2, ttf) for support in different browsers, but when I upload say opensans-regular-webfont.woff2, then upload opensans-regular-webfont.woff it replaces the woff2 version with the woff version. Is there anyway around this?

(Sam Saffron) #2

Sounds like a bug to me, but are there actually cases where you need wofff anyway? I think you can get away with just woff2 and eot for IE.

That said a very simple workaround would be renaming the file.

opensans-regular-webfont.woff2 , opensans-regular-webfont1.woff should work fine.

(David Kingham) #3

Thanks Sam, I’ll try renaming. It does seem to be a bug although not critical by any means

(Régis Hanol) #4

Actually, I don’t think it’s a bug and renaming won’t help. I think both files have the same SHA1 and thus are considered the same…

@davidkingham what’s the SHA1 of both files?

(David Kingham) #5

@Regis_Hanol no they are different


(Régis Hanol) #6

Oh, then it’s a probably a bug. Could you send me both file at

(Régis Hanol) #7

Turns out, we were overriding the theme upload since the variable name was the same (ie. based on the filename).

(Régis Hanol) #8

This topic was automatically closed after 23 hours. New replies are no longer allowed.