baker icon indicating copy to clipboard operation
baker copied to clipboard

Font Replacement

Open transmitter opened this issue 15 years ago • 6 comments

Hello My first post so I apologize for missing any etiquette. Doing a quick search of issues I see no one has posted regarding font replacement. I'm putting a book together which would ideally use Cufon font replacement for headlines and body copy. The issue is Cufon uses a domain confirmation as a way of protecting fonts from abuse. When creating a font file for use with Cufon one must upload the otf or ttf file to the system and define domains that are approved to use it. How would this domain auth work once the hpub is uploaded to the app store? Should I use another replacement technique?

transmitter avatar Jan 06 '11 16:01 transmitter

Before diving into it, there's some reason why you can't use the standard CSS3 font-face directive? http://www.css3.info/preview/web-fonts-with-font-face/

folletto avatar Jan 06 '11 16:01 folletto

Ahh thanks for that. I was thinking old-needs. I use cufon for its X-browser compatibility which is not a requirement for this. Thanks!

transmitter avatar Jan 06 '11 16:01 transmitter

No worries! Have fun! ;)

folletto avatar Jan 06 '11 16:01 folletto

Now - sadly - Using both embedded and inline declarations for my @font-face rules and trying multiple url references for the .otf files, The xcode simulator doesn't show the replaced fonts. browser testing shows that they are displaying as intended. If you have any ideas that would be hugely helpful.

transmitter avatar Jan 08 '11 19:01 transmitter

...and what happens on the device? :)

However without the code you're using it's hard to guess what your problem could be. :)

folletto avatar Jan 08 '11 23:01 folletto

folletto: sorry for disappearing and thank you for your help. I had a syntax error preventing font replacement from activating properly. I need to look a little closer before posting. - cheers.

transmitter avatar Mar 08 '11 18:03 transmitter