Werner Lemberg
0f8fd88e83
Implement properties to control FreeType modules.
...
* include/freetype/fterrdef.h (FT_Err_Missing_Property): New error
code.
* include/freetype/ftmodapi.h (FT_Property_Set, FT_Property_Get):
New API.
* include/freetype/internal/services/svprop.h: New file.
* include/freetype/internal/ftserv.h (FT_SERVICE_PROPERTIES_H): New
macro.
* src/base/ftobjs.c: Include FT_SERVICE_PROPERTIES_H.
(ft_property_do, FT_Property_Set, FT_Property_Get): New functions.
2012-08-30 23:31:55 +02:00
Werner Lemberg
2f6be4c854
Document module names.
2012-08-14 20:11:17 +02:00
Werner Lemberg
6274bd370f
Typo.
2012-07-25 13:10:52 +02:00
Werner Lemberg
fe3433c736
Add reference counters and to FT_Library and FT_Face objects.
...
* include/freetype/freetype.h (FT_Reference_Face): New function.
* include/freetype/ftmodapi.h (FT_Rererence_Library): New function.
* include/freetype/internal/ftobjs.h (FT_Face_InternalRec,
FT_LibraryRec): New field `refcount'.
* src/base/ftobjs.c (FT_Open_Face, FT_New_Library): Handle
`refcount'.
(FT_Reference_Face, FT_Reference_Library): Implement new functions.
(FT_Done_Face, FT_Done_Library): Handle `refcount'.
* docs/CHANGES: Updated.
2010-07-18 18:41:47 +02:00
Werner Lemberg
6bbbbc1523
TrueType hinting is no longer patented.
...
* include/freetype/config/ftoption.h, devel/ftoption.h
(TT_CONFIG_OPTION_BYTECODE_INTERPRETER): Define.
(TT_CONFIG_OPTION_UNPATENTED_HINTING): Undefine.
* docs/CHANGES, docs/INSTALL, include/freetype/freetype.h: Updated.
* docs/TRUETYPE, docs/PATENTS: Removed.
2010-07-04 07:37:56 +02:00
Werner Lemberg
e30de299f2
Fix various memory problems found by linuxtesting.org.
...
* src/base/ftgxval.c (FT_TrueTypeGX_Free, FT_ClassicKern_Free),
src/base/ftotval.c (FT_OpenType_Free), src/base/ftpfr.c
(ft_pfr_check): Check `face'.
* src/base/ftobjs.c (FT_Get_Charmap_Index): Check `charmap' and
`charmap->face'.
(FT_Render_Glyph): Check `slot->face'.
(FT_Get_SubGlyph_Info): Check `glyph->subglyphs'.
Improve API documentation.
2010-05-22 20:03:41 +02:00
Werner Lemberg
eeec2b8fc6
Documentation improvements.
2009-06-25 16:47:10 +02:00
Werner Lemberg
c321b9b063
* devel/ftoption.h, include/freetype/config/ftoption.h
...
[TT_CONFIG_OPTION_BYTECODE_INTERPRETER]: Undefine
TT_CONFIG_OPTION_UNPATENTED_HINTING. This fixes the return value of
`FT_Get_TrueType_Engine_Type' (and makes it work as documented).
Reported in bug #441638 of bugzilla.novell.com.
* docs/CHANGES: Document it.
Other minor documentation improvements.
2008-11-05 14:34:29 +00:00
Werner Lemberg
8a9b63913f
Improve navigation in API reference.
...
* src/tools/docmaker/tohtml.py (html_header_3): Renamed to...
(html_header_6): This.
(html_header_3, html_header_3i, html_header_4, html_header_5,
html_header_5t): New strings.
(toc_footer_start, toc_footer_end): New strings.
(HtmlFormatter::html_header): Updated.
(HtmlFormatter::html_index_header, HtmlFormatter::html_toc_header):
New strings.
(HtmlFormatter::index_enter): Use `html_index_header'.
(HtmlFormatter::index_exit): Print `html_footer'.
(HtmlFormatter::toc_enter): Use `html_toc_header'.
(HtmlFormatter::toc_exit): Print proper footer.
Convert ~ to non-breakable space.
* src/tools/docmaker/tohtml.py (make_html_para): Implement it.
Update header files accordingly.
Many other minor documentation fixes.
2008-06-26 19:56:51 +00:00
Werner Lemberg
e899991b5e
More doc fixes to improve HTML version.
2008-05-31 07:03:30 +00:00
Werner Lemberg
2b0b4221ab
Cosmetic code changes.
2008-05-28 22:17:28 +00:00
Werner Lemberg
7b512f50d3
Documentation: s/ttengine/truetype_engine/ for orthogonality.
2007-04-10 05:13:03 +00:00
Werner Lemberg
2ee71f1f01
More minor fixes. Move `version' section to the end of freetype.h so that
...
the library compiles actually.
2006-05-12 13:55:04 +00:00
Werner Lemberg
fd74ec68b4
* README: Minor updates.
...
* include/freetype/*: s/scale/scaling value/ where appropriate.
Many other minor documentation improvements.
* src/tools/docmaker/sources.py (re_italic, re_bold): Handle
trailing punctuation.
* src/tools/docmaker/tohtml.py (HtmlFormatter::make_html_word): Add
warning message for undefined cross references.
Update handling of re_italic and re_bold.
2006-05-12 04:00:44 +00:00
Werner Lemberg
8a8c6022bf
Formatting, copyright years, documentation.
2006-04-22 12:24:52 +00:00
David Turner
8e438ead71
* include/freetype/ftincrem.h, include/freetype/ftmodapi.h,
...
include/freetype/freetype.h: Documentation update
2006-04-21 08:35:11 +00:00
Werner Lemberg
0d9be1c31e
Fix comment so that it is included into the HTML documentation.
2006-02-22 14:28:06 +00:00
Werner Lemberg
5edafed12a
Clean-ups, copyright years, formatting.
2006-02-22 08:23:35 +00:00
David Turner
0b5dc4df88
* include/freetype/ftmodapi.h, include/internal/ftserv.h,
...
include/internal/services/svtteng.h, src/base/ftobjs.c,
src/truetype/ttdriver.c:
adding a new API named FT_Get_TrueType_Engine_Type to determine
wether we have a patented, unpatented or unimplemented TrueType
bytecode interpreter.
the FT_Get_Module_Flags API was removed consequently.
2006-02-21 22:36:23 +00:00
Werner Lemberg
6cdab92b59
* docs/CHANGES: Updated.
...
* include/freetype/ftmodapi.h (FT_Module_Get_Flags): New
declaration.
* src/base/ftobjs.c (FT_Module_Get_Flags): New function.
2006-01-08 22:34:01 +00:00
Werner Lemberg
ab3e914000
* include/freetype/*: Add a guard to all public header files which
...
load FT_FREETYPE_H to reject freetype.h from FreeType 1.
2003-11-04 07:44:19 +00:00
Werner Lemberg
ac3622048f
* include/freetype/ftmodule.h: Renamed to...
...
* include/freetype/ftmodapi.h: This to avoid duplicate file names.
* include/freetype/config/ftheader.h (FT_MODULE_H): Updated.
2003-10-05 09:55:58 +00:00