Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 10 of 10

Thread: web-safe fonts

  1. #1
    Senior Coder
    Join Date
    Jul 2003
    Location
    My pimped-out igloo in Canadia
    Posts
    1,966
    Thanks
    36
    Thanked 0 Times in 0 Posts

    web-safe fonts

    I've been asked to use 'myriad' as my base font for a web page and i'm wondering whether this is possible / advisable.

    any ideas?
    Before you criticize someone, you should walk a mile in their shoes. That way, when you criticize them, you're a mile away and you have their shoes :)

  • #2
    Senior Coder twodayslate's Avatar
    Join Date
    Mar 2007
    Location
    VA
    Posts
    1,042
    Thanks
    67
    Thanked 39 Times in 39 Posts
    If the font you want to use is not web safe I would recommend to embed it or make it an image.
    twitter | Quality Hosting - $5.95/mo*
    Feel free to PM me!

  • #3
    Senior Coder
    Join Date
    Jul 2003
    Location
    My pimped-out igloo in Canadia
    Posts
    1,966
    Thanks
    36
    Thanked 0 Times in 0 Posts
    perfect, now I know how to embed it... now all I have to do is download 'myriad' font. I can't seem to find a free version on google.

    Does anybody have it? If so can you attach it / send me a link?

    Cheers
    Before you criticize someone, you should walk a mile in their shoes. That way, when you criticize them, you're a mile away and you have their shoes :)

  • #4
    Senior Coder
    Join Date
    Jul 2003
    Location
    My pimped-out igloo in Canadia
    Posts
    1,966
    Thanks
    36
    Thanked 0 Times in 0 Posts
    actually i just found it

    Cheers

    p.s: are there any real downsides to embedding fonts?
    Before you criticize someone, you should walk a mile in their shoes. That way, when you criticize them, you're a mile away and you have their shoes :)

  • #5
    Supreme Master coder! _Aerospace_Eng_'s Avatar
    Join Date
    Dec 2004
    Location
    In a place far, far away...
    Posts
    19,291
    Thanks
    2
    Thanked 1,043 Times in 1,019 Posts
    I know IE supports WEFT but I'm not sure if Firefox supports the pfr as suggested. I advise that you test what the tutorial tells you to do. Cross browser compatibility is likely going to be an issue.
    ||||If you are getting paid to do a job, don't ask for help on it!||||

  • #6
    Senior Coder
    Join Date
    Jul 2003
    Location
    My pimped-out igloo in Canadia
    Posts
    1,966
    Thanks
    36
    Thanked 0 Times in 0 Posts
    Good point, I shall test them out. I'm weary of the tutorials because a bunch of the ones i've been through were written a while ago.

    Right now I'm just trying to convert the attached font into .eot and .pfr so i can use a code like this:

    Code:
    <style type="text/css">
    @font-face { font-family:Garamond; src:url(garamond.eot), url(garamond.pfr); }
    </style>
    (it was 10kb too large to attach so i uploaded it here: http://www.enviromark.ca/head/fonts/...ro_Regular.otf

    does the code above provide enough cross-browser compatibility or is there a chance that even with it provided in both formats it wont work?
    Before you criticize someone, you should walk a mile in their shoes. That way, when you criticize them, you're a mile away and you have their shoes :)

  • #7
    Senior Coder
    Join Date
    Jul 2003
    Location
    My pimped-out igloo in Canadia
    Posts
    1,966
    Thanks
    36
    Thanked 0 Times in 0 Posts
    WEFT is really giving me hell, lol... all I want to do is convert my otf font to both eot and pfr...

    what other programs can I use?
    Before you criticize someone, you should walk a mile in their shoes. That way, when you criticize them, you're a mile away and you have their shoes :)

  • #8
    Supreme Master coder! _Aerospace_Eng_'s Avatar
    Join Date
    Dec 2004
    Location
    In a place far, far away...
    Posts
    19,291
    Thanks
    2
    Thanked 1,043 Times in 1,019 Posts
    There is a chance even with both it won't work. Just try it. Does it work? If so then great! If not then find another solution. Look into sFIR.
    ||||If you are getting paid to do a job, don't ask for help on it!||||

  • #9
    Senior Coder Arbitrator's Avatar
    Join Date
    Mar 2006
    Location
    Splendora, Texas, United States of America
    Posts
    3,300
    Thanks
    28
    Thanked 275 Times in 269 Posts
    Quote Originally Posted by canadianjameson View Post
    does the code above provide enough cross-browser compatibility or is there a chance that even with it provided in both formats it wont work?
    According to Wikipedia [1], support for the *.pfr format and embedded fonts was discontinued in Netscape Navigator 6 and Mozilla (Firefox). Currently, the only major browser that supports embedded fonts is Internet Explorer.

    At the moment, the most reliable CSS‐only solution is to specify the font-family property with fall‐back names.

    [1] http://en.wikipedia.org/wiki/Portable_Font_Resource
    For every complex problem, there is an answer that is clear, simple, and wrong.

  • #10
    Senior Coder
    Join Date
    Jul 2003
    Location
    My pimped-out igloo in Canadia
    Posts
    1,966
    Thanks
    36
    Thanked 0 Times in 0 Posts
    Thank you both, I will try all the options and I'll let you know how it goes. I'm still toying with WEFT because the stupid thing doesnt just let you convert a font, it wants you to build / publish the entire site through it before it lets you embed / convert

    typical microsoft.
    Before you criticize someone, you should walk a mile in their shoes. That way, when you criticize them, you're a mile away and you have their shoes :)


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •