font LOCAL CONVERTION

font LOCAL CONVERTION

by Angelica Lagorara -
Number of replies: 1

Hello everyone!

I've tried the font local convertion but it seems not worked.


1) i've copied the file Oswald-Light.ttf in myhostname/moodle30/lib/tcpdf/fonts


2) In that folder i've created the convertfont.php 

<?php include('../tcpdf.php'); $pdf = new TCPDF_FONTS('P', 'mm', 'A4', true, 'UTF-8', false); $pdf->addTTFfont('./Oswald-Light.ttf', 'TrueTypeUnicode');


3) then i've run https://myhostname/moodle30/lib/tcpdf/fonts/convertfont.php 


but any new file appered in my  lib/tcpdf/fonts/  triste 

i've did something wrong?
Thanks for your help!

Average of ratings: -
In reply to Angelica Lagorara

Ri: font LOCAL CONVERTION

by Angelica Lagorara -
I solved the problem!

i've run https://myhostname/moodle30/lib/tcpdf/fonts/convertfont.php with the browser FIREFOX (with google chrome seem not working)