History log of /external/freetype/include/freetype/ftimage.h
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
0a0c22569deab933df21127e75db5c81f724f292 02-Jan-2018 Werner Lemberg <wl@gnu.org> Update copyright year.
/external/freetype/include/freetype/ftimage.h
c3cbb440afc45a1b7ef0501eda41e2f4edd9061e 07-Dec-2017 Werner Lemberg <wl@gnu.org> Use ASCII only in public header files (#50858).
/external/freetype/include/freetype/ftimage.h
1ad07c1c79841e54ff3d5c37e28bfb91f402ee84 21-Sep-2017 Werner Lemberg <wl@gnu.org> Add some `since' fields (back to version 2.4.8).
/external/freetype/include/freetype/ftimage.h
e99b26aadae8fa057debf995e4b8017e18c2b995 14-May-2017 Werner Lemberg <wl@gnu.org> Remove remnants of raster pool.

* include/freetype/internal/ftobjs.h (FT_LibraryRec): Remove
`raster_pool' and `raster_pool_size' fields.

* src/base/ftobjs.c (FT_New_Library), src/raster/ftrend1.c
(ft_raster1_init), src/smooth/ftsmooth.c (ft_smooth_init): Updated.
/external/freetype/include/freetype/ftimage.h
d4b6a2053f5bd86366f78efb6446f7aa5279b7c4 25-Feb-2017 Alexei Podtelezhnikov <apodtele@gmail.com> Typo.
/external/freetype/include/freetype/ftimage.h
563ae780229aef5b6f6ae361211d5fb733de8321 04-Jan-2017 Werner Lemberg <wl@gnu.org> Update copyright year.
/external/freetype/include/freetype/ftimage.h
c95b7652d8db19530c91e80d23c288bbf27f1b72 17-Sep-2016 Werner Lemberg <wl@gnu.org> s/0/NULL/ for function pointers; comments, formatting.
/external/freetype/include/freetype/ftimage.h
cb4388783cecc893d0542541f3326f3614ca209d 23-Aug-2016 Alexei Podtelezhnikov <apodtele@gmail.com> [smooth] Simplify span rendering.

This removes unnecessary complexity of span merging and buffering.
Instead, the spans are rendered as they come, speeding up the
rendering by about 5% percents as a result.

* src/smooth/ftgrays.c [FT_MAX_GRAY_SPANS]: Macro removed.
(gray_TWorker): Remove span buffer and related fields.
(gray_sweep, gray_hline): Updated.

* include/freetype/ftimage.h: Remove documentation note about
`FT_MAX_GRAY_SPANS', which was never in `ftoption.h' and is now gone.
/external/freetype/include/freetype/ftimage.h
500bcbdded6b4996a07acd315d6c5bdd56615264 08-May-2016 Alexei Podtelezhnikov <apodtele@gmail.com> Duplicates.
/external/freetype/include/freetype/ftimage.h
9adeab6452a220270c311f756d55acd734fd52ea 13-Jan-2016 Werner Lemberg <wl@gnu.org> Update copyright year.
/external/freetype/include/freetype/ftimage.h
9d0b76d7f6e87b68ee739688be693f28094b23bf 12-Jan-2016 Werner Lemberg <wl@gnu.org> Don't use macro names that start with `_[A-Z]' [2/3].

Such macro names are reserved for both C and C++.

* include/freetype/ftimage.h, src/raster/ftraster.c,
src/smooth/ftgrays.c, src/smooth/ftgrays.h:
s/_STANDALONE_/STANDALONE_/.
/external/freetype/include/freetype/ftimage.h
37412ff9f42212bcf4dd29d9762f3c35b5735768 12-Jan-2016 Werner Lemberg <wl@gnu.org> Don't use macro names that contain `__' [1/2].

Such macro names are reserved for both C and C++.

*/*: Replace macros of the form `__XXX_H__' with `XXX_H_'.
/external/freetype/include/freetype/ftimage.h
392cf22f8a5a281b8ebc56bf932e66da78f66410 25-Jun-2015 Werner Lemberg <wl@gnu.org> Another adjustment to header locations.

This change is a result of a discussion thread on freetype-devel

http://lists.nongnu.org/archive/html/freetype-devel/2015-06/msg00041.html

Re-introduce the `freetype2' subdirectory for all FreeType header
files after installation, and rename the `freetype2' subdirectory in
the git repository to `freetype'.

* include/freetype2: Renamed to...
* include/freetype: This.

* CMakeLists.txt (PUBLIC_HEADERS, PUBLIC_CONFIG_HEADERS,
PRIVATE_HEADERS): Updated.
Update creation of `ftconfig.h'.
Install generated `ftconfig.h'.

* Jamfile (HDRMACRO, RefDoc), autogen.sh: Updated.

* builds/amiga/include/config/ftconfig.h, builds/freetype.mk
(PUBLIC_DIR), builds/symbian/bld.inf, builds/toplevel.mk (work),
builds/unix/freetype2.in: Updated.

* builds/unix/freetype-config.in: Updated.
* builds/unix/configure.raw: Don't check for `rmdir'.
* builds/unix/unix-def.in (DELDIR): Use `rm -rf', which is portable
according to the autoconf info manual.
* builds/unix/install.mk (install, uninstall,
distclean_project_unix): Update and simplify.

* builds/wince/*, builds/windows/*: Updated.

* devel/ft2build.h, include/ft2build.h: Updated.

* include/freetype2/config/ftheader.h,
include/freetype2/internal/ftserv.h,
include/freetype2/internal/internal.h: Update all header file
macros.

* src/tools/chktrcmp.py (TRACE_DEF_FILES): Updated.

* docs/*: Updated.
/external/freetype/include/freetype/ftimage.h
fae382076409db198dfbff36ac4cbb97b05b30a1 13-Nov-2013 Werner Lemberg <wl@gnu.org> Simplify header file hierarchy.

This large patch changes the header file directory layout from
`include/freetype/...' to `include/...', effectively removing one
level. Since the file `ft2build.h' is also located in `include'
(and it stays there even after installation), all FreeType header
files are now in a single directory.

Applications that use (a) `freetype-config' or FreeType's
`pkg-config' file to get the include directory for the compiler, and
(b) the documented way for header inclusion like

#include <ft2build.h>
#include FT_FREETYPE_H
...

don't need any change to the source code.

* include/freetype/*: Move up to...
* include/*: ... this directory.

* builds/amiga/include/freetype/*: Move up to...
* builds/amiga/include/*: ... this directory.

*/*: Essentially do `s@/freetype/@/@' where appropriate.

* CMakeList.txt: Simplify.
* builds/unix/freetype-config.in, builds/unix/freetype2.in: For
`--cflags', return a single directory.
* builds/unix/install.mk (install): No longer try to remove `cache'
and `internal' subdirectories; instead, remove the `freetype'
subdirectory.
/external/freetype/include/freetype/ftimage.h
00ea2a133b377d74f9694d3ba74588a4e8542120 03-Sep-2013 Werner Lemberg <wl@gnu.org> [doc] s/which/that/ where appropriate.

Note that this is a try by a non-native English speaker whose mother
language (German) doesn't have this distinction at all...
/external/freetype/include/freetype/ftimage.h
760d342d37ec9b26420956e3421075d410571b65 29-May-2013 Behdad Esfahbod <behdad@google.com> Add support for color embedded bitmaps (eg. color emoji).

A new load flag, FT_LOAD_COLOR, makes FreeType load color
embedded-bitmaps, following this draft specification

https://color-emoji.googlecode.com/git/specification/v1.html

which defines two new SFNT tables, `CBDT' and `CBLC' (named and
modeled after `EBDT' and `EBLC', respectively). The color bitmaps
are stored in the new FT_PIXEL_MODE_BGRA format to represent BGRA
pre-multiplied sRGB images. If PNG support is available, PNG color
images as defined in the same proposed specification are supported
also.

Note that color bitmaps are converted to grayscale if client didn't
ask for color.

* builds/unix/configure.raw: Search for libpng.
Add `--without-png' option.

* devel/ftoption.h, include/freetype/config/ftoption.h
(FT_CONFIG_OPTION_USE_PNG): New macro.

* include/freetype/freetype.h (FT_LOAD_COLOR): New load flag.

* include/freetype/ftimage.h (FT_Pixel_Mode): Add
`FT_PIXEL_MODE_BGRA'.

* include/freetype/tttags.h (TTAG_CBDT, TTAG_CBLC): New tags.

* src/base/ftbitmap.c (FT_Bitmap_Embolden): Updated.
(ft_gray_for_premultiplied_srgb_bgra): New function.
(FT_Bitmap_Convert): Handle FT_PIXEL_MODE_BGRA.

* src/sfnt/pngshim.c, src/sfnt/pngshim.h: New files.

* src/sfnt/sfnt.c: Include `pngshim.c'.

* src/sfnt/ttsbit.c: Include FT_BITMAP_H and `pngshim.h'
(tt_face_load_eblc): Load `CBLC'.
(tt_sbit_decoder_init): Load `CBDT'.
(tt_sbit_decoder_alloc_bitmap): Pass load flags to select between
color and grayscale bitmaps.
Set `num_grays'. This is used by `ftview' to choose the blending
algorithm.
(tt_sbit_decoder_load_byte_aligned,
tt_sbit_decoder_load_bit_aligned, tt_sbit_decoder_load_compound,
tt_sbit_decoder_load_image): Pass load flag.
s/write/pwrite/.
Don't call `tt_sbit_decoder_alloc_bitmap'.
Updated.
(tt_sbit_decoder_load_png) [FT_CONFIG_OPTION_USE_PNG]: New function.
(tt_sbit_decoder_load_bitmap): Pass load flag.
Handle new glyph formats 17, 18, and 19.
Call `tt_sbit_decoder_alloc_bitmap'.
Flatten color bitmaps if necessary.
(tt_face_load_sbit_image): Updated.

* src/sfnt/rules.mk (SFNT_DRV_SRC): Add `pngshim.c'.

* docs/CHANGES: Updated.
/external/freetype/include/freetype/ftimage.h
a692170a238f4bdb5fdb3b7b7c31bf662340a43a 13-Jan-2013 Alexei Podtelezhnikov <apodtele@gmail.com> Call it fixed-point.
/external/freetype/include/freetype/ftimage.h
f434e299067c8d7ae43fbb6e021b283c3f2303c8 21-Aug-2010 Werner Lemberg <wl@gnu.org> In the documentation, explain what `padding' means.
/external/freetype/include/freetype/ftimage.h
2d43503901d6105a3d3d5a9eeeb9f0859537d596 09-Feb-2010 Werner Lemberg <wl@gnu.org> Minor documentation improvement.
/external/freetype/include/freetype/ftimage.h
85a477b2ee5e87f3759f81ca86a3fc235b4a2cde 23-Jan-2010 Werner Lemberg <wl@gnu.org> Improve FT_BBox documentation.
From David Bevan.
/external/freetype/include/freetype/ftimage.h
b8f245bd7731320056e68f0b9bd6041ca414947f 21-Jan-2010 Werner Lemberg <wl@gnu.org> Improve documentation of FT_BBox.
/external/freetype/include/freetype/ftimage.h
c32b178934ed742781e1fb0a28d964e410226780 03-Jan-2010 Werner Lemberg <wl@gnu.org> Minor documentation fix.
/external/freetype/include/freetype/ftimage.h
94cdb3f045565a344d992629fca527e18d7721cb 16-Dec-2009 Werner Lemberg <wl@gnu.org> Comment fixes.
/external/freetype/include/freetype/ftimage.h
c4bdb7357186a820e6064d10cc6fb71d1b4cb26f 02-Nov-2009 Werner Lemberg <wl@gnu.org> Minor doc fix.
Found by Ian Britten.
/external/freetype/include/freetype/ftimage.h
4c531460ed677d9aaa06f79de160bfe3d03d9b3c 08-Jul-2009 suzuki toshiya <mpsuzuki@hiroshima-u.ac.jp> Prevent the overflows by a glyph with too many points or contours.
/external/freetype/include/freetype/ftimage.h
72271140434028186a49a5dc5925f0727559e46f 18-Jun-2009 Werner Lemberg <wl@gnu.org> Fix B/W rasterization of subglyphs with different drop-out modes.

Normally, the SCANMODE instruction (if present) to set the drop-out
mode in a TrueType font is located in the `prep' table only and thus
valid for all glyphs. However, there are fonts like `pala.ttf'
which additionally contain this instruction in the hinting code of
some glyphs (but not all). As a result it can happen that a
composite glyph needs multiple drop-out modes for its subglyphs
since the rendering state gets reset for each subglyph.

FreeType collects the hinted outlines from all subglyphs, then it
sends the data to the rasterizer. It also sends the drop-out mode
-- after hinting has been applied -- and here is the error: It sends
the drop-out mode of the last subglyph only; drop-out modes of all
other subglyphs are lost.

This patch fixes the problem; it adds a second, alternative
mechanism to pass the drop-out mode: For each contour, the
rasterizer now checks the first `tags' array element. If bit 2 is
set, bits 5-7 contain the contour's drop-out mode, overriding the
global drop-out mode.

* include/freetype/ftimage.h (FT_CURVE_TAG_HAS_SCANMODE): New macro.

* src/truetype/ttgload.c (TT_Hint_Glyph): Store drop-out mode in
`tags[0]'.

* src/raster/ftraster.c (Flow_Up, Overshoot_Top, Overshoot_Bottom):
Use bits 3-5 instead of 0-2.
(New_Profile): Set the drop-out mode in the profile's `flags' field.
(Decompose_Curve): Check `tags[0]' and set `dropOutControl' if
necessary.
(Vertical_Sweep_Drop, Horizontal_Sweep_Drop,
Horizontal_Gray_Sweep_Drop, Draw_Sweep): Use the profile's drop-out
mode.
/external/freetype/include/freetype/ftimage.h
3ba8301b218dbb0b3007ceea46670f14f8f26746 30-Mar-2009 Werner Lemberg <wl@gnu.org> Callbacks for b/w rasterizer are not implemented currently.
/external/freetype/include/freetype/ftimage.h
05bf6877a4b03fa1ea5e2b99f2318104a9de0294 18-Dec-2008 Werner Lemberg <wl@gnu.org> * docs/CHANGES: Updated.


Provide API for accessing embedding and subsetting restriction
information.

* include/freetype.h (FT_FSTYPE_INSTALLABLE_EMBEDDING,
FT_FSTYPE_RESTRICTED_LICENSE_EMBEDDING,
FT_FSTYPE_PREVIEW_AND_PRINT_EMBEDDING, FT_FSTYPE_EDITABLE_EMBEDDING,
FT_FSTYPE_NO_SUBSETTING, FT_FSTYPE_BITMAP_EMBEDDING_ONLY): New
macros.
(FT_Get_FSType_Flags): New function declaration.

* src/base/ftobjs.c (FT_Get_FSType_Flags): New function.

* src/cid/cidtoken.h, src/type1/t1tokens.h, src/type42/t42parse.c
(t42_keywords): Handle `FSType'.

* include/freetype/t1tables.h (PS_FontInfoRec): Add `fs_type' field.
/external/freetype/include/freetype/ftimage.h
8a9b63913f62bdf342f4bd8791cb7c7ebfdbfedd 26-Jun-2008 Werner Lemberg <wl@gnu.org> 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.
/external/freetype/include/freetype/ftimage.h
5df5dbb722cf008b3f617448d8d28fde4d725556 22-Jun-2008 Werner Lemberg <wl@gnu.org> Enable access to the various dropout rules of the B&W rasterizer.
Pass dropout rules from the TT bytecode interpreter to the
rasterizer; temporarily this is enabled only if
`USE_SCAN_CONVERSION_RULES' is defined.

* include/freetype/ftimage.h (FT_OUTLINE_SMART_DROPOUTS,
FT_OUTLINE_EXCLUDE_STUBS): New flags for for FT_Outline.

* src/raster/ftraster.c (Vertical_Sweep_Drop, Horizontal_Sweep_Drop,
Horizontal_Gray_Sweep_Drop): Use same mode numbers as given in the
OpenType specification.
Fix mode 4 computation.
(Render_Glyph, Render_Gray_Glyph): Handle new outline flags.

* src/truetype/ttgload.c (TT_Load_Glyph)
[USE_SCAN_CONVERSION_RULES]: Convert scan conversion mode to
FT_OUTLINE_XXX flags.

* src/truetype/ttinterp.c (Ins_SCANCTRL): Enable ppem check.
/external/freetype/include/freetype/ftimage.h
c91dfa39e8863318f092b4d38b31e7dca32d5b40 21-Jun-2008 Werner Lemberg <wl@gnu.org> Improve documentation of gray-level rastering and what to do if you need
less than 256 gray levels.
/external/freetype/include/freetype/ftimage.h
e899991b5e729b48ed219e15727c6fbb39c7e18f 31-May-2008 Werner Lemberg <wl@gnu.org> More doc fixes to improve HTML version.
/external/freetype/include/freetype/ftimage.h
ee0f2ab9704dae0ff463377a5c447f3ec5d5da61 12-Jan-2008 Werner Lemberg <wl@gnu.org> Whitespace.
/external/freetype/include/freetype/ftimage.h
d2e1573706cd2f9a28250f8f98e943da3fba9d8f 31-Dec-2007 Werner Lemberg <wl@gnu.org> * src/smooth/ftgrays.c (gray_raster_render): Check `outline'
correctly.

Whitespace.
/external/freetype/include/freetype/ftimage.h
34cd7ea03dab1a66543fb43d084ef84dafba0d96 11-Mar-2007 Werner Lemberg <wl@gnu.org> comment fix
/external/freetype/include/freetype/ftimage.h
a4875bdcca1cdde7c745242862549b614255c591 29-Jan-2007 Werner Lemberg <wl@gnu.org> Spelling fixes from Alexei.
/external/freetype/include/freetype/ftimage.h
e12a471f6af23257f4c406feb8745eb12915fa7d 12-May-2006 Werner Lemberg <wl@gnu.org> * src/tools/docmaker/tohtml.py (html_header_1): Use `utf-8' charset.

Convert some files to UTF-8.
/external/freetype/include/freetype/ftimage.h
6756dc15ba424186394ca3f295ba8d125b0f047e 12-May-2006 Werner Lemberg <wl@gnu.org> * src/tools/docmaker/sources.py (re_source_keywords): Add word
boundary markers.
* src/tools/docmaker/content.py (re_field): Allow `.' in field names
(but not at the beginning or end).

* include/freetype/*: Many minor documentation improvements (adding
links, spelling errors, etc.).
/external/freetype/include/freetype/ftimage.h
fd74ec68b44fe2346b89ccc485a1d451f26df9d6 12-May-2006 Werner Lemberg <wl@gnu.org> * 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.
/external/freetype/include/freetype/ftimage.h
af16820a125c4224462ab833bbf84ce2abb59d22 24-Mar-2006 Werner Lemberg <wl@gnu.org> Normalize quotation to `...'.
/external/freetype/include/freetype/ftimage.h
49f4d34ed3dc58b087b34de661cd2c536d810882 16-Jun-2005 Werner Lemberg <wl@gnu.org> * src/base/ftoutln.c (FT_Outline_Embolden): Strength should be
halved.

* src/base/ftsynth.c (FT_GlyphSlot_Embolden): Change the default
strength.
Don't increase slot->advance.y.



* include/freetype/freetype.h (FREETYPE_MINOR): Set to 2.
(FREETYPE_PATCH): Set to 0.

* builds/unix/configure.ac (version_info): Set to 9:9:3.
Currently, we are still binary compatible.

* builds/win32/visualc/index.html,
builds/win32/visualc/freetype.dsp,
builds/win32/visualc/freetype.vcproj: s/219/2110/, s/2.1.9/2.1.10/.

* builds/freetype.mk (refdoc), README, Jamfile (RefDoc):
s/2.1.9/2.1.10/.

* docs/CHANGES, docs/VERSION.DLL: Updated.

* ChangeLog: Split off older entries into...
* ChangeLog.20, ChangeLog.21: These new files.



The next release will be 2.2.0, so don't worry about source code
backwards compatibility.

* include/freetype/ftimage.h (FT_Outline_MoveToFunc,
FT_Outline_LineToFunc, FT_Outline_ConicToFunc,
FT_Outline_CubicToFunc, FT_SpanFunc, FT_Raster_RenderFunc),
include/freetype/ftrender.h (FT_Glyph_TransformFunc,
FT_Renderer_RenderFunc, FT_Renderer_TransformFunc): Decorate
parameters with `const' where appropriate.



* src/sfnt/ttsbit.c (tt_face_load_sbit_image): Compute vertBearingY
to make glyphs centered vertically.

* src/truetype/ttgload.c (compute_glyph_metrics): Compute
vertBearingY to make glyphs centered vertically.
Fix some bugs in vertical metrics:

. loader->pp3.y and loader->pp4.y are in 26.6 format, not in font
units.
. As we use the glyph's cbox to calculate the top bearing now
there iss no need to adjust `top'.



* src/otvalid/otvcommn.h (OTV_OPTIONAL_TABLE): Use FT_UShort to be
in sync with OTV_OPTIONAL_OFFSET. Reported by YAMATO Masatake.


* docs/release: Update.
/external/freetype/include/freetype/ftimage.h
255ce16e1d7f4bdd2d2eb3800f3778085376be2e 04-Jun-2005 Werner Lemberg <wl@gnu.org> * include/freetype/ftimage.h (FT_Outline_MoveToFunc,
FT_Outline_LineToFunc, FT_Outline_ConicToFunc,
FT_Outline_CubicToFunc, FT_Raster_RenderFunc),
include/freetype/ftrender.h (FT_Glyph_TransformFunc,
FT_Renderer_RenderFunc, FT_Renderer_TransformFunc): Don't use
`const' to stay compatible with FreeType 2.1.9.
/external/freetype/include/freetype/ftimage.h
8ae1dceb94effa59a307c0b778b37483f808f3d4 20-May-2005 Werner Lemberg <wl@gnu.org> * include/freetype/ftimage.h (FT_Raster_Params),
include/freetype/ftoutln.h (FT_Outline_Translate,
FT_Outline_Transform), src/base/ftoutln.c (FT_Outline_Translate,
FT_Outline_Transform): Decorate parameters with `const' where
appropriate.
Update all callers.

* src/raster/ftraster.c (ft_black_reset), src/smooth/ftgrays.c
(gray_raster_reset): Remove `const' from `pool_base' argument.
/external/freetype/include/freetype/ftimage.h
ce235eaf099765b1a868ce27fef4e83171767e11 17-May-2005 Werner Lemberg <wl@gnu.org> * builds/win32/visualc/freetype.vcproj: Updated.
Exclude debug info for `Release' versions to reduce library size.


* src/base/ftobjs.c (FT_Open_Face): Make it work as documented, this
is, ignore `aface' completely if face_index < 0. Reported by David
Osborn <spam@habitualhiatus.com>.


* include/freetype/ftimage.h (FT_Outline_MoveToFunc,
FT_Outline_LineTo_Func, FT_Outline_ConicToFunc,
FT_Outline_CubicToFunc), src/smooth/ftgrays.c (gray_render_conic,
gray_render_cubic, gray_move_to, gray_line_to, gray_conic_to,
gray_cubic_to, gray_render_span, gray_sweep): Decorate parameters
with `const' where appropriate.
/external/freetype/include/freetype/ftimage.h
fa420250c59414e432243feffb70be68654b8c27 11-May-2005 Werner Lemberg <wl@gnu.org> * include/freetype/ftimage.h (FT_Raster_RenderFunc),
include/freetype/ftrender.h (FT_Glyph_TransformFunc,
FT_Renderer_Render_Func, FT_Renderer_TransformFunc),
src/base/ftglyph.c (ft_outline_glyph_transform),
src/raster/ftrend1.c (ft_raster1_transform, ft_raster1_render),
src/smooth/ftgrays.c (FT_Outline_Decompose, gray_raster_render),
src/smooth/ftsmooth.c (ft_smooth_transform,
ft_smooth_render_generic, ft_smooth_render, ft_smooth_render_lcd,
ft_smooth_render_lcd_v): Decorate parameters with `const' where
appropriate.

* src/raster/ftraster.c (RASTER_RENDER_POOL): Removed. Obsolete.
(ft_black_render): Decorate parameters with `const' where
appropriate.


* src/sfnt/ttcmap.c (tt_cmap4_set_range): Fix typo (FT_PEEK_SHORT ->
FT_PEEK_USHORT) which caused crashes. Reported by Ismail Donmez
<ismail@kde.org.tr>.
/external/freetype/include/freetype/ftimage.h
c01c90424939a4b60edce9900cbfed09a9bfacdf 14-Apr-2005 Werner Lemberg <wl@gnu.org> * include/freetype/freetype.h (FT_Vector_Transform),
include/freetype/ftimage.h (FT_Raster_Params),
include/freetype/ftoutln.h, src/base/ftoutln.c (FT_Outline_Get_CBox,
FT_Outline_Copy, FT_Outline_Transform, FT_Vector_Transform,
FT_Outline_Get_Bitmap), src/raster/ftraster.c (ft_black_render),
src/smooth/ftgrays.c (gray_raster_render): Decorate parameters with
`const' where appropriate.

* src/sfnt/ttsbit0.c (tt_sbit_decoder_load_image): Fix arguments
to call of tt_sbit_decoder_load_bitmap.
/external/freetype/include/freetype/ftimage.h
ece8b20e6c51924b85f3055e555a430a2d4bfd1b 14-Dec-2004 Werner Lemberg <wl@gnu.org> Documentation updates, whitespace.
/external/freetype/include/freetype/ftimage.h
ee95b6f0d487cb31e90170032ab39d120258052e 10-Sep-2004 Werner Lemberg <wl@gnu.org> Adding OpenType validation module. The code is based on the
(unfinished) `otlayout' module but has been heavily modified to make
it much more compact.

* src/otvalid/*: New module.

* include/freetype/ftotval.h, src/base/ftotval.c,
include/freetype/internal/services/svotval.h: New files.

* include/freetype/config/ftmodule.h: Add otv_module_class.
* include/freetype/config/ftheader.h (FT_OPENTYPE_VALIDATE_H): New
macro.
* include/freetype/internal/ftserv.h
(FT_SERVICE_OPENTYPE_VALIDATE_H): New macro.
* include/freetype/internal/fttrace.h (otvmodule, otvcommon,
otvbase, otvgdef, otvgpos, otvgsub, otvjstf): New trace components.

* include/freetype/ftchapters.h: Updated.

* src/base/Jamfile (Library), src/base/descrip.mms (OBJS),
src/base/rules.mk (BASE_EXT_SRC): Updated.

* docs/CHANGES: Updated.
/external/freetype/include/freetype/ftimage.h
deadbb53d26f9a9e0a24a66bf1b74a5370f629b4 13-Apr-2004 Werner Lemberg <wl@gnu.org> * include/freetype/config/ftconfig.h: Use CHAR_BIT to define
size of FT_SIZEOF_xxx.


* include/freetype/internal/sfnt.h (TT_Find_SBit_Image_Func,
TT_Load_SBit_Metrics_Func): New typedefs.
(SFNT_Interface): Add find_sbit_image and load_sbit_metrics.

* src/sfnt/sfdriver.c (sfnt_interface): Updated.
* src/sfnt/ttsbit.h (tt_find_sbit_image, tt_load_sbit_metrics): New
declarations.
* src/sfnt/ttsbit.c (find_sbit_image): Renamed to...
(tt_find_sbit_image): This.
Updated all callers.
(load_sbit_metrics): Renamed to...
(tt_load_sbit_metrics): This.
Updated all callers.
/external/freetype/include/freetype/ftimage.h
e42dbcec210a20ba6785a80f3f74577066a5a5fc 09-Nov-2003 Werner Lemberg <wl@gnu.org> * Version 2.1.7 released.
=========================


* builds/unix/ft2unix.h: Fix comments.

* builds/unix/ftconfig.in: Synchronized with ANSI version.
Use `#undef' in templates as recommended in the autoconf
documentation.
Since real `#undef' lines don't survive during configuration, use
`/undef' instead; the postprocessing facility of the
AC_CONFIG_HEADERS autoconf macro converts them to `#undef'.

* builds/unix/install.mk (install): Install Unix version of
`ftconfig.h'.

* builds/unix/unix-cc.in (CFLAGS): Set FT_CONFIG_CONFIG_H macro
to include the correct `ftconfig.h' file.

* builds/unix/ft-munmap.m4 (FT_MUNMAP_DECL): Removed.
(FT_MUNMAP_PARAM): Updated syntax to autoconf 2.59.

* builds/unix/freetype2.m4: Updated syntax to autoconf 2.59.

* builds/unix/configure.ac: Use AC_CONFIG_HEADERS instead of
AC_CONFIG_HEADER to create ftconfig.h, and use second argument
to replace `/undef' with `#undef'.
Don't use FT_MUNMAP_DECL but AC_CHECK_DECLS to check for munmap.
Use AS_HELP_STRING in AC_ARG_WITH.
Update syntax to autoconf 2.59.

* builds/unix/ltmain.sh: Regenerated with `libtoolize --force
--copy' from libtool 1.5.
* builds/unix/aclocal.m4: Regenerated with `aclocal -I .' from
automake 1.7.8.
* builds/unix/configure: Regenerated with autoconf 2.59.
* builds/unix/config.guess, builds/unix/config.sub: Updated from
`config' CVS module at subversions.gnu.org
* builds/unix/install-sh, builds/unix/mkinstalldirs: Updated from
`texinfo' CVS module at subversions.gnu.org.

* builds/vms/ftconfig.h: Synchronized with ANSI version.

* docs/CUSTOMIZE: Fix documentation error.
* docs/CHANGES, docs/VERSION.DLL, docs/release: Updated.

* builds/freetype.mk (refdoc): Updated --title.
/external/freetype/include/freetype/ftimage.h
f9d864a916becf67e6ae0e3f0888fda3a89d419e 25-Jul-2003 Werner Lemberg <wl@gnu.org> * include/freetype/freetype.h (FREETYPE_PATCH): Set to 5.
* builds/unix/configure.ac (version_info): Set to 10:0:3.
* builds/unix/configure: Updated.
* builds/freetype.mk (refdoc): Fix --title.

* docs/CHANGES, docs/VERSION.DLL, README: Updated.

* src/tools/docmaker/sources.py (re_crossref): Fix regular
expression to handle trailing punctuation characters.
* src/tools/docmaker/tohtml.py (make_html_word): Updated.

* docs/release: New file.
/external/freetype/include/freetype/ftimage.h
6aa35cd5e836fb1ae7bf9b50ad7a53311f717265 09-Jul-2003 Werner Lemberg <wl@gnu.org> * builds/freetype.mk (DOC_DIR): New variable.
(refdoc): Use *_DIR variables.
(distclean): Remove documentation files.

* builds/detect.mk (std_setup, dos_setup): Mention `make refdoc'.

* configure: Set DOC_DIR variable.

* builds/freetype.mk (refdoc): New target to build the
documentation.
(.PHONY): Updated.

* include/freetype/freetype.h: Improve documentation of FT_CharMap.
* include/freetype/ftimage,h: Fix documentation of FT_OUTLINE_FLAGS.
* include/freetype/tttables.h: Document FT_Sfnt_Tag.
/external/freetype/include/freetype/ftimage.h
6d798993623602c7877d864b5799424ee17722f3 01-Jul-2003 Werner Lemberg <wl@gnu.org> A new try to synchronize bitmap font access.

include/freetype/freetype.h (FT_Bitmap_Size): `height' is now
defined to return the baseline-to-baseline distance. This was
already the value returned by the BDF and PCF drivers.

The `width' field now gives the average width. I wasn't able to
find something better. It should be taken as informative only.

New fields `size', `x_ppem', and `y_ppem'.

* src/pcf/pcfread.c (pcf_load_font): Updated to properly fill
FT_Bitmap_Size.
Do proper rounding and conversion from 72.27 to 72 points.

* src/bdf/bdfdrivr.c (BDF_Face_Init): Updated to properly fill
FT_Bitmap_Size.
Do proper rounding and conversion from 72.27 to 72 points.

* src/sfnt/sfobjs.c (sfnt_load_face): Updated to properly fill
FT_Bitmap_Size.

* src/winfonts/winfnt.c (FNT_Face_Init): Updated to properly fill
FT_Bitmap_Size.

Redesigning the FNT driver to return multiple faces, not multiple
strikes. At least one font (app850.fon from WinME) contains
different FNT charmaps for its subfonts. Consequently, the previous
design of having multiple bitmap strikes in a single font face fails
since we have only one charmap per face.

* include/freetype/internal/fnttypes.h (FNT_Size_Rec): Removed.
(FNT_FaceRec): Remove `num_fonts' field and replace `fonts' with
`font'.

* src/base/ftwinfnt.c (FT_Get_WinFNT_Header): Updated.

* src/winfonts/winfnt.c (fnt_font_load): Don't set pixel_width equal
to pixel_height.
(fnt_face_done_fonts): Removed.
(fnt_face_get_dll_fonts): Renamed to...
(fnt_face_get_dll_font): This. Add second function argument to
select face index.
Updated to load just one subfont.
(fnt_font_done, FNT_Face_Done): Updated.
(FNT_Face_Init): Handle `face_index'.
Updated.
(FNT_Size_Set_Pixels): Simplified; similar to BDF and PCF, the
bitmap width is now ignored.
(FNT_Load_Glyph): Updated.
Fix glyph index computation.
(winfnt_driver_class): Updated.
/external/freetype/include/freetype/ftimage.h
7a0241049aad6b471effe410c436e9256443883f 18-Jun-2003 Werner Lemberg <wl@gnu.org> * include/freetype/freetype.h (FT_Open_Flags): Replaced with
#defines for the constants.
(FT_Open_Args): Change type of `flags' to FT_UInt.
(FT_GlyphSlot): Move `flags' to FT_Slot_Internal.

* include/freetype/ftimage.h (FT_Outline_Flags, FT_Raster_Flag):
Replaced with #defines for the constants.

* include/freetype/internal/ftobjs.h (FT_Slot_Internal): New
field `flags' (from FT_GlyphSlot).
Updated all affected source files.
(FT_GLYPH_OWN_BITMAP): New macro (from ftgloadr.h).

* include/freetype/internal/ftgloadr.h (FT_GLYPH_OWN_BITMAP): Moved
to ftobjs.h.

* src/base/ftglyph.c (FT_Glyph_To_Bitmap): Use dummy
FT_GlyphSlot_Internal object.
/external/freetype/include/freetype/ftimage.h
98add9e68c172e2c689a420ea3c53bd5c2772b87 18-Sep-2002 Werner Lemberg <wl@gnu.org> Formatting, minor doc fixes.
/external/freetype/include/freetype/ftimage.h
56106fb97d3a6ccc9483eb0d736b1edc2e770d2e 18-Sep-2002 David Turner <david@freetype.org> * include/freetype/freetype.h, include/freetype/ftimage.h,
include/freetype/ftstroker.h, include/freetype/ftsysio.h,
include/freetype/ftsysmem.h, include/freetype/ttnameid.h:
updating the in-source documentation

* src/tools/docmaker/tohtml.py: updating the HTML formatter in the
DocMaker tool

* src/tools/docmaker.py: removing obsolete file
/external/freetype/include/freetype/ftimage.h
5dfbdf76594325baea09634869566195cf5937e8 16-Sep-2002 Werner Lemberg <wl@gnu.org> Making ftgrays.c compile stand-alone again.

* include/freetype/ftimage.h: Include ft2build.h only if _STANDALONE_
isn't defined.
* src/smooth/ftgrays.c [_STANDALONE_]: Define ft_memset,
FT_BEGIN_HEADER, FT_END_HEADER.
(FT_MEM_ZERO): Define.
(TRaster) [GRAYS_USE_GAMMA]: Use `unsigned char' instead of FT_Byte.
(gray_render_span, gray_init_gamma): Don't use `FT_UInt'.
Don't cast with `FT_Byte'.
(grays_init_gamma): Don't use `FT_UInt'.

* src/base/ftinit.c (FT_Add_Default_Modules): Improve error message.
* src/pcf/pcfdriver.c (PCF_Face_Done): Improve tracing message.
* include/freetype/config/ftoption.h (FT_MAX_MODULES): Increased
to 32.
/external/freetype/include/freetype/ftimage.h
bb076bd0fb137fd785d159dfa47dec240865fcda 11-Sep-2002 David Turner <david@freetype.org> cosmetic + typo fixes
/external/freetype/include/freetype/ftimage.h
25f845aa64d720052c92d6f524af7d8eae13db27 10-Sep-2002 David Turner <david@freetype.org> * src/cache/ftccache.i: fixed a bug that prevented compilation in
debug mode of template instantiation

* src/cff/cffparse.c: fixed the CFF table loader. It didn't accept
empty arrays, and this prevented the loading of certain fonts.

* src/pshinter/pshalgo2.c, src/pshinter/pshalgo3.c: adding fix to
prevent seg fault when hints are provided in an empty glyph !!

* include/freetype/ftimage.h: removed incorrect "zft_" definitions
and updated constants documentation comments

* include/freetype/freetype.h (FT_FaceRec): updating documentation
comment. The "descender" value is always *negative*, not positive !
/external/freetype/include/freetype/ftimage.h
6b5c669b7b300ef3dea4ad956885d0d5f5a25920 05-Sep-2002 Werner Lemberg <wl@gnu.org> * src/cid/cidobjs.c (CID_Size_Init): Renamed to...
(cid_size_init): This.
* src/psaux/psobjs.c (T1_Builder_Add_Point1): Renamed to...
(t1_builder_add_point1): This.

Updated all affected code.

* src/pshinter/pshalgo3.c (psh3_hint_align): Fix compiler warnings.
* src/type1/t1gload.c (T1_Compute_Max_Advance): Ditto.

Formatting, minor doc fixes.
/external/freetype/include/freetype/ftimage.h
b08fe2dc7af972a61f4e6bcadd7bb522861faec5 27-Aug-2002 David Turner <david@freetype.org> * massive re-formatting changes to many, many source files. I don't
want to list them all here. The operations performed were all logical
transformations of the sources:

- trying to convert all enums and constants to CAPITALIZED_STYLE, with
#define definitions like

#define my_old_constants MY_NEW_CONSTANT

- big, big update of the documentation comments

* include/freetype/freetype.h, src/base/ftobjs.c, src/smooth/ftsmooth.c,
include/freetype/ftimage.h: adding support for LCD-optimized rendering
though the new constants/enums:

FT_RENDER_MODE_LCD, FT_RENDER_MODE_LCD_V
FT_PIXEL_MODE_LCD, FT_PIXEL_MODE_LCD_V

this is still work in progress, don't expect everything to work correctly
though most of the features have been implemented.

* adding new FT_LOAD_XXX flags, used to specify both hinting and rendering
targets:

FT_LOAD_TARGET_NORMAL :: anti-aliased hinting & rendering
FT_LOAD_TARGET_MONO :: monochrome bitmaps
FT_LOAD_TARGET_LCD :: horizontal RGB/BGR decimated hinting & rendering
FT_LOAD_TARGET_LCD_V :: vertical RGB/BGR decimated hinting & rendering

note that FT_LOAD_TARGET_NORMAL is 0, which means that the default
behaviour of the font engine is _unchanged_.
/external/freetype/include/freetype/ftimage.h
1039234c39e036bd40d891cd9e96715a1be595a7 18-Aug-2002 Werner Lemberg <wl@gnu.org> Adding some comments.
/external/freetype/include/freetype/ftimage.h
3975e2e1f5ae5a616c4a4cc9994d483a15c17495 09-Jan-2002 Werner Lemberg <wl@gnu.org> Formatting.
/external/freetype/include/freetype/ftimage.h
6096b5a11c1c1118b0f99b0929f69b4e5b489034 07-Jan-2002 David Turner <david@freetype.org> updating documentation
/external/freetype/include/freetype/ftimage.h
7cf4c6dfa84f57f3424dbb8a253560157e60c645 12-Jul-2001 Werner Lemberg <wl@gnu.org> formatting
/external/freetype/include/freetype/ftimage.h
415235df1b955940ce85401a076f882e8717ef7b 28-Jun-2001 Werner Lemberg <wl@gnu.org> finishing function header formatting

updating copyrights
/external/freetype/include/freetype/ftimage.h
4a2305cf0c686d58273e264780b48b159e42f604 28-Jun-2001 Werner Lemberg <wl@gnu.org> formatting
/external/freetype/include/freetype/ftimage.h
38364152e61e53d164a2f64fdcdf83860ae9840e 20-Jun-2001 Werner Lemberg <wl@gnu.org> * include/freetype/config/ftconfig.h: Add two more `L's to
constants.
Add missing semicolons.

* builds/toplevel.mk: Do similar change as for
builds/unix/detect.mk.

* include/freetype/freetype.h (FT_ENC_TAG): New version to make it
easier to redefine.
* include/freetype/ftimage.h (FT_IMAGE_TAG): Ditto.

* include/freetype/freetype.h (FT_New_Memory_Face): Updated
/external/freetype/include/freetype/ftimage.h
be5a53654d0a986709745bbb6b87f0b313778006 16-Jun-2001 Werner Lemberg <wl@gnu.org> * include/freetype/freetype.h (FT_ENC_TAG): New macro.
(FT_Encoding_): Use it.
* include/freetype/ftimage.h (FT_IMAGE_TAG): Define it
conditionally.
/external/freetype/include/freetype/ftimage.h
e274cfd3ef1164ebc3c3cf8614f0f0549babe762 04-Mar-2001 Werner Lemberg <wl@gnu.org> * src/autohint/ahtypes.h (AH_Hinter): Add elements
`disable_horz_edges', `disable_vert_edges'.
* src/autohint/ahhint.c (ah_hint_edges_3, ah_hinter_hint_edges): Use
them (and remove static variables with the same names).
* src/pcf/pcfutil.c (BitOrderInvert): Add `const'.
* docs/glnames.py: Updated to latest pstables.h changes.
* src/psnames/pstables.h: Add more `const'.
* src/pcf/pcfutil.c: Ditto.
* src/base/ftglyph.c (FT_Glyph_To_Bitmap): Fixing typo
(FT_Glyph_Done -> FT_Done_Glyph).
* include/freetype/ttnameid.h: Added some new Microsoft language
codes and LCIDs as found in Office Xp.

* builds/hurd/detect.mk: New file. Added support to detect the GNU
Hurd operating system as Unix-like. Fix submitted by Anthony Fok
<foka@debian.org>.

* src/type1/t1gload.c (T1_Load_Glyph): Set glyph control data to the
the Type 1 glyph charstring (used by conversion programs).
Submitted by Ha Shao <hashao@chinese.com>.


* src/base/ftgrays.c (grays_sweep): The function didn't exit
immediately if `num_cells' was 0 as it should. Thanks to Boris for
finding this out.

* src/base/ftglyph.c (FT_Glyph_To_Bitmap): Fixed memory leak when
bitmap rendering fails (thanks to Graham Asher).

* docs/docmaker.py, include/freetype/*.h: Updated the DocMaker
script to support chapters and section block ordering. Updated the
public header files accordingly.
* src/base/ftglyph.c (FT_Glyph_Copy): Advance width and glyph format
were not correctly copied.
/external/freetype/include/freetype/ftimage.h
e231a6588203091276aabd32e4217e452675f3c4 13-Feb-2001 David Turner <david@freetype.org> update docmaker.py to support chapters and section block ordering
updated public header files, as well as "ftchapters.h" which only
contains comment that hold the list of section chapters..
/external/freetype/include/freetype/ftimage.h
38208a6e6b07c8d3e144632c33833e16023b410b 11-Jan-2001 Werner Lemberg <wl@gnu.org> * docs/docmaker.py: Minor improvements to reduce unwanted spaces
and empty lines in output.
* docs/docmaker.py: Improved script to generate table of contents
and index pages. It also supports wildcards on non Unix systems.

* include/freetype/*.h, include/freetype/cache/*.h: Updated comments
to include section definitions/delimitations for the API Reference
generator.

* include/freetype/freetype.h: Moved declaration of
`FT_Generic_Finalizer' and the `FT_Generic' structure to...
* include/freetype/fttypes.h: here.
/external/freetype/include/freetype/ftimage.h
0f5616a801e9401bf2e7abab3c709ada557ea6cf 10-Jan-2001 David Turner <david@freetype.org> updated documentation in public header files
/external/freetype/include/freetype/ftimage.h
18b55f7bbc39f92877f825326441c13f8aaf5e80 10-Jan-2001 David Turner <david@freetype.org> improved the docmaker script
/external/freetype/include/freetype/ftimage.h
859a18a358ccc64451ac834137e61cf26c9da1f8 14-Dec-2000 David Turner <david@freetype.org> support for clipped direct rendering
updated INSTALL file for Win32 case
/external/freetype/include/freetype/ftimage.h
90d9964ec9c6537a69dedbc29f0a6d277707dbcc 09-Dec-2000 Werner Lemberg <wl@gnu.org> * */*.h: Changed body inclusion macro names to start and end with
`__' (those which haven't converted yet). Fixed minor conversion
issues.

* src/winfonts/winfnt.c: Updated to new header inclusion scheme.

* */*.[ch]: Changed source files to adhere to the new
* src/cff/cff.c, src/cff/rules.mk: Updated.

* */*.[ch]: Now using <ft2build.h> as the default build and setup
/external/freetype/include/freetype/ftimage.h
d3c8e064a5587e924f83913e5eae38586b50840c 04-Dec-2000 David Turner <david@freetype.org> - updating the header inclusion scheme to use <ft2build.h> by
default..

- created "builds/devel" to hold developer builds options
for both Win32 and Unix

- fixed a bug in the winfonts driver, where the glyph image format
wasn't set correctly..
/external/freetype/include/freetype/ftimage.h
4c80f0c9ca0b24c9cd082d2d6b09465e2d04c6a8 01-Dec-2000 Werner Lemberg <wl@gnu.org> * INSTALL: Revised.
* builds/compiler/bcc-dev.mk, builds/compiler/visualage.mk,
builds/compiler/bcc.mk, builds/win32/w32-bcc.mk,
builds/win32/w32-bccd.mk: Revised.
* include/freetype/config/ftbuild.h,
include/freetype/internal/internal.h: Revised.
* include/freetype/ftimage.h: Updated to new header inclusion scheme.


* builds/toplevel.mk (.PHONY): Adding `distclean'.
* builds/unix/detect.mk (.PHONY): Adding `devel', `unix', `lcc',
`setup'.


* INSTALL: Slightly updated the quick starter documentation to
include IDE compilation, prevent against BSD Make, and specify "make
setup" instead of a single "make" for build configuration.
* include/config/ftbuild.h, include/internal/internal.h: Added new
configuration files used to determine the location of all public,
configuration, and internal header files for FreeType 2. Modified
all headers under "include/freetype" to reflect this change. Note
that we still need to change the library source files themselves
though.
builds/win32/detect.mk: Added new files to support compilation with
the free Borland C++ command-line compiler. Modified the detection
rules to recognize the new "bcc32" target in "make setup bcc32".
src/truetype/ttobjs.c, src/truetype/ttgload.c,
src/truetype/ttinterp.c: Fixed a few comparisons that Borland C++
didn't really like. Basically, this compiler complains when FT_UInt
is compared to FT_UShort (apparently, it promotes `UShort' to `Int'
in these cases).
/external/freetype/include/freetype/ftimage.h
f50c2954d4706af4762f7f40c6e933bcef507528 22-Sep-2000 Werner Lemberg <wl@gnu.org> Fixed typo in ftimage.h

Fixed sbit on/off flag in cache code.
/external/freetype/include/freetype/ftimage.h
0456354658b844ec9f0a23cce83735a0d0cf21f8 24-Jul-2000 Werner Lemberg <wl@gnu.org> `make install' is available now.

Formatting.
/external/freetype/include/freetype/ftimage.h
5aa646c565b963d44e295162dbe27c039fdd2e1b 14-Jul-2000 Werner Lemberg <wl@gnu.org> Formatting.

Fixing a bug in FT_Get_Kerning().

Moving FT_Get_Module_Interface() to ftoutln.c.
/external/freetype/include/freetype/ftimage.h
670caab8554dd0458ac2e59687223544e09ce15d 10-Jul-2000 Werner Lemberg <wl@gnu.org> Formatting.
/external/freetype/include/freetype/ftimage.h
bd5ae40006959667299f09f13defa6f025caa744 05-Jul-2000 Werner Lemberg <wl@gnu.org> Run g++ on the FreeType library. This should make the use of code in
C++ programs easier:

Renamed FT_WordXX to FT_UIntXX.

Changed a lot of void* to FT_Byte* if related to i/o streams -- FreeType
always accesses streams byte-wise, so this makes sense IMHO.

Added a lot of #ifdef __cplusplus to header files (and removed a few).

Other minor syntax fixes (mostly casts).

Replaced the variable `private' with `private_dict' -- `private' is
reserved in C++.
/external/freetype/include/freetype/ftimage.h
f0df85ba2a573c6c5c602667e9f91ef3b00c1d20 22-Jun-2000 David Turner <david@freetype.org> - MAJOR INTERNAL REDESIGN:

A lot of internal modifications have been performed lately on the
source in order to provide the following enhancements:

- more generic module support:

The FT_Module type is now defined to represent a handle to a given
module. The file <freetype/ftmodule.h> contains the FT_Module_Class
definition, as well as the module-loading public API

The FT_Driver type is still defined, and still represents a pointer
to a font driver. Note that FT_Add_Driver is replaced by FT_Add_Module,
FT_Get_Driver by FT_Get_Module, etc..


- support for generic glyph image types:

The FT_Renderer type is a pointer to a module used to perform various
operations on glyph image.

Each renderer is capable of handling images in a single format
(e.g. ft_glyph_format_outline). Its functions are used to:

- transform an glyph image
- render a glyph image into a bitmap
- return the control box (dimensions) of a given glyph image


The scan converters "ftraster.c" and "ftgrays.c" have been moved
to the new directory "src/renderer", and are used to provide two
default renderer modules.

One corresponds to the "standard" scan-converter, the other to the
"smooth" one.

The current renderer can be set through the new function
FT_Set_Renderer.

The old raster-related function FT_Set_Raster, FT_Get_Raster and
FT_Set_Raster_Mode have now disappeared, in favor of the new:

FT_Get_Renderer
FT_Set_Renderer

see the file <freetype/ftrender.h> for more details..

These changes were necessary to properly support different scalable
formats in the future, like bi-color glyphs, etc..


- glyph loader object:

A new internal object, called a 'glyph loader' has been introduced
in the base layer. It is used by all scalable format font drivers
to load glyphs and composites.

This object has been created to reduce the code size of each driver,
as each one of them basically re-implemented its functionality.

See <freetype/internal/ftobjs.h> and the FT_GlyphLoader type for
more information..



- FT_GlyphSlot had new fields:

In order to support extended features (see below), the FT_GlyphSlot
structure has a few new fields:

linearHoriAdvance: this field gives the linearly scaled (i.e.
scaled but unhinted) advance width for the glyph,
expressed as a 16.16 fixed pixel value. This
is useful to perform WYSIWYG text.

linearVertAdvance: this field gives the linearly scaled advance
height for the glyph (relevant in vertical glyph
layouts only). This is useful to perform
WYSIWYG text.

Note that the two above field replace the removed "metrics2" field
in the glyph slot.

advance: this field is a vector that gives the transformed
advance for the glyph. By default, it corresponds
to the advance width, unless FT_LOAD_VERTICAL_LAYOUT
was specified when calling FT_Load_Glyph or FT_Load_Char

bitmap_left: this field gives the distance in integer pixels from
the current pen position to the left-most pixel of
a glyph image WHEN IT IS A BITMAP. It is only valid
when the "format" field is set to
"ft_glyph_format_bitmap", for example, after calling
the new function FT_Render_Glyph.

bitmap_top: this field gives the distance in integer pixels from
the current pen position (located on the baseline) to
the top-most pixel of the glyph image WHEN IT IS A
BITMAP. Positive values correspond to upwards Y.

loader: this is a new private field for the glyph slot. Client
applications should not touch it..


- support for transforms and direct rendering in FT_Load_Glyph:

Most of the functionality found in <freetype/ftglyph.h> has been
moved to the core library. Hence, the following:

- a transform can be specified for a face through FT_Set_Transform.
this transform is applied by FT_Load_Glyph to scalable glyph images
(i.e. NOT TO BITMAPS) before the function returns, unless the
bit flag FT_LOAD_IGNORE_TRANSFORM was set in the load flags..


- once a glyph image has been loaded, it can be directly converted to
a bitmap by using the new FT_Render_Glyph function. Note that this
function takes the glyph image from the glyph slot, and converts
it to a bitmap whose properties are returned in "face.glyph.bitmap",
"face.glyph.bitmap_left" and "face.glyph.bitmap_top". The original
native image might be lost after the conversion.


- when using the new bit flag FT_LOAD_RENDER, the FT_Load_Glyph
and FT_Load_Char functions will call FT_Render_Glyph automatically
when needed.
/external/freetype/include/freetype/ftimage.h
e49ab25c0822e1043be29e836944c7886f4e8990 17-May-2000 David Turner <david@freetype.org> formatting - removed trailing spaces
/external/freetype/include/freetype/ftimage.h
07c52d255c83583085230dbddb4086e47f678ca8 17-May-2000 David Turner <david@freetype.org> copyright update
/external/freetype/include/freetype/ftimage.h
efce08d67c1c2a8bf0d0d58463e754c746433d23 11-May-2000 David Turner <david@freetype.org> major re-organisation of the FreeType 2 directory hierarchy
/external/freetype/include/freetype/ftimage.h