Это работает на моей веб-странице, и я думаю, что это легко:
<?php
$font =
array(
"Arial",
"monospace",
"Comic Sans MS",
"Times",
"Lucida Sans",
"Verdana",
"Helvetica"
);//insert ^there another Fonts
?>
<style>
*{
font-family: <?php echo($font[rand(1,7)]); ?>;
}
</style>