Jump to content

Fonts

- - - - -

This topic has been archived. This means that you cannot reply to this topic.
3 replies to this topic

#1
Ronin

Ronin

    Programming Professional

  • Members
  • PipPipPipPipPip
  • 309 posts
Is there a way to install a font on the client computer when the page loads?

#2
John

John

    Writes binary right handed and hex left handed

  • Moderators
  • 6,321 posts
I dont believe it is possable to install a font on the client computer without the user knowing. You could prompt them to download a font, but impossable to install the font.

However PHP does have the ability to use GD (no idea what that stands for) but it enables PHP to render images using the specific fonts you want.

#3
Jimbo

Jimbo

    Programmer

  • Members
  • PipPipPipPip
  • 121 posts
I suspect this would be a massive security risk so probably not possible at all, be limiting your potential viewers as well if it depends on a specific font, I know I wouldnt download a font just to view a page properly.

A workaround could be to use flash to display text, you can embed any font you want in the .swf so it renders correctly on the users browser

#4
Lop

Lop

    Speaks fluent binary

  • Members
  • PipPipPipPipPipPipPipPip
  • 1,172 posts
PHP is server side, not client side, which would make this task impossible.