cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - Need to share some code when posting a question or reply? Make sure to use the "Insert code sample" menu option. Learn more! X

Custom Fonts not working on iOS

jmikesell
15-Moonstone

Custom Fonts not working on iOS

I followed @AllanThompson great instructions for adding and using custom fonts found here. And it works in Preview and Android but not on iOS. Has anyone had luck with custom fonts on iOS?

1 REPLY 1

Hi @jmikesell .  I'm not sure why it's not working for you.  I am pulling the font down from a website, rather than using it as a local resource.

 

Here's what I've got in the CSS definition:

 

@font-face { font-family: 'Archer Book'; src: url('https://cdn.shopify.com/s/files/1/1896/3943/files/Archer-Book-Pro.woff') format('woff'); font-weight: normal; font-style: normal;}

 

.custom-title {
font-size: 25px;
font-family:'Archer Book';
}

 

I just created a little test project that had 2D and 3D labels that used this style and they both appear OK on my iPhone and iPad.  Both devices are running iOS 12.2 and View 8.4.3.

Top Tags