On Wed, Jan 4, 2012 at 9:10 PM, Elli Vizcaino <elli...@yahoo.com> wrote:
> I also think you're convinced it's an absolute path issue but it's not. You 
> get an error message because I'm a WP and it's PHP driven and directories 
> just work a little differently - people just cant get direct access to a 
> directory on WP, just because it exist - it just doesn't work that way. And 
> as already stated several times FF doesn't render the font even w the 
> absolute path.

Really you had two issues going on.  First was your pathing issue
which prevented the rest of us from seeing the problem (unless we had
the font installed) and you did get that corrected for creampuff and I
was able to verify that the font is now downloading properly with no
errors.  The second issue as was pointed out is that the font file
itself was corrupt.  BTW, if you still wanted to use the creampuff
font I was able to download a good, non-corrupted, version (in all the
supported formats) from here http://www.fonts2u.com/creampuff.font and
it includes the @font-face download with a stylesheet containing the
necessary @font-face code.  I did download your code and was able to
get it working locally in all browsers.  Here's the @font-face I used
with the font files downloaded from the link above:

@font-face {
        font-family:"Creampuff";
        src:url("../fonts/CREAMPUF.eot?")
format("eot"),url("../fonts/CREAMPUF.woff")
format("woff"),url("../fonts/CREAMPUF.ttf")
format("truetype"),url("../fonts/CREAMPUF.svg#Creampuff")
format("svg");
        font-weight:normal;
        font-style:normal;
}

Also the error message I received was not because of WP, it was the
standard 404 error you get for any resource that the browser tries to
download that doesn't exist in that location on the server.  In this
case you're path was pointing to
http://www.e7flux.com/e7flux2012/css/fonts/creampuff.ttf which clearly
the font file did not reside at that location, and as I've said you've
fixed that piece.  It's always a good idea to open up the developer
tools in either chrome/safari/ie/firefox and make sure the resources
your html is requesting don't throw 404 errors due to improper paths.

I went ahead and took some screenshots of the SOF project you
referenced as "working" so you could see what I'm seeing with that
project.  Again I downloaded a good copy of "Little Days" font from
the same site I got creampuff from and I downloaded your code locally
so you can see the difference between "Little Days" not working and it
working.  Here is what I see in Chrome 16 for your SOF site:

Top half of page:
http://www.flickr.com/photos/meenfrmr/6641808481/in/photostream/

Bottom half of page:
http://www.flickr.com/photos/meenfrmr/6641808435/in/photostream/

Here's what your site looks like on my local desktop (local code) with
"Little Days" working:

Top half of page:
http://www.flickr.com/photos/meenfrmr/6641808569/in/photostream/

Bottom half of window:
http://www.flickr.com/photos/meenfrmr/6641808525/in/photostream/

-- 
------------------------------------------------------------------------------------
Jason Arnold
http://www.jasonarnold.net
------------------------------------------------------------------------------------
______________________________________________________________________
css-discuss [css-d@lists.css-discuss.org]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
List policies -- http://css-discuss.org/policies.html
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/

Reply via email to