This is an archived forum post. The information may be outdated. Contact us if you have any questions.
require 'pdfcrowd.php'; $client = new Pdfcrowd("**", "**"); $fd = fopen("from_file.pdf", 'wb'); $client->convertFile('output.html', $fd); fclose($fd);
<html> <head> <link href='http://fonts.googleapis.com/css?family=Devonshire' rel='stylesheet' type='text/css'> </head> <body style="font-family: 'Devonshire', cursive;"> This text is rendered with Devonshire. </body> </html>