Staram sie wygenerowac czcionke arial do utf tak aby mozna bylo ja dodac do fpdf.
Wazne aby posiadala kodowanie utf8
Robie tak:
1. wgrywam czcionke do katalogu
2. ttf2ufm.exe -a -F ariali.ttf
wynikiem sa bledy:
uto-detected front-end parser 'ttf'
(use ttf2pt1 -p? to get the full list of available front-ends)
Processing file ariali.ttf
Some font name strings are in Unicode, may not show properly
Creating file ariali.t1a
numglyphs = 956
Found Unicode Encoding
** Glyph shade is too long, may display incorrectly
** Glyph dkshade is too long, may display incorrectly
Guessed italic angle: 0.000000
Warning: glyph dkshade needs hint stack depth 747
(limit 128): removed the substituted hints from it
Warning: glyph uniFFFC needs hint stack depth 311
(limit 128): removed the substituted hints from it
FontName Arial-ItalicMT
Finished - font files created
Owszem wygenerowal odpowiednie pliki
3. php.exe -q makefontuni.php ariali.ttf ariali.ufm
Wynik blad:
PHP Notice: Undefined index: argv in makefontuni.php on lin
e 303
<br />
<b>Notice</b>: Undefined index: argv in <b>makefontuni.php<
/b> on line <b>303</b><br />
Usage: makefontuni.php <ttf-file> <ufm-file>
Czy cos robie zle ?
A moze ktos posiada takie czcionki z tym kodowaniem i by sie podzielil?