Replying to my own message from a month ago, for the benefit of future
Googlers:

I'm developing a web site using Typekit, which handles web fonts. I'd like
> to use the BBEdit web preview. Unfortunately, I can't get Typekit to work in
> the preview window. I've got BBEdit configured to preview the page via the
> local preview server, and I've added the server address to the kit's domains
> in the Typekit kit editor.
>

The problem is with the user-agent string: Typekit doesn't recognize the
BBEdit user-agent and thus won't serve fonts to it.

Bare Bones has added an expert preference that allows us to change the
user-agent string to one that Typekit likes (it includes 'Safari,' which is
one of the browsers Typekit looks for). This preference is present in BBEdit
version 9.6.1 (2857) and up, which is not yet released but presumably will
be released soon.

To change the user-agent string, enter the following in Terminal:

> defaults write com.barebones.bbedit HTMLPreview:UserAgentAppName "Safari"


I can report that Typekit fonts now display properly in the preview window.
Thanks to Rich and Bare Bones for this fix.

gr.

-- 
You received this message because you are subscribed to the 
"BBEdit Talk" discussion group on Google Groups.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
<http://groups.google.com/group/bbedit?hl=en>
If you have a feature request or would like to report a problem, 
please email "[email protected]" rather than posting to the group.
Follow @bbedit on Twitter: <http://www.twitter.com/bbedit>

Reply via email to