freetype
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [ft] Get copyright information from ttf file


From: suzuki toshiya
Subject: Re: [ft] Get copyright information from ttf file
Date: Fri, 12 Nov 2010 19:18:53 +0900
User-agent: Mozilla-Thunderbird 2.0.0.12 (X11/20080406)

Hi,

TrueType/OpenType has the entries to hold copyright, license,
manufacture, designers etc. Please find the "ID" of the strings
in the "name" subtable in
http://www.microsoft.com/typography/otspec/name.htm

And, FreeType2 has a feature to get the strings in the "name"
subtable by the ID:
http://www.freetype.org/freetype2/docs/reference/ft2-sfnt_names.html#FT_Get_Sfnt_Name

And, if you want to see a source showing how to do,
please check the source of ftdump source in ft2demos.

--

However, there is the problem that the font vendors do not
utilize them seriously. Please find a discussion about the
request "fontconfig should cache such informations in its
database file?" at:
https://bugs.freedesktop.org/show_bug.cgi?id=18340

Regards,
mpsuzuki

Aniruddha Apte wrote:
> Hello,
> 
> Is there any api in FreeType2 that returns copyright, author, legal,
> license, and similar other information present in the .ttf file?
> 
> thanks
> aniruddha
> 
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> Freetype mailing list
> address@hidden
> http://lists.nongnu.org/mailman/listinfo/freetype




reply via email to

[Prev in Thread] Current Thread [Next in Thread]