testing the availability of a font

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Martin RAYROLE

    #1

    testing the availability of a font

    Hi folks,

    Does somebody know how to test the availability of a font on the browser
    platform ?

    Thanks for your help
    Martin




  • Lasse Reichstein Nielsen

    #2
    Re: testing the availability of a font

    Martin RAYROLE <martin.rayrole @alcatel.fr> writes:
    [color=blue]
    > Does somebody know how to test the availability of a font on the browser
    > platform ?[/color]

    No. Can't be done in a normal browser.

    You should provide fallbacks instead, using the CSS font-family
    property:
    font-family: Helvetica, Arial, sans-serif;

    /L
    --
    Lasse Reichstein Nielsen - lrn@hotpop.com
    DHTML Death Colors: <URL:http://www.infimum.dk/HTML/rasterTriangleD OM.html>
    'Faith without judgement merely degrades the spirit divine.'

    Comment

    • Martin RAYROLE

      #3
      Re: testing the availability of a font

      Thanks a lot Lasse,

      It's too bad that it is not possible, but your fallback is usefull indeed.

      Best wishes
      Martin

      --------------
      Lasse Reichstein Nielsen a écrit :
      [color=blue]
      > Martin RAYROLE <martin.rayrole @alcatel.fr> writes:
      >[color=green]
      > > Does somebody know how to test the availability of a font on the browser
      > > platform ?[/color]
      >
      > No. Can't be done in a normal browser.
      >
      > You should provide fallbacks instead, using the CSS font-family
      > property:
      > font-family: Helvetica, Arial, sans-serif;
      >
      > /L
      > --
      > Lasse Reichstein Nielsen - lrn@hotpop.com
      > DHTML Death Colors: <URL:http://www.infimum.dk/HTML/rasterTriangleD OM.html>
      > 'Faith without judgement merely degrades the spirit divine.'[/color]

      Comment

      Working...