# Error uploading SVG Font File

**URL:** https://meta.discourse.org/t/error-uploading-svg-font-file/47027
**Category:** Feature
**Created:** [July 9, 2016, 9:24am UTC](https://meta.discourse.org/t/error-uploading-svg-font-file/47027 "2016-07-09T09:24:38Z")
**Posts on this page:** 7
**Page:** 1

<div class="post-metadata">

### Author: ![youngbobby](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/youngbobby/32/121667_2.png) [@youngbobby](https://meta.discourse.org/u/youngbobby)
#### Post date: [July 9, 2016, 9:24am UTC](https://meta.discourse.org/t/error-uploading-svg-font-file/47027/1 "2016-07-09T09:24:38Z")

</div>

I am trying to upload an SVG font file on my Discourse powered community but I keep getting this error:

> Sorry, but we couldn’t determine the size of the image. Maybe your image is corrupted?

I feel the svg font file is being read as an image. Possibly a bug ?

---

<div class="post-metadata">

### Author: ![codinghorror](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/codinghorror/32/110067_2.png) [@codinghorror](https://meta.discourse.org/u/codinghorror)
#### Post date: [July 9, 2016, 4:37pm UTC](https://meta.discourse.org/t/error-uploading-svg-font-file/47027/2 "2016-07-09T16:37:59Z")

</div>

In what context is svg font used? Why not use another standard expected font format like woff2?

---

<div class="post-metadata">

### Author: ![youngbobby](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/youngbobby/32/121667_2.png) [@youngbobby](https://meta.discourse.org/u/youngbobby)
#### Post date: [July 9, 2016, 6:49pm UTC](https://meta.discourse.org/t/error-uploading-svg-font-file/47027/3 "2016-07-09T18:49:05Z")

</div>

I had issues where chrome for Android was not working with woff2 and ttf fonts but with .svg fonts, it worked perfectly. I’ve fixed [this issue](https://community.devs.ng) by uploading directly to Amazon s3 but you might want to look into svg fonts for future purposes.

---

<div class="post-metadata">

### Author: ![codinghorror](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/codinghorror/32/110067_2.png) [@codinghorror](https://meta.discourse.org/u/codinghorror)
#### Post date: [July 9, 2016, 8:45pm UTC](https://meta.discourse.org/t/error-uploading-svg-font-file/47027/4 "2016-07-09T20:45:16Z")

</div>

Discourse only sends down the woff2 version of Font Awesome which is fairly aggressive, also required for the site to look normal with glyphs, and we have had zero complaints.

---

<div class="post-metadata">

### Author: ![Mittineague](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/mittineague/32/114259_2.png) [@Mittineague](https://meta.discourse.org/u/Mittineague)
#### Post date: [July 10, 2016, 2:43am UTC](https://meta.discourse.org/t/error-uploading-svg-font-file/47027/5 "2016-07-10T02:43:39Z")

</div>

> [@codinghorror](#):
>
> Discourse only sends down the woff2 version of Font Awesome which is fairly aggressive, also required for the site to look normal with glyphs, and we have had zero complaints.

No Opera-mini users? 😉

I must say, If caniuse is correct, [WOFF - Web Open Font Format](http://caniuse.com#feat=woff) has broad browser support.

But unfortunately [SVG fonts](http://caniuse.com#feat=svg-fonts) looks to be supported by Safari _only_

Seeing as Safari supports WOFF is there any real motivation to use SVG font anyway?

---

<div class="post-metadata">

### Author: ![elijah](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/elijah/32/104055_2.png) [@elijah](https://meta.discourse.org/u/elijah)
#### Post date: [July 11, 2016, 5:23pm UTC](https://meta.discourse.org/t/error-uploading-svg-font-file/47027/6 "2016-07-11T17:23:47Z")

</div>

> [@Mittineague](#):
>
> No Opera-mini users?

I think I have that on my phone. Given that it proxies everything (or just https?) through Opera servers, I trust it somewhat less than I can throw my phone.

---

<div class="post-metadata">

### Author: ![eextra](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/eextra/32/170266_2.png) [@eextra](https://meta.discourse.org/u/eextra)
#### Post date: [May 13, 2019, 6:47am UTC](https://meta.discourse.org/t/error-uploading-svg-font-file/47027/7 "2019-05-13T06:47:45Z")

</div>

Is it normal that on a clean forum without any extras after installing the fonts, the speed of loading the site will increases by almost 2 seconds? This is unacceptable..
