# Unsupported OpenType signature \<!DO

**URL:** <https://discourse.processing.org/t/unsupported-opentype-signature-do/7459>\
**Category:** Libraries\
**Created:** [January 13, 2019, 12:21am UTC](https://discourse.processing.org/t/unsupported-opentype-signature-do/7459 "2019-01-13T00:21:33Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Pyrros](https://avatars.discourse-cdn.com/v4/letter/p/49beb7/32.png) [@Pyrros](https://discourse.processing.org/u/Pyrros)\
**Post date:** [January 13, 2019, 12:21am UTC](https://discourse.processing.org/t/unsupported-opentype-signature-do/7459/1 "2019-01-13T00:21:33Z")

</div>

I am working on [klimablomst.tk](https://klimablomst.tk/) and using Firebase as hosting, database and storage provider. I have successfully implemented the first two, but I am having some trouble with storage. I am unsure if the problem is server-side or local, though. When I try to load a font in my `preload` via `myFont = loadFont(storage.ref('GreatVibes-Regular.otf').getDownloadURL());`, the console spits out this:

```auto
Error: "Unsupported OpenType signature <!DO"
	he https://cdnjs.cloudflare.com/ajax/libs/p5.js/0.7.2/p5.min.js:4:23270
	ie https://cdnjs.cloudflare.com/ajax/libs/p5.js/0.7.2/p5.min.js:4:25741
	onload https://cdnjs.cloudflare.com/ajax/libs/p5.js/0.7.2/p5.min.js:4:22046
 {…}​
a: 2
​b: null​
c: null
f: null​
g: false​
h: false​
i: "https://firebasestorage.googleapis.com/v0/b/test-454bb.appspot.com/o/GreatVibes-Regular.otf?alt=media&token=19e7a830-2296-4eb3-a0bf-ae1f00f00009"
​<prototype>: Object { then: then(), "$goog_Thenable": true, ia: (), … } 
p5.min.js:11:10877

```

Which tells me that Firebase is working just fine, by giving a working URL to the download of the OTF. The error message `"Unsupported OpenType signature <!DO"` hints at a problem with either the file or Processing. I just don’t get which one. The `<!DO` comes from my index.html, I don’t know why it thinks that it’s a signature.

---

<div class="post-metadata">

**Author:** ![Pyrros](https://avatars.discourse-cdn.com/v4/letter/p/49beb7/32.png) [@Pyrros](https://discourse.processing.org/u/Pyrros)\
**Post date:** [January 13, 2019, 1:07am UTC](https://discourse.processing.org/t/unsupported-opentype-signature-do/7459/2 "2019-01-13T01:07:27Z")

</div>

The syntax was propably wrong. I am trying this instead:

```auto
myFont = storage.ref('GreatVibes-Regular.otf').getDownloadURL().then(loadFont);

```

---

<div class="post-metadata">

**Author:** ![jeremydouglass](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/jeremydouglass/32/20_2.png) [@jeremydouglass](https://discourse.processing.org/u/jeremydouglass)\
**Post date:** [January 28, 2019, 7:48pm UTC](https://discourse.processing.org/t/unsupported-opentype-signature-do/7459/3 "2019-01-28T19:48:36Z")

</div>

@Pyrros – did this solution end up working for you?

---

<div class="post-metadata">

**Author:** ![Pyrros](https://avatars.discourse-cdn.com/v4/letter/p/49beb7/32.png) [@Pyrros](https://discourse.processing.org/u/Pyrros)\
**Post date:** [January 28, 2019, 8:10pm UTC](https://discourse.processing.org/t/unsupported-opentype-signature-do/7459/4 "2019-01-28T20:10:42Z")

</div>

No, unfortunately, I just settled with using the respective hyperlinks from my Google Console, which is less than optimal — nonetheless a solution. 🙂
