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 > [email protected] > http://lists.nongnu.org/mailman/listinfo/freetype _______________________________________________ Freetype mailing list [email protected] http://lists.nongnu.org/mailman/listinfo/freetype
