* src/sfnt/sfdriver.c: Include FT_SERVICE_SFNT_H.

(sfnt_service_sfnt_table): New service.
(sfnt_services): Updated.

* docs/license.txt: Reworded.
This commit is contained in:
Werner Lemberg 2003-11-04 18:24:20 +00:00
parent ab3e914000
commit 82906bfb1a
4 changed files with 38 additions and 13 deletions

View File

@ -1,3 +1,11 @@
2003-11-04 Werner Lemberg <wl@gnu.org>
* src/sfnt/sfdriver.c: Include FT_SERVICE_SFNT_H.
(sfnt_service_sfnt_table): New service.
(sfnt_services): Updated.
* docs/license.txt: Reworded.
2003-11-03 Werner Lemberg <wl@gnu.org> 2003-11-03 Werner Lemberg <wl@gnu.org>
* include/freetype/*: Add a guard to all public header files which * include/freetype/*: Add a guard to all public header files which

View File

@ -2,24 +2,26 @@
The FreeType 2 font engine is copyrighted work and cannot be used The FreeType 2 font engine is copyrighted work and cannot be used
legally without a software license. In order to make this project legally without a software license. In order to make this project
usable to a vast majority of developers, we distribute it under two usable to a vast majority of developers, we distribute it under two
mutually exclusive licenses. mutually exclusive open-source licenses.
This means that *you* must choose *one* license of the two described This means that *you* must choose *one* of the two licenses described
below, then obey all its terms and conditions when using FreeType 2 in below, then obey all its terms and conditions when using FreeType 2 in
any of your projects or products. any of your projects or products.
- The FreeType License, found in the file "FTL.TXT", which is an - The FreeType License, found in the file `FTL.TXT', which is similar
BSD-style open-source license *with* an advertising clause that to the original BSD license *with* an advertising clause that forces
forces you to explicitely cite the FreeType project in your you to explicitly cite the FreeType project in your product's
product's documentation. All details are in the license file. documentation. All details are in the license file. This license
is suited to products which don't use the GNU General Public
License.
- The GNU General Public License, found in "GPL.TXT", which is the - The GNU General Public License, found in `GPL.TXT', for programs
traditionnal and "viral" GPL license that forces you to redistribute which already use the GPL. Note that the FTL is incompatible with
the _complete_ sources of all your products that use FreeType 2. the GPL due to its advertisement clause.
Note that the contributed PCF driver comes with a license similar to The contributed PCF driver comes with a license similar to that of the X
that of X Window System which is compatible to the above two licenses Window System. It is compatible to the above two licenses (see file
(see file src/pcf/readme). src/pcf/readme).
--- end of licence.txt --- --- end of licence.txt ---

View File

@ -1,6 +1,6 @@
/***************************************************************************/ /***************************************************************************/
/* */ /* */
/* svpostnm.h */ /* svsfnt.h */
/* */ /* */
/* The FreeType PostScript name services (specification). */ /* The FreeType PostScript name services (specification). */
/* */ /* */

View File

@ -37,6 +37,13 @@
#include FT_SERVICE_GLYPH_DICT_H #include FT_SERVICE_GLYPH_DICT_H
#include FT_SERVICE_POSTSCRIPT_NAME_H #include FT_SERVICE_POSTSCRIPT_NAME_H
#include FT_SERVICE_SFNT_H
/*
* SFNT TABLE SERVICE
*
*/
static void* static void*
get_sfnt_table( TT_Face face, get_sfnt_table( TT_Face face,
@ -83,6 +90,13 @@
} }
static const FT_Service_SFNT_TableRec sfnt_service_sfnt_table =
{
(FT_SFNT_TableLoadFunc)tt_face_load_any,
(FT_SFNT_TableGetFunc) get_sfnt_table
};
#ifdef TT_CONFIG_OPTION_POSTSCRIPT_NAMES #ifdef TT_CONFIG_OPTION_POSTSCRIPT_NAMES
/* /*
@ -255,6 +269,7 @@
static const FT_ServiceDescRec sfnt_services[] = static const FT_ServiceDescRec sfnt_services[] =
{ {
{ FT_SERVICE_ID_SFNT_TABLE, &sfnt_service_sfnt_table },
{ FT_SERVICE_ID_POSTSCRIPT_FONT_NAME, &sfnt_service_ps_name }, { FT_SERVICE_ID_POSTSCRIPT_FONT_NAME, &sfnt_service_ps_name },
#ifdef TT_CONFIG_OPTION_POSTSCRIPT_NAMES #ifdef TT_CONFIG_OPTION_POSTSCRIPT_NAMES
{ FT_SERVICE_ID_GLYPH_DICT, &sfnt_service_glyph_dict }, { FT_SERVICE_ID_GLYPH_DICT, &sfnt_service_glyph_dict },