Sawtooth Software: The Survey Software of Choice

How to Embed a Font in a Survey

I have a client that absolutely, positively wants certain parts of their survey to be in a cursive/handwritten font. I was going to use a graphic made with the cursive font, but it isn't scalable and really doesn't look very good. Rather than the standard old fonts, like Helvetica, Times, serif, etc., can I use a different font?

Yes, you may use non-standard fonts in your surveys. As you probably know, the display of your survey may vary depending on which font the user has installed on their computers, which is why we tend to use standard, non-descript fonts. But, the world is constantly changing and, provided your surveys will be conducted via the Internet, you can now take advantage of a new technology called "web fonts." Google is one of the providers of this service, which you can learn more about here:

Basically, all you have to do is use their API to choose from more than 500 fonts and insert a little code into your survey. For example, I went to the link above and selected a web font called Butterfly Kids. I'll add the following line of code into the Survey Settings>Headers and Footers>HTML Head section so it will be available throughout my survey.

<link href='' rel='stylesheet' type='text/css'>

Next, we just need to add that font to our CSS styles definition. In this case, I want to use it on any text that I've wrapped in a <p> tag. Also, in the Survey Settings>Headers and Footers>HTML Head section, I'll add the following CSS style modification:

<style type="text/css">
 p {font-family: 'Butterfly Kids', cursive;}

Now anything that is encased in a <p> tag will appear in the Butterfly Kids font. If I want that font to be used throughout the survey, then I would just change the "p" to "body", for example:

<style type="text/css">
 body {font-family: 'Butterfly Kids', cursive;}

I could also add a text-shadow element to the web font to give it a drop shadow. Unfortunately, some browsers may not render this the way you expect, so please test it out before using.

<style type="text/css">
 body {font-family: 'Butterfly Kids', cursive; text-shadow: 4px 4px 4px #aaa;}

With all of that said, please allow me to climb up on my soapbox for a sec and offer a piece of advice. I've spent a quarter century in the print and web design business, and one thing you need to be very cautious with is the use of fonts. Just because you can have lots of fonts, doesn't mean you should. One or two is plenty. Also, make sure they are easy to read. Many cursive and display fonts are so stylized that they become difficult to read and may screen-out potential respondents. So please be conservative and judicious with your font usage.

Sawtooth Software

6:30 AM to 5:30 PM Mountain Time
(GMT-6; GMT-7 Autumn/Winter)
Monday through Friday

Phone: +1 801 477 4700
Fax: +1 801 434 5493

SKIM Software

9:00 AM to 5:30 PM Central European
(GMT+2; GMT+1 Autumn/Winter)
Monday through Friday

Phone: +31 10 282 3500
Fax: +31 10 282 3560

We're open!

Lighthouse Studio

Lighthouse Studio is our flagship software for producing and analyzing online and offline surveys. It contains modules for general interviewing, choice-based conjoint, adaptive choice-based conjoint, adaptive choice analysis, choice-value analysis, and maxdiff exercises.

Try Lighthouse Studio

  Buy Lighthouse Studio