informatii fontname, fontfamily dintr-un ttf oarecare in linux , debian

apt-get install fonttools

cd /usr/share/fonts/truetype/ttf-dejavu
este un exemplu aici cum se face din python
http://starrhorne.com/posts/font_name_from_ttf_file/
ttf_name DejaVuSerif.ttf
DejaVu Serif
pt family la exemplu am adaugat in fisier
print shortName(tt)[1]

find /  -iname “*.ttf” -exec ttf_name {} \;
Bookman Uralic Bold
Bookman Uralic
…..

~ by miaurs on July 21, 2010.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Connecting to %s

 
Follow

Get every new post delivered to your Inbox.