Jump to content

Change Font


voodoochicken

Recommended Posts

hi, i want to let the user choose a font type/size etc to display an output page, from other page. i can wire it to the script, as in have some pre-chosen fonts and let him/her choose from the list, but i would like to have something like the system font dialog, where some box opens and displays the fonts installed in the user system, is it possible from php? if so, how?tnx

Link to comment
Share on other sites

It is not possible to access a list of system fonts. A browser cannot get that information to begin with, so of course it cannot send the information to the server. With very few exceptions, system info is simply off-limits. I know a font list doesn't seem very significant, but the attitude toward security/privacy seems to be "better safe than sorry."Then again, I can actually imagine someone systematically data-mining font-lists in order to guess at personality types, occupations, etc., as a first step toward targeting spam. It's no more crazy than other data-mining strategies.

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...