use Cufon font in fpdf

136 Views Asked by At

I'm using FPDF to create pdf. I need to insert image with Cufon font. I'm having cufon font in .js format. I read out , and i applied like,

<?php
require('makefont/makefont.php');

MakeFont('c:\\Windows\\Fonts\\comic.ttf','cp1252');
?>

No use. I need help.

font.js is like,

Cufon.registerFont({"w":168,"face":{"font-family":"BankScript","font-weight":400,"font-stretch":"normal","units-per-em":"360","panose-1":"2 0 5 6 0 0 0 2 0 4"
0

There are 0 best solutions below