Font embedding

Use this board to ask questions or have discussions with other Rich Displays users.
Post Reply
kfritz
Profound User
Posts: 64
Joined: Thu Aug 04, 2011 4:53 am
First Name: Karl
Last Name: Fritz
Company Name: Logic IT Services
Address 1: Fluhgasse 141
City: Laufenburg
Zip / Postal Code: 5080
Country: Switzerland
Location: Switzerland
Contact:

Font embedding

Post by kfritz »

First of all, congrats to the new design of the forum!

I found nothing in the docs about embedding an own font. How do I embed the font - only copy the .ttf to the font folder or should I convert the .ttf to .woff files? And how do I this for mobile devices (Phonegap/Mobile Client)?

Thanks,
Karl
Scott Klement
Experienced User
Posts: 2711
Joined: Wed Aug 01, 2012 8:58 am
First Name: Scott
Last Name: Klement
Company Name: Profound Logic
City: Milwaukee
State / Province: Wisconsin

Re: Font embedding

Post by Scott Klement »

Karl,

I think you'd need to do this through CSS. Put your font file on your HTTP server, and create a new CSS class that downloads the desired font into the browser. When working in PUI, instead of referring to the font in the widget properties, use the CSS class to select the font.

Details on how to code CSS so that it downloads a font can be found here:
http://www.w3schools.com/css/css3_fonts.asp

Does that help?
kfritz
Profound User
Posts: 64
Joined: Thu Aug 04, 2011 4:53 am
First Name: Karl
Last Name: Fritz
Company Name: Logic IT Services
Address 1: Fluhgasse 141
City: Laufenburg
Zip / Postal Code: 5080
Country: Switzerland
Location: Switzerland
Contact:

Re: Font embedding

Post by kfritz »

Thanks Scott,

I'll give it a try.
Post Reply

Who is online

Users browsing this forum: No registered users and 6 guests