OLD | NEW |
1 /***************************************************************************/ | 1 /***************************************************************************/ |
2 /* */ | 2 /* */ |
3 /* ftmodapi.h */ | 3 /* ftmodapi.h */ |
4 /* */ | 4 /* */ |
5 /* FreeType modules public interface (specification). */ | 5 /* FreeType modules public interface (specification). */ |
6 /* */ | 6 /* */ |
7 /* Copyright 1996-2003, 2006, 2008-2010, 2012, 2013 by */ | 7 /* Copyright 1996-2015 by */ |
8 /* David Turner, Robert Wilhelm, and Werner Lemberg. */ | 8 /* David Turner, Robert Wilhelm, and Werner Lemberg. */ |
9 /* */ | 9 /* */ |
10 /* This file is part of the FreeType project, and may only be used, */ | 10 /* This file is part of the FreeType project, and may only be used, */ |
11 /* modified, and distributed under the terms of the FreeType project */ | 11 /* modified, and distributed under the terms of the FreeType project */ |
12 /* license, LICENSE.TXT. By continuing to use, modify, or distribute */ | 12 /* license, LICENSE.TXT. By continuing to use, modify, or distribute */ |
13 /* this file you indicate that you have read the license and */ | 13 /* this file you indicate that you have read the license and */ |
14 /* understand and accept it fully. */ | 14 /* understand and accept it fully. */ |
15 /* */ | 15 /* */ |
16 /***************************************************************************/ | 16 /***************************************************************************/ |
17 | 17 |
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
56 /* autofitter */ | 56 /* autofitter */ |
57 /* bdf */ | 57 /* bdf */ |
58 /* cff */ | 58 /* cff */ |
59 /* gxvalid */ | 59 /* gxvalid */ |
60 /* otvalid */ | 60 /* otvalid */ |
61 /* pcf */ | 61 /* pcf */ |
62 /* pfr */ | 62 /* pfr */ |
63 /* psaux */ | 63 /* psaux */ |
64 /* pshinter */ | 64 /* pshinter */ |
65 /* psnames */ | 65 /* psnames */ |
66 /* raster1, raster5 */ | 66 /* raster1 */ |
67 /* sfnt */ | 67 /* sfnt */ |
68 /* smooth, smooth-lcd, smooth-lcdv */ | 68 /* smooth, smooth-lcd, smooth-lcdv */ |
69 /* truetype */ | 69 /* truetype */ |
70 /* type1 */ | 70 /* type1 */ |
71 /* type42 */ | 71 /* type42 */ |
72 /* t1cid */ | 72 /* t1cid */ |
73 /* winfonts */ | 73 /* winfonts */ |
74 /* } */ | 74 /* } */ |
75 /* */ | 75 /* */ |
76 /* Note that the FreeType Cache sub-system is not a FreeType module. */ | 76 /* Note that the FreeType Cache sub-system is not a FreeType module. */ |
(...skipping 385 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
462 | 462 |
463 | 463 |
464 /*************************************************************************/ | 464 /*************************************************************************/ |
465 /* */ | 465 /* */ |
466 /* <Function> */ | 466 /* <Function> */ |
467 /* FT_New_Library */ | 467 /* FT_New_Library */ |
468 /* */ | 468 /* */ |
469 /* <Description> */ | 469 /* <Description> */ |
470 /* This function is used to create a new FreeType library instance */ | 470 /* This function is used to create a new FreeType library instance */ |
471 /* from a given memory object. It is thus possible to use libraries */ | 471 /* from a given memory object. It is thus possible to use libraries */ |
472 /* with distinct memory allocators within the same program. */ | 472 /* with distinct memory allocators within the same program. Note, */ |
| 473 /* however, that the used @FT_Memory structure is expected to remain */ |
| 474 /* valid for the life of the @FT_Library object. */ |
473 /* */ | 475 /* */ |
474 /* Normally, you would call this function (followed by a call to */ | 476 /* Normally, you would call this function (followed by a call to */ |
475 /* @FT_Add_Default_Modules or a series of calls to @FT_Add_Module) */ | 477 /* @FT_Add_Default_Modules or a series of calls to @FT_Add_Module) */ |
476 /* instead of @FT_Init_FreeType to initialize the FreeType library. */ | 478 /* instead of @FT_Init_FreeType to initialize the FreeType library. */ |
477 /* */ | 479 /* */ |
478 /* Don't use @FT_Done_FreeType but @FT_Done_Library to destroy a */ | 480 /* Don't use @FT_Done_FreeType but @FT_Done_Library to destroy a */ |
479 /* library instance. */ | 481 /* library instance. */ |
480 /* */ | 482 /* */ |
481 /* <Input> */ | 483 /* <Input> */ |
482 /* memory :: A handle to the original memory object. */ | 484 /* memory :: A handle to the original memory object. */ |
(...skipping 175 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
658 | 660 |
659 /* */ | 661 /* */ |
660 | 662 |
661 | 663 |
662 FT_END_HEADER | 664 FT_END_HEADER |
663 | 665 |
664 #endif /* __FTMODAPI_H__ */ | 666 #endif /* __FTMODAPI_H__ */ |
665 | 667 |
666 | 668 |
667 /* END */ | 669 /* END */ |
OLD | NEW |