Hi all,
So, trying to use a custom font in a banner advert. Font displays fine within the hype main window (working). But when previewing in Chrome or Safari I just get a white screen. If I delete the custom fonts my scene shows correctly.
I’m not sure where I went wrong, here is my custom font code:
> <style>
> @font-face {
> font-family: 'academy_sansregular';
> src: url('academy_sans-demibold_playtype-webfont.woff2') format('woff2'),
> url('academy_sans-demibold_playtype-webfont.woff') format('woff');
> font-weight: normal;
> font-style: normal;
> }
> @font-face {
> font-family: 'academy_sansregular';
> src: url('academy_sans-light_playtype-webfont.woff2') format('woff2'),
> url('academy_sans-light_playtype-webfont.woff') format('woff');
> font-weight: normal;
> font-style: normal;
> }
> /<style>
I’m guessing it might be around the font path?
Any help gratefully received as always
James