Witaj Gościu! ( Zaloguj | Rejestruj )

Forum PHP.pl

 
Closed TopicStart new topic
> Generowanie czcionek do UTF, ufpdf
DannyM
post 25.04.2007, 14:00:22
Post #1





Grupa: Zarejestrowani
Postów: 507
Pomógł: 2
Dołączył: 30.10.2003
Skąd: Poznań

Ostrzeżenie: (10%)
X----


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?

Ten post edytował DannyM 25.04.2007, 14:05:04
Go to the top of the page
+Quote Post
Cienki1980
post 25.04.2007, 17:47:19
Post #2





Grupa: Przyjaciele php.pl
Postów: 1 590
Pomógł: 40
Dołączył: 11.01.2007
Skąd: Centrum

Ostrzeżenie: (0%)
-----


Zamykam

Proszę zapoznać się z Tematyką i zasadami panującymi na forum Przedszkole i wysłać mi lub innemu moderatorowi/opiekunowi poprawny tag do tematu.

Do tego czasu wątek pozostanie zamknięty.


--------------------
404
Go to the top of the page
+Quote Post

Closed TopicStart new topic
1 Użytkowników czyta ten temat (1 Gości i 0 Anonimowych użytkowników)
0 Zarejestrowanych:

 



RSS Wersja Lo-Fi Aktualny czas: 13.06.2025 - 06:36