@font-face - Adding custom fonts problem


#1

Hi there,

Forgive me if this has been solved elsewhere, but I am having trouble loading custom fonts to my Hype file. Firstly, I used a webfont generator to gather the files necessary, added the fonts to the resource folder, copy and pasted the @font face code into the add fonts section (adding in the $resourceFolderName ) and nothing happens. Can anyone point me in the right direction to solve this issue? I feel like I have looked everywhere but can’t find any info to solve this!

Thanks :slight_smile:


(Olof Pock) #2

Hard to say whats going on. Could you please send us the file so we can have look?


#3

This section of the Docs has instructions: http://tumult.com/hype/documentation/3.0/#adding-fonts

This post has a full walkthrough: How do I add SF UI Display + Text fonts to prototype for IOS9? (San Francisco Mac System Font)


(strmiska) #4

hi!
here´s an example - i always use fonts, converted by fontsquirrel.
in this example i use futuraTOT.
you need:
.eot, .svg, .ttf, .woff and the font.css - put all together into the resource library.

fonts.hype.zip (260,5 KB)