jumblerg / ui

a cohesive layer of composable abstractions over the dom

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Font not found

vigilancetech-com opened this issue · comments

This error:

core.cljs:187 GET http://localhost:7000/[%22MagistralC%20Bold%22] net::ERR_ABORTED

`
comes from this code:

`(def magistralc-bold (font :system ["MagistralC Bold"] :opentype "magistralc-bold.otf"))

(def font-2 {:t 18 :tf magistralc-bold :tc white})
`
but that font is in my resource folder (where everything else is found).

Could it be that UI is searching for it in the filesystem by the :system value instead of the :opentype value?