History log of /external/freetype/src/raster/ftraster.c
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
0a0c22569deab933df21127e75db5c81f724f292 02-Jan-2018 Werner Lemberg <wl@gnu.org> Update copyright year.
/external/freetype/src/raster/ftraster.c
563ae780229aef5b6f6ae361211d5fb733de8321 04-Jan-2017 Werner Lemberg <wl@gnu.org> Update copyright year.
/external/freetype/src/raster/ftraster.c
37c72f66a56887ec25f4f541337b00e8ba69b9ee 25-Dec-2016 Werner Lemberg <wl@gnu.org> Minor formatting.
/external/freetype/src/raster/ftraster.c
45cad2e5e15c08b682e87b5636cccfc941b3fe7d 28-Sep-2016 Werner Lemberg <wl@gnu.org> More FT_ZERO usage.

* src/gxvalid/gxvcommn.c (gxv_ClassTable_validate):
s/ft_memset/FT_MEM_ZERO/.

* src/psaux/t1decode.c (t1_decoder_parse_charstrings):
s/ft_memset/FT_ARRAY_ZERO/.

* src/raster/ftraster.c (FT_ZERO): Define.
(ft_black_new): Use it.
* src/raster/ftrend1.c (ft_raster1_get_cbox):
s/FT_MEM_ZERO/FT_ZERO/.

* src/smooth/ftgrays.c (FT_ZERO): Define.
(gray_raster_new): Use it.
* src/smooth/ftsmooth.c (ft_smooth_get_cbox):
s/FT_MEM_ZERO/FT_ZERO/.
/external/freetype/src/raster/ftraster.c
c95b7652d8db19530c91e80d23c288bbf27f1b72 17-Sep-2016 Werner Lemberg <wl@gnu.org> s/0/NULL/ for function pointers; comments, formatting.
/external/freetype/src/raster/ftraster.c
3e1f7bc506652bbeb89632733430a72a92dde2cd 19-Jun-2016 Alexei Podtelezhnikov <apodtele@gmail.com> Fresh typos.
/external/freetype/src/raster/ftraster.c
72a0653142420a060296ed261406ea61342fae8b 18-Jun-2016 Alexei Podtelezhnikov <apodtele@gmail.com> [raster, smooth] Handle FT_RENDER_POOL_SIZE better.

* src/raster/ftraster.c (FT_MAX_BLACK_POOL): New macro.
(ft_black_render): Updated.
* src/smooth/ftgrays.c (FT_MAX_GRAY_POOL): New macro.
(gray_raster_render): Updated.
/external/freetype/src/raster/ftraster.c
31f2dc19462774dd4e5b55f80cafcee07077e744 23-Mar-2016 Werner Lemberg <wl@gnu.org> [raster, smooth] Directly test outline size (#47500).

This improves stand-alone compilation.

* src/base/ftoutln.c (FT_Outline_Render): Move cbox size test to...

* src/raster/ftraster.c (ft_black_render), src/smooth/ftgrays.c
(gray_raster_render): ...these functions.
/external/freetype/src/raster/ftraster.c
e9181aba2c5594f5fedba649170c6e8efbabdea2 23-Mar-2016 Werner Lemberg <wl@gnu.org> [raster, smooth] Fix some clang sanitizer runtime issues.

* src/raster/ftraster.c (ft_black_reset, ft_black_set_mode,
ft_black_render): Harmonize signatures with `ftimage.h'.

* src/smooth/ftgrays.c (gray_raster_render, gray_raster_reset):
Ditto.
/external/freetype/src/raster/ftraster.c
9adeab6452a220270c311f756d55acd734fd52ea 13-Jan-2016 Werner Lemberg <wl@gnu.org> Update copyright year.
/external/freetype/src/raster/ftraster.c
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/src/raster/ftraster.c
52aad9dfc6568b7eafefead5b49bad7e61f7938c 29-Sep-2015 Werner Lemberg <wl@gnu.org> [raster] Minor style fix.
/external/freetype/src/raster/ftraster.c
5a6dc87240905f0e55568678e0fbf93a51242051 05-Sep-2015 Alexei Podtelezhnikov <apodtele@gmail.com> [raster,smooth] Microoptimizations.

* src/raster/ftraster.c (Insert_Y_Turn, Finalize_Profile_Table,
Beziier_Up, ): Use do-while loops.

* src/smooth/ftgrays.c (gray_render_scanline, gray_render_line,
gray_convert_glyph): Ditto.
/external/freetype/src/raster/ftraster.c
6343ba22a36ab264fa061cab3b87662d5b7b7114 01-Aug-2015 Werner Lemberg <wl@gnu.org> Fix some bugs found by clang's `-fsanitize=undefined' (#45661).

* src/base/ftrfork.c (FT_Raccess_Get_HeaderInfo): Only accept
positive values from header.
Check overflow.

* src/base/ftoutln.c (SCALED): Correctly handle left-shift of
negative values.

* src/bdf/bdf.h (_bdf_glyph_modified, _bdf_set_glyph_modified,
_bdf_clear_glyph_modified): Use unsigned long constant.

* src/bdf/bdfdrivr.c (BDF_Size_Select, BDF_Glyph_Load): Don't
left-shift values that can be negative.

* src/pcf/pcfdrivr.c (PCF_Size_Select, PCF_Glyph_Load): Don't
left-shift values that can be negative.

* src/raster/ftraster.c (SCALED): Correctly handle left-shift of
negative values.

* src/sfnt/ttsbit.c (tt_face_load_strike_metrics): Don't left-shift
values that can be negative.

* src/truetype/ttgload.c (TT_Load_Composite_Glyph,
compute_glyph_metrics, load_sbit_image): Don't left-shift values
that can be negative.
/external/freetype/src/raster/ftraster.c
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/src/raster/ftraster.c
8502c98b15390a397de2d5826c9d8b017d7fc208 22-Jun-2015 Werner Lemberg <wl@gnu.org> Fix Savannah bug #45097.

We no longer `pollute' the namespace of possible header file names;
instead we move `ft2build.h' up by one level so that it gets
installed in the default include directory (e.g.,
/usr/local/include). After this commit, only `ft2build.h' stays in
the compiler's include path.

No visible changes for the user who follows the standard FreeType
header inclusion rules.

* include/*: Move to ...
* include/freetype2/*: This directory, except `ft2build.h'.

* CMakeLists.txt (PUBLIC_HEADERS, PUBLIC_CONFIG_HEADERS,
PRIVATE_HEADERS), 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/install.mk (install, uninstall),
builds/unix/freetype2.in: Updated.

* builds/unix/freetype-config.in: Updated.
Emit -I directory only if it is not `/usr/include'.

* 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/src/raster/ftraster.c
d1ade6d11a1e31253180a19a2e0c6c1af0a8563f 02-Jun-2015 Werner Lemberg <wl@gnu.org> [raster] Add more tracing.

* src/raster/ftraster.c (FT_TRACE7) [_STANDALONE_]: Define.
(Vertical_Sweep_Span, Vertical_Sweep_Drop, Horizontal_Sweep_Span,
Horizontal_Sweep_Drop, Render_Glyph): Add tracing calls.
/external/freetype/src/raster/ftraster.c
851e815127d47e85a575e1be7ff8cc265d5d7e79 01-Mar-2015 Werner Lemberg <wl@gnu.org> Various compiler warning fixes for `make multi'.

* src/autofit/afcjk.c (af_cjk_hints_compute_blue_edges),
src/autofit/aflatin.c (af_latin_hint_compute_blue_edges,
af_latin_hint_edges), src/autofit/aflatin2.c
(af_latin2_hints_compute_blue_edges, af_latin2_hint_edges): Declare
as `static'.

* src/cache/ftccmap.c (FTC_CMAP_QUERY_HASH, FTC_CMAP_NODE_HASH):
Removed. Unused.
* src/cache/ftcimage.c: Include FT_INTERNAL_OBJECTS_H.
* src/cache/ftcmanag.c (FTC_LRU_GET_MANAGER): Removed. Unused.

* src/cff/cf2intrp.c: Include `cf2intrp.h'.
* src/cff/cffdrivr.c (PAIR_TAG): Removed. Unused.

* src/gzip/ftgzip.c (NO_DUMMY_DECL): Removed. Unused.

* src/psaux/afmparse.c (afm_parser_read_int): Declare as `static'.

* src/pshinter/pshalgo.c (STRONGER, PSH_ZONE_MIN, PSH_ZONE_MAX):
Removed. Unused.

* src/raster/ftraster.c (Render_Glyph): Declare as `static'.

* src/sfnt/ttpost.c (load_format_20): Fix signedness warning.

* src/truetype/ttdriver.c (PAIR_TAG): Removed. Unused.
* src/truetype/ttsubpix.c (is_member_of_family_class,
is_member_of_style_class): Declare as `static'.

* src/type1/t1gload.c (T1_Parse_Glyph_And_Get_Char_String): Declare
as `static'.
* src/type1/t1load.c (mm_axis_unmap, mm_weights_unmap): Declare as
`static'.
(T1_FIELD_COUNT): Removed. Unused.
* src/type1/t1parse.h (T1_Done_Table): Removed. Unused.

* src/type42/t42parse.c (T1_Done_Table): Removed. Unused.
/external/freetype/src/raster/ftraster.c
4d1f7af17b4b0966d5ed7fab215fc855fe459345 23-Feb-2015 Werner Lemberg <wl@gnu.org> [smooth, raster] Re-enable standalone compilation.

* src/raster/ftraster.c (FT_RENDER_POOL_SIZE, FT_MAX)
[_STANDALONE_]: Define macros.

* src/smooth/ftgrays.c (FT_RENDER_POOL_SIZE, FT_MAX, FT_ABS,
FT_HYPOT) [_STANDALONE_]: Define macros.
/external/freetype/src/raster/ftraster.c
a974e9acdf9c436a8520dd883179ae19d93a1c17 22-Feb-2015 Werner Lemberg <wl@gnu.org> * src/raster/ftraster.c: Use the file's typedefs everywhere.
/external/freetype/src/raster/ftraster.c
ca96fe01fa7687d43c062f5d48cf8fa919170be4 22-Feb-2015 Werner Lemberg <wl@gnu.org> [raster] Signedness fixes.

* src/raster/ftraster.c, src/raster/ftrend1.c: Apply.
/external/freetype/src/raster/ftraster.c
264b5e46c0d166c11360eb6c29edf2c178bb87c7 23-Jan-2015 Behdad Esfahbod <behdad@behdad.org> [raster] Handle `FT_RASTER_FLAG_AA' correctly.

This fixes a breakage caused by the commit `[raster] Remove
5-level gray AA mode from monochrome rasterizer.'.

Problem reported by Markus Trippelsdorf <markus@trippelsdorf.de> and
octoploid <octoploid@yandex.com>.

* src/raster/ftraster.c (ft_black_render): Handle
`FT_RASTER_FLAG_AA'.

* src/raster/ftrend1.c (ft_raster1_render): Remove gray AA mode
remnants.
/external/freetype/src/raster/ftraster.c
f57fc59e016217687362b6fbbc4842fab932175c 17-Jan-2015 Werner Lemberg <wl@gnu.org> Run `src/tools/update-copyright'.
/external/freetype/src/raster/ftraster.c
c242fe41ec634af32845cd17bcd1a0ee2653feb9 14-Jan-2015 Behdad Esfahbod <behdad@behdad.org> [raster] Fix uninitialized memory access.

Apparently `ras.cProfile' might be uninitialized. This will be the
case if `ras.top == ras.cProfile->offset', as can be seen in
`End_Profile'. The overshoot code introduced in a change `Fix B/W
rasterization of subglyphs with different drop-out modes.' (from
2009-06-18) violated this, accessing `ras.cProfile->flags'
unconditionally just before calling `End_Profile' (which then
detected that `cProfile' is uninitialized and didn't touch it).

This was harmless, and was not detected by valgrind before because
the objects were allocated on the `raster_pool', which was always
initialized. With recent change to allocate raster buffers on the
stack, valgrind now reported this invalid access.

* src/raster/ftraster.c (Convert_Glyph): Don't access an
uninitialized `cProfile'.
/external/freetype/src/raster/ftraster.c
a773c3041e024975241d110989f617f032c4b7e3 14-Jan-2015 Behdad Esfahbod <behdad@behdad.org> [raster] Allocate render pool for mono rasterizer on the stack.

Instead of using the `render_pool' member of `FT_Library' that is
provided down to the rasterizer, completely ignore that and allocate
needed objects on the stack instead.

With this patch, rasterizing glyphs from different faces from
different threads doesn't crash in the monochrome rasterizer.

* src/raster/ftraster.c (black_TRaster): Remove `buffer',
`buffer_size', and `worker' members.

(ft_black_render): Create `buffer' locally.
(ft_black_reset): Updated.
/external/freetype/src/raster/ftraster.c
8dc863587440d0a1d2eec2a7973a8eda99d2767d 14-Jan-2015 Behdad Esfahbod <behdad@behdad.org> [raster] Remove 5-level gray AA mode from monochrome rasterizer.

It was off by default and couldn't be turned on at runtime. And the
smooth rasterizer superceded it over ten years ago. No point in
keeping. Comments suggested that it was there for compatibility
with FreeType 1.

550 lines down.

* src/raster/ftraster.c (FT_RASTER_OPTION_ANTI_ALIASING,
RASTER_GRAY_LINES): Remove macros and all associated code.

(black_TWorker): Remove `gray_min_x' and `gray_max_x'.
(black_TRaster): Remove `grays' and `gray_width'.

(Vertical_Sweep_Init, Vertical_Sweep_Span, Vertical_Sweep_Drop,
ft_black_render): Updated.

* src/raster/ftrend1.c (ft_raster1_render): Simplify code.
(ft_raster5_renderer_class): Removed.
/external/freetype/src/raster/ftraster.c
3e86711ebf6efdea405f8f35bc34baf737b744df 25-Nov-2014 Werner Lemberg <wl@gnu.org> [Savannah bug #43682] Adjust some renderer callbacks.

* src/raster/ftraster.c (ft_black_set_mode): Change return type to
`int' to stay in sync with `FT_Renderer_SetModeFunc' prototype.

* src/smooth/ftgrays.c (gray_raster_set_mode): New dummy function
for orthogonality.
(ft_grays_raster): Use it.
/external/freetype/src/raster/ftraster.c
b3500af717010137046ec4076d1e1c0641e33727 19-Nov-2014 Werner Lemberg <wl@gnu.org> Change some fields in `FT_Bitmap' to unsigned type.

This doesn't break ABI.

* include/ftimage.h (FT_Bitmap): Make `rows', `width', `num_grays',
`pixel_mode', and `palette_mode' unsigned types.

* src/base/ftbitmap.c: Updated.
(FT_Bitmap_Copy): Fix casts.

* src/cache/ftcsbits.c, src/raster/ftraster.c, src/sfnt/pngshim.c:
Updated.
/external/freetype/src/raster/ftraster.c
426f0e0453f172dc411783356834fb6f01ef6cd7 24-Apr-2014 Werner Lemberg <wl@gnu.org> Minor.
/external/freetype/src/raster/ftraster.c
f193637f63738eb451a6a23be70d763e78bc0c11 23-Apr-2014 Werner Lemberg <wl@gnu.org> * src/raster/ftraster.c (Vertical_Sweep_Span): Use drop-out mode.

This spot has been missed while introducing support for various
drop-out modes years ago (including no drop-out mode, which this
commit fixes).

Problem reported by Patrick Thomas <pthomas505@gmail.com>.
/external/freetype/src/raster/ftraster.c
7be2a94a50109773459414687151d70a99a1b6bd 08-Feb-2014 Sean McBride <sean@rogue-research.com> Fix clang static analyzer and compiler warnings.

* src/autofit/afhints.c (af_glyph_hints_align_weak_points),
src/autofit/afloader (af_loader_load_g) <FT_GLYPH_FORMAT_COMPOSITE>,
src/base/ftcalc.c (FT_MSB), src/base/ftoutln.c
(FT_Outline_Decompose), src/bdf/bdfdrivr.c (bdf_interpret_style),
src/cff/cffparse.c (cff_parse_integer), src/cid/cidparse.c
(cid_parser_new), src/pfr/pfrload.c (pfr_phy_font_load),
src/raster/ftraster.c (Decompose_Curve), src/sfnt/sfdriver.c
(sfnt_get_ps_name), src/sfnt/ttcmap.c (tt_cmap12_next,
tt_cmap13_next), src/smooth/ftgrays.c (gray_hline): Remove dead
code.

* src/autofit/afmodule.c (af_property_get_face_globals,
af_property_set, af_property_get), src/base/ftbitmap.c
(ft_gray_for_premultiplied_srgb_bgra): Make functions static.

* src/base/ftobjs.c (ft_remove_renderer): Protect against
library == NULL.
(ft_property_do): Make function static.

* src/base/ftrfork.c: Include `ftbase.h'.

* src/sfnt/ttsbit.c (tt_face_load_sbix_image)
[!FT_CONFIG_OPTION_USE_PNG], src/type1/t1gload.c
(T1_Compute_Max_Advance): Avoid compiler warning.

* src/truetype/ttinterp.c (TT_New_Context): Reduce scope of
variable.
/external/freetype/src/raster/ftraster.c
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/src/raster/ftraster.c
c06889eb2c42b40d9ef557b03c9b57d6057e0f12 12-Jun-2013 Werner Lemberg <wl@gnu.org> More compiler warning fixes.

*/*: Use cast to `FT_Bool' (or `Bool') where appropriate.
/external/freetype/src/raster/ftraster.c
badf317840acc5c6224318e447d1d3d30a1f4460 06-Jun-2013 Werner Lemberg <wl@gnu.org> Next round of compiler fixes.

* builds/win32/ftdebug.c, builds/wince/ftdebug.c (ft_debug_init):
Add proper cast.

* include/freetype/internal/ftserv.h (FT_SERVICE_UNAVAILABLE): Fix
cast.
* include/freetype/internal/ftstream.h: Decorate stream and frame
macros with `FT_Long' and `FT_ULong' as appropriate.

* src/base/ftrfork.c (raccess_guess_darwin_hfsplus,
raccess_guess_darwin_newvfs): Use cast.

* src/bdf/bdflib.c (_bdf_set_default_spacing): Use cast.

* src/cache/ftcmanag.c (FTC_Manager_Check): Fix cast.
* src/cache/ftcmanag.h (FTC_ManagerRec): Ditto.

* src/cff/cf2arrst.c (cf2_arrstack_setNum_Elements): Use cast.
* src/cff/cf2ft.c (cf2_freeSeacComponent): Ditto.
* src/cff/cffobjs.c (remove_subset_prefix, remove_style): Ditto.

* src/cid/cidparse.c (cid_parser_new): Use cast.

* src/pcf/pcfdrivr.c (PCF_Glyph_Load): Use cast.

* src/psaux/psobjs.c (reallocate_t1_table): Fix argument type.

* src/raster/ftraster.c (ft_black_reset): Use cast.

* src/truetype/ttgxvar.c (FT_Stream_FTell): Use cast.
(ALL_POINTS): Fix cast.

* src/type1/t1driver.c (t1_ps_get_font_value): Add casts.
* src/type1/t1parse.c (T1_Get_Private_Dict): Add cast.
/external/freetype/src/raster/ftraster.c
8d8508e4d25eee31eef9c39bf790320bfd429d08 04-Jun-2013 Werner Lemberg <wl@gnu.org> Missed some cppcheck items.
/external/freetype/src/raster/ftraster.c
dc624ca4dcac1cbfb6870414e6aaedba43aeb9ee 04-Jun-2013 Werner Lemberg <wl@gnu.org> Apply fixes for cppcheck nitpicks.

http://cppcheck.sourceforge.net/

Note that the current version heavily chokes on FreeType, delivering
even wrong results. I will report those issues to the cppcheck team
so that a newer version gives improved results hopefully.

*/* Improve variable scopes.
*/* Remove redundant initializations which get overwritten.

* src/base/ftmac.c ,builds/mac/ftmac.c (count_faces_scalable):
Remove unused variable.

* src/base/ftdbgmem.c (ft_mem_table_destroy): `table' can't be zero.

* src/gxvalid/gxvkern.c (gxv_kern_subtable_fmt1_entry_validate):
Remove functionless code.

* src/tools/ftrandom.c (main): Fix memory leak.
/external/freetype/src/raster/ftraster.c
073a0e2901e931d457f205d870ee77eb0ed763cb 05-May-2013 Werner Lemberg <wl@gnu.org> [raster] Fix clang issues.

Fix suggested by <octoploid@yandex.com>.

* src/raster/ftraster.c (ULong): New typedef.
(SCALED): Add proper cast.
/external/freetype/src/raster/ftraster.c
762bf19ab7416a40c8c3cf553bd4f02eec45c3b2 24-Mar-2013 Werner Lemberg <wl@gnu.org> Typo.
/external/freetype/src/raster/ftraster.c
e3c9301581a450fae5db73a3b94b10ed6a0aeb5e 14-Mar-2013 Werner Lemberg <wl@gnu.org> */*: Use FT_Err_Ok only.

This is a purely mechanical conversion.
/external/freetype/src/raster/ftraster.c
059bc335ce42220b222763379e89d0cbf2b949eb 14-Mar-2013 Werner Lemberg <wl@gnu.org> */*: Use `FT_THROW'.

This is essentially a mechanical conversion, adding inclusion of
`FT_INTERNAL_DEBUG_H' where necessary, and providing the macros for
stand-alone compiling modes of the rasterizer modules.

To convert the remaining occurrences of FT_Err_XXX and friends it is
necessary to rewrite the code. Note, however, that it doesn't harm
if some cases are not handled since FT_THROW is a no-op.
/external/freetype/src/raster/ftraster.c
495bd3cc4f54f5f4604709391a716fcd0c033277 06-Jun-2012 Werner Lemberg <wl@gnu.org> [ftraster] Fix rounding issue causing visual artifacts.

Problem reported by jola <hans-jochen.lau@lhsystems.com>; see

http://lists.gnu.org/archive/html/freetype-devel/2012-05/msg00036.html

* src/raster/ftraster.c (SMulDiv_No_Round): New macro.
(Line_Up): Use it.
* src/raster/ftmisc.h (FT_MulDiv_No_Round): Copied from `ftcalc.c'.
/external/freetype/src/raster/ftraster.c
95111433853850345e4c3103b3bdf28a525ebb92 22-Feb-2012 Vinnie Falco <vinnie.falco@gmail.com> Prepare source code for amalgamation (4/6).

* src/smooth/ftgrays.c, src/raster/ftraster.c: Undefine RAS_ARG,
RAS_ARGS, RAS_VAR, and RAS_VARS before defining it.

* src/smooth/ftgrays.c: s/TRaster/black_TRaster/,
s/PRaster/black_PRaster/.
* src/raster/ftraster.c: s/TRaster/gray_TRaster/,
s/PRaster/gray_PRaster/.
/external/freetype/src/raster/ftraster.c
d55f16df11121ef4d5af8dfa0d7670d0bb0e238f 21-Feb-2012 Vinnie Falco <vinnie.falco@gmail.com> Prepare source code for amalgamation (3/6).

* src/smooth/ftgrays.c: s/TWorker/black_TWorker/,
s/PWorker/black_PWorker/.
* src/raster/ftraster.c: s/TWorker/gray_TWorker/,
s/PWorker/gray_PWorker/
/external/freetype/src/raster/ftraster.c
5ccebc4e1eb71e5ee82a88edb9cd553e08fc69b9 21-Feb-2012 Vinnie Falco <vinnie.falco@gmail.com> Prepare source code for amalgamation (2/6).

* src/smooth/ftgrays.c, src/raster/ftraster.c: Undefine FLOOR,
CEILING, TRUNC, and SCALED before defining it.
/external/freetype/src/raster/ftraster.c
126405adde4caf69ea6eacf478ce805f6635f42a 21-Feb-2012 Vinnie Falco <vinnie.falco@gmail.com> Prepare source code for amalgamation (1/6).

See discussion starting at

http://lists.gnu.org/archive/html/freetype-devel/2012-01/msg00037.html

* src/smooth/ftgrays.c: s/TBand/gray_TBand/.
* src/raster/ftraster.c: s/TBand/black_TBand/.
/external/freetype/src/raster/ftraster.c
c52f44d4fdb6ea11cb1ab316f1924a5dd1bf7444 30-Nov-2011 Werner Lemberg <wl@gnu.org> Whitespace.
/external/freetype/src/raster/ftraster.c
0039d0120e08bdcbe88dac66f65003d3ed5251b4 14-Jan-2011 Werner Lemberg <wl@gnu.org> [raster] Add undocumented drop-out rule to the other bbox side also.

* src/raster/ftraster.c (Vertical_Sweep_Drop,
Horizontal_Sweep_Drop): Implement it.
/external/freetype/src/raster/ftraster.c
c02485cb725f94ea0487351596adc1e3ef8d1ae6 13-Jan-2011 Werner Lemberg <wl@gnu.org> [raster] Reduce jitter value.

This catches a rendering problem with glyph `x' from Tahoma at
10ppem. It seems that the increase of the precision in the change
from 2009-06-11 makes a larger jitter value unnecessary.

* src/raster/ftraster.c (Set_High_Precision): Implement it.
/external/freetype/src/raster/ftraster.c
29bc310563d4c8c728adfa78e18af9e4d3c89116 13-Jan-2011 Werner Lemberg <wl@gnu.org> [raster] Handle drop-outs at glyph borders according to Microsoft.

If a drop-out rule would switch on a pixel outside of the glyph's
bounding box, use the right (or top) pixel instead. This is an
undocumented feature, but some fonts like `Helvetica Neue LT Com 65
Medium' heavily rely on it.

Thanks to Greg Hitchcock who explained this behaviour.

* src/raster/ftraster.c (Vertical_Sweep_Drop,
Horizontal_Sweep_Drop): Implement it.
/external/freetype/src/raster/ftraster.c
6a96bbe2752cf306ddb096a1be69d22888ec57f5 28-Oct-2010 Werner Lemberg <wl@gnu.org> [ftraster] Minor fixes.

Reported by Tom Bishop <wenlin@wenlin.com>.

* src/raster/ftraster.c (ULong): Remove unused typedef.
(TWorker): Remove unused variable `precision_mask'.
/external/freetype/src/raster/ftraster.c
f0987abdc24b136100656f49ecfe3997869cd93d 28-Oct-2010 Werner Lemberg <wl@gnu.org> [ftraster] Fix rendering.

Problem reported by Tom Bishop <wenlin@wenlin.com>; see
thread starting with

http://lists.gnu.org/archive/html/freetype/2010-10/msg00049.html

* src/raster/ftraster.c (Line_Up): Replace FMulDiv with SMulDiv
since the involved multiplication exceeds 32 bits.
/external/freetype/src/raster/ftraster.c
46c371c2c7398d25fa614065c28a27ebb4b5d489 24-Oct-2010 suzuki toshiya <mpsuzuki@hiroshima-u.ac.jp> Replace "%lx" for memory address by "%p", LLP64 platforms.

On LLP64 platforms (e.g. Win64), long (32-bit) cannot cover
the memory address (64-bit). Also the casts from the pointer
type to long int should be removed to preserve the address
correctly.

* src/raster/ftraster.c (New_Profile): Replace "%lx" by "%p".
(End_Profile) Ditto.
* src/truetype/ttinterp.c (Init_Context): Ditto.
/external/freetype/src/raster/ftraster.c
12cf031644ddd2531fa315e948aad24499adb251 29-Aug-2010 Werner Lemberg <wl@gnu.org> [ftraster] Pacify compiler.

* src/raster/ftraster.c (ft_black_new) [_STANDALONE_]: `memory' is
not used.
/external/freetype/src/raster/ftraster.c
c9de9cbd56caea5ceeab8d984e71441803c41aef 06-Aug-2010 Yuriy Kaminskiy <yumkam@mail.ru> [raster] Fix valgrind warning.

* src/raster/ftraster.c (Decompose_Curve) <default>: Access point[0]
only if we don't hit `limit'.
/external/freetype/src/raster/ftraster.c
c8f5b98be26df911f41d804d69ccb6d4bf818a53 12-Jul-2010 Werner Lemberg <wl@gnu.org> Remove C++ warnings.

*/*: Initialize pointers where necessary to make g++ happy.
/external/freetype/src/raster/ftraster.c
7baeeafcec7fd2267191937e14c1f753424beb89 05-Apr-2010 Ken Sharp <ken.sharp@artifex.com> Fix Savannah bug #29335.

* src/raster/ftraster.c (Line_Up): Use slow multiplication to
prevent overflow. This shouldn't have any serious impact on speed,
however.
/external/freetype/src/raster/ftraster.c
6c0d8814189ea5cf03de66b31be9542f3ac79db1 11-Mar-2010 Chris Liddell <chris.liddell@artifex.com> Fix Savannah bug #27442.

* src/raster/ftraster.c (ft_black_reset): Fix `buffer_size'.
/external/freetype/src/raster/ftraster.c
766b822f4c1cc84cc11545b63be87108d0954b48 12-Sep-2009 Werner Lemberg <wl@gnu.org> [raster] Fix 5-levels grayscale output.
This was broken since version 2.3.0.

* src/raster/ftraster.c (count_table): Use pre-2.3.0 values (which
were then computed dynamically).
(Vertical_Gray_Sweep_Step): Updated.

(ft_black_render): Initialize `worker->gray_lines' (problem found by
valgrind).

(FT_RASTER_OPTION_ANTI_ALIASING, DEBUG_RASTER): Dont' #undef, just
comment out.
/external/freetype/src/raster/ftraster.c
0d02317fb2a6f46e568cefc1132273cdd1bc80b7 09-Jul-2009 Werner Lemberg <wl@gnu.org> [ftraster] Make it compile again with -D_STANDALONE_.

* src/raster/ftraster.c [_STANDALONE_]: Define
FT_CONFIG_STANDARD_LIBRARY_H.
Include `string.h'.
Don't include `rastpic.h'.
Define FT_DEFINE_RASTER_FUNCS.
/external/freetype/src/raster/ftraster.c
858abbedc0c156965aba830bfc2072a3c21144cf 26-Jun-2009 Werner Lemberg <wl@gnu.org> For warning messages, replace FT_ERROR with FT_TRACE0.

FT_ERROR is now used only if a function produces a non-zero `error'
value.

Formatting, improving and harmonizing debug strings.
/external/freetype/src/raster/ftraster.c
8262213192704679677edfd6f1b89c94b8de8f3b 18-Jun-2009 Werner Lemberg <wl@gnu.org> Whitespace & documentation improvements.
/external/freetype/src/raster/ftraster.c
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/src/raster/ftraster.c
42206ad86aac3c3c344fcd9730d80165514584c9 16-Jun-2009 Werner Lemberg <wl@gnu.org> Improve scan conversion rules 4 and 6.

Two new constraints are introduced to better identify a `stub' -- a
concept which is only vaguely described in the OpenType
specification. The old code was too rigorous and suppressed more
pixel than it should.

. The intersection of the two profiles with the scanline is less
than a half pixel. Code related to this was already present in
the sources but has been commented out.

. The endpoint of the original contour forming a profile has a
distance (`overshoot') less than half a pixel to the scanline.

Note that the two additional conditions fix almost all differences
to the Windows rasterizer, but some problematic cases remain.

* src/raster/ftraster.c (Overshoot_Top, Overshoot_Bottom): New
macros for the `flags' field in the `TProfile' structure.
(IS_BOTTOM_OVERSHOOT, IS_TOP_OVERSHOOT): New macros.
(New_Profile, End_Profile): Pass overshoot flag as an argument and
set it accordingly.
Update callers.
(Vertical_Sweep_Drop, Horizontal_Sweep_Drop): Implement the two new
constraints.
/external/freetype/src/raster/ftraster.c
0409ef32686188c1947298e0fca9fbeadd23c1c3 11-Jun-2009 Werner Lemberg <wl@gnu.org> Increase precision for B/W rasterizer.

* src/raster/ftraster.c (Set_High_Precision): Add two more bits to
the precision. This corrects rendering of some small glyphs, for
example, glyph `xi' in verdana.ttf at 13 ppem. Testing with ftbench
on my GNU/Linux box I don't see a performance degradation.
/external/freetype/src/raster/ftraster.c
2f2b780e00235356ffcf1e8f98e19f3bb1910ed2 07-Jun-2009 Werner Lemberg <wl@gnu.org> Simplify math.
Suggested by Alexei Podtelezhnikov <apodtele@gmail.com>.

* src/raster/ftraster.c (Vertical_Sweep_Drop, Horizontal_Sweep_Drop,
Horizontal_Gray_Sweep_Drop): Do it.
/external/freetype/src/raster/ftraster.c
90c699af0cb6e40ba96f43e80433818c83d2560f 05-Jun-2009 Werner Lemberg <wl@gnu.org> Preparation for fixing scan conversion rules 4 and 6.

* src/raster/ftraster.c (TFlow): Replace enumeration with...
(Flow_Up): This macro.
(TProfile): Replace `flow' member with `flags' bit field.
Update all affected code.
/external/freetype/src/raster/ftraster.c
cbdba615115b0f07984130d9420ee7299ab0a3cc 03-Jun-2009 Werner Lemberg <wl@gnu.org> Typo, formatting.
/external/freetype/src/raster/ftraster.c
19fbc576afe8e8de2f49f57ddbe4a27c84bcbaa1 22-May-2009 Werner Lemberg <wl@gnu.org> Improve b/w rasterizer.
Problem reported by Krzysztof Kotlenga <pocek@users.sf.net>.

* src/raster/raster.c (Vertical_Sweep_Drop, Horizontal_Sweep_Drop,
Horizontal_Gray_Sweep_Drop): For smart drop-out mode, if
intersections are equally distant relative to next pixel center,
select the left pixel, not the right one.
/external/freetype/src/raster/ftraster.c
056095096fdce9084e23116f7825784a2ad5e677 05-Apr-2009 Oran Agra <oran@monfort.co.il> Position Independent Code (PIC) support in raster renderer.

* src/raster/ftrend1.h declare ft_raster1_renderer_class
and ft_raster5_renderer_class
using macros from ftrender.h,
when FT_CONFIG_OPTION_PIC is defined create and destroy
functions will be declared.
* src/smooth/ftrend1.c when FT_CONFIG_OPTION_PIC is defined
ft_raster1_renderer_class and ft_raster5_renderer_class structs
will have functions to init or create and destroy them
instead of being allocated in the global scope.
Macros will be used from rastpic.h in order to access
ft_standard_raster from the pic_container (allocated in ftraster.c).
In ft_raster1_render when PIC is enabled, the last letter of
module_name is used to verfy the renderer class rather than the
class pointer.

* src/raster/ftraster.c when FT_CONFIG_OPTION_PIC is defined
ft_standard_raster struct will have function to init it
instead of being allocated in the global scope.

New Files:
* src/raster/rastpic.h declare struct to hold PIC globals for raster
renderer and macros to access them.
* src/raster/rastpic.c implement functions to allocate, destroy and
initialize PIC globals for raster renderer.

* src/raster/raster.c add new file to build: rastpic.c.
* src/raster/jamfile add new files to FT2_MULTI build: rastpic.c.
/external/freetype/src/raster/ftraster.c
b66efefdcde552e4880896aa961a0b9a583762d2 12-Mar-2009 Werner Lemberg <wl@gnu.org> Fix some FreeType Coverity issues as reported for Ghostscript.

* src/base/ftobjs.c (FT_New_Face, FT_New_Memory_Face): Initialize
`args.stream' (#3874, #3875).
(open_face_PS_from_sfnt_stream): Improve error management (#3786).
* src/base/ftmm.c (ft_face_get_mm_service): Fix check of `aservice'
(#3870).
* src/base/ftstroke.c (ft_stroke_border_get_counts): Remove dead
code (#3790).
* src/base/ftrfork.c (raccess_guess_apple_generic): Check error
value of `FT_Stream_Skip' (#3784).

* src/type1/t1gload.c (T1_Load_Glyph): Check `size' before accessing
it (#3872)

* src/pcf/pcfdrivr.c (PCF_Glyph_Load): Check `face' before accessing
it (#3871).
* src/pcf/pcfread.c (pcf_get_metrics): Handle return value of
`pcf_get_metric' (#3789, #3782).
(pcf_get_properties): Use FT_STREAM_SKIP (#3783).

* src/cache/ftcmanag.c (FTC_Manager_RegisterCache): Fix check of
`acache' (#3797)

* src/cff/cffdrivr.c (cff_ps_get_font_info): Fix check of `cff'
(#3796).
* src/cff/cffgload.c (cff_decoder_prepare): Check `size' (#3795).
* src/cff/cffload.c (cff_index_get_pointers): Add comment (#3794).

* src/bdf/bdflib.c (_bdf_add_property): Check `fp->value.atom'
(#3793).
(_bdf_parse_start): Add comment (#3792).

* src/raster/ftraster.c (Finalize_Profile_Table): Check
`ras.fProfile' (#3791).

* src/sfnt/ttsbit.c (Load_SBit_Image): Use FT_STREAM_SKIP (#3785).

* src/gzip/ftgzip.c (ft_gzip_get_uncompressed_size): Properly ignore
seek error (#3781).
/external/freetype/src/raster/ftraster.c
f47acf2b5fcd9d6c9dc58809ef8ecf1b1e0b46ad 12-Jan-2009 Werner Lemberg <wl@gnu.org> Avoid compiler warnings.

* */*: s/do ; while ( 0 )/do { } while ( 0 )/.
Reported by Sean McBride <sean@rogue-research.com>.
/external/freetype/src/raster/ftraster.c
174b8de3283c921d8bddf48325fe42ba7330a930 12-Oct-2008 Werner Lemberg <wl@gnu.org> * src/sfnt/sfobjs.c (sfnt_load_face): Fix computation of
`underline_position'.


* docs/CHANGES: Updated.


Formatting, minor editing.
/external/freetype/src/raster/ftraster.c
71b8f3f2ed06ce2a437b31e34c75e6aeab781640 04-Jul-2008 Werner Lemberg <wl@gnu.org> * src/raster/ftraster.c (Draw_Sweep): If span is smaller than one
pixel, only check for dropouts if neither start nor end point lies
on a pixel center. This fixes Savannah bug #23762.
/external/freetype/src/raster/ftraster.c
a741c6f2aaba94c5a1162b0095b8ebe74ef959ee 27-Jun-2008 Werner Lemberg <wl@gnu.org> * src/raster/ftraster.c (Vertical_Sweep_Drop, Horizontal_Sweep_Drop,
Horizontal_Gray_Sweep_Drop): Test for intersections which
degenerate to a single point can be ignored; this has been confirmed
by Greg Hitchcock from Microsoft. (This was commented out code.)
/external/freetype/src/raster/ftraster.c
ce8853af8158368eae51b14c89dc3b79f48ce8ce 24-Jun-2008 Werner Lemberg <wl@gnu.org> * src/truetype/ttinterp. (Ins_SCANTYPE): Don't check rendering mode.

* src/raster/ftraster.c (Render_Glyph, Render_Gray_Glyph,
Draw_Sweep): No-dropout mode is value 2, not value 0.
(Draw_Sweep): Really skip dropout handling for no-dropout mode.
/external/freetype/src/raster/ftraster.c
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/src/raster/ftraster.c
c938131856e288d7dd5d9e7c0437d0097b2ccc0c 25-May-2008 Werner Lemberg <wl@gnu.org> * src/raster/ftraster.c (fc_black_render): Return 0 when we are
trying to render into a zero-width/height bitmap, not an error code.
/external/freetype/src/raster/ftraster.c
1ddd1b768dc3821e275e97c9391e54a14a8dc136 16-Jan-2008 Werner Lemberg <wl@gnu.org> * src/raster/ftraster.c (ft_black_render): Check `outline' before
using it. Reported by Allan Yang.
/external/freetype/src/raster/ftraster.c
eca1f2790578ce8e9907ef3373ab69b7816b3093 12-Jan-2008 Werner Lemberg <wl@gnu.org> * src/raster/ftraster.c (FT_CONFIG_OPTION_5_GRAY_LEVELS): Remove.

* src/raster/ftraster.c (ft_black_init)
[FT_RASTER_OPTION_ANTI_ALIASING]: Fix compilation.
/external/freetype/src/raster/ftraster.c
39c91ad444ac05cc45b54ff48d2d5b70dde01904 28-Jul-2007 Werner Lemberg <wl@gnu.org> * src/raster/ftraster.c (count_table): Make it conditional.
* src/base/ftobjs.c (FT_New_Library): Check FT_RENDER_POOL_SIZE with
a preprocessor statement.
/external/freetype/src/raster/ftraster.c
6e87ed9f04f7914e15f9284b0b762b730222c399 26-Jan-2007 Werner Lemberg <wl@gnu.org> Spelling fixes from Alexei.
/external/freetype/src/raster/ftraster.c
4ea0a7f0b65c026420f39cabdc146b943c74e2c5 05-Jan-2007 Werner Lemberg <wl@gnu.org> formatting, minor doc fixes, copyright years
/external/freetype/src/raster/ftraster.c
38d1002b8ab6057a54d3483bc0a6f3808d44794d 04-Jan-2007 David Turner <david@freetype.org> * src/raster/ftraster.c: removing dynamically generated "count_table",
and replace it with a constant array of bytes
/external/freetype/src/raster/ftraster.c
8a2c7f8fb804f3b74ea062f1c367b78d12c5b3f2 04-Jan-2007 David Turner <david@freetype.org> * src/raster/ftraster.c, src/smooth/ftgrays.c: small optimization, the
rasterizers now uses the render pool to store their state during scanline
convertion. this saves about 6 KB of heap space for each FT_Library instance
/external/freetype/src/raster/ftraster.c
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/src/raster/ftraster.c
f9fccbee8b265a7576b358191e940299ebe60827 19-May-2005 Werner Lemberg <wl@gnu.org> * src/raster/ftmisc.h: New file. Only needed if ftraster.c is
compiled as stand-alone.

* src/raster/ftraster.c: Add comment how to compile as stand-alone.
s/FT_CONFIG_OPTION_STATIC_RASTER/FT_STATIC_RASTER/.
s/TT_STATIC_RASTER/FT_STATIC_RASTER/.
[_STANDALONE_]: Include ftimage.h and ftmisc.h.
(FT_TRACE1, FT_TRACE6, ft_memset, FT_MEM_ZERO): Define
conditionally.
(Render_Glyph, Render_Gray_Glyph): Return Raster_Err_None (or
Raster_Err_Unsupported).
(ft_black_new) [_STANDALONE_]: Fix type of `the_raster'.
(ft_black_init, ft_black_reset, ft_black_set_mode, ft_black_render):
Use `ras', not `raster'.
(ft_black_done): Use FT_UNUSED_RASTER.
(Horizontal_Sweep_Init, Horizontal_Sweep_Step,
Horizontal_Gray_Sweep_Span): Use FT_UNUSED_RASTER.


* docs/CHANGES: Updated.
/external/freetype/src/raster/ftraster.c
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/src/raster/ftraster.c
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/src/raster/ftraster.c
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/src/raster/ftraster.c
e5bcbf95a8134e4629613bc02381bf8eef9501ad 02-Apr-2005 Werner Lemberg <wl@gnu.org> Add comment about hard-coded dropout mode.
/external/freetype/src/raster/ftraster.c
fefd8742928491a9da356cc1c37f434c76d73514 12-Jun-2004 Werner Lemberg <wl@gnu.org> * docs/CHANGES: Updated.

Minor clean-ups.
/external/freetype/src/raster/ftraster.c
8530a228889128adfd446514928f36663ed20f04 09-Jun-2004 David Turner <david@freetype.org> * include/freetype/freetype.h (FT_Glyph_Metrics, FT_GlyphSlotRec),
src/autofit/afloader.c, src/autohint/ahhint.c:
moved the definition of 'lsb_delta' and 'rsb_delta' from FT_GlyphMetrics
to FT_GlyphSlotRec. The old location did BREAK BINARY COMPATIBILITY
of the library !!

* src/sfnt/sfobjs.c: removing compiler warning
/external/freetype/src/raster/ftraster.c
73861976779a754cc9b808760cc8e6cf98d52549 05-Jun-2003 Werner Lemberg <wl@gnu.org> * include/freetype/internal/ftdriver.h,
include/freetype/internal/ftobjs.h,
include/freetype/internal/psaux.h, src/cid/cidgload.c,
src/psaux/psobjs.c, src/psaux/t1decode.c, src/psaux/psobjs.h,
src/pshinter/pshrec.c, src/pshinter/pshalgo.c,
src/psnames/psmodule.c, src/raster/ftraster.c, src/sfnt/sfobjs.c,
src/smooth/ftgrays.c, src/smooth/ftsmooth.c, src/truetype/ttobjs.c,
src/truetype/ttdriver.c, src/truetype/ttgload.c, src/type1/t1afm.c,
src/type1/t1gload.c, src/type1/t1gload.h, src/type1/t1load.c,
src/type1/t1objs.c, src/type42/t42parse.c, src/type42/t42parse.h:
Many casts and slight argument type changes to make it work with
a 16bit compiler.
/external/freetype/src/raster/ftraster.c
51daa4feb18fce52a3c5d40bd6c9969203ec6b28 19-May-2003 Werner Lemberg <wl@gnu.org> * src/raster/ftraster.c (Insert_Y_Turn): Fix overflow test.

* include/freetype/config/ftoption.h [FT_CONFIG_OPTION_MAC_FONTS]:
New macro.
* src/base/ftobjs.c: Use it to control mac font support on non-mac
platforms.

Implement partial support of Mac fonts on non-Mac platforms.

* src/base/ftobjs.c (memory_stream_close, new_memory_stream,
open_face_from_buffer, Mac_Read_POST_Resource,
Mac_Read_sfnt_Resource, IsMacResource, IsMacBinary, load_mac_face)
[!FT_MACINTOSH]: New functions.
(FT_Open_Face) [!FT_MACINTOSH]: Use load_mac_face.

* src/base/ftobjs.c (FT_Load_Glyph): Scale linear advance width only
if FT_FACE_FLAG_SCALABLE is set (otherwise we have a division by
zero since FNT and friends don't define `face->units_per_EM').
/external/freetype/src/raster/ftraster.c
68e9f927105b22ec6952a5bc929cfabfc6b7e810 27-Sep-2002 Werner Lemberg <wl@gnu.org> * src/sfnt/ttpost.c (load_post_names, tt_face_free_ps_names,
tt_face_get_ps_name): Replace switch statement with if clauses to
make it more portable.

* src/cff/cffobjs.c (cff_face_init): Ditto.

* include/freetype/ftmodule.h (FT_Module_Class): Use `FT_Long' for
`module_size'.
* include/freetype/ftrender.h (FT_Glyph_Class_): Use `FT_Long' for
`glyph_size'.

* src/base/ftobjs.c (FT_Render_Glyph): Change second parameter to
`FT_Render_Mode'.
(FT_Render_Glyph_Internal): Change third parameter to
`FT_Render_Mode'.
* src/base/ftglyph.c (FT_Glyph_To_Bitmap): Change second parameter
to `FT_Render_Mode'.

* src/raster/ftrend1.c (ft_raster1_render): Change third parameter
to `FT_Render_Mode'.
* src/smooth/ftsmooth.c (ft_smooth_render, ft_smooth_render_lcd,
ft_smooth_render_lcd_v): Ditto.
(ft_smooth_render_generic): Change third and fifth parameter to
`FT_Render_Mode'.

* include/freetype/freetype.h, include/freetype/internal/ftobjs.h,
include/freetype/ftglyph.h: Updated.

* src/cff/cffdrivr.c (Load_Glyph), src/pcf/pcfdriver.c
(PCF_Glyph_Load), src/pfr/pfrobjs.c (pfr_slot_load),
src/winfonts/winfnt.c (FNT_Load_Glyph), src/t42/t42objs.c
(T42_GlyphSlot_Load), src/bdf/bdfdrivr.c (BDF_Glyph_Load): Change
fourth parameter to `FT_Int32'.

* src/pfr/pfrobjs.c (pfr_face_init): Add two missing parameters
and declare them as unused.

* src/cid/cidparse.h (CID_Parser): Use FT_Long for `postscript_len'.

* src/psnames/psnames.h (PS_Unicode_Value_Func): Change return
value to FT_UInt32.
* src/psnames/psmodule.c (ps_unicode_value, ps_build_unicode_table):
Updated accordingly.

* src/cff/cffdrivr.c (Get_Kerning): Use FT_Long for `middle'.
(cff_get_glyph_name): Use cast for result of ft_strlen.
* src/cff/cffparse.c (cff_parse_real): User cast for assigning
`exp'.
* src/cff/cffload.c (cff_index_get_pointers): Use FT_ULong for
some local variables.
(cff_charset_load, cff_encoding_load): Use casts to FT_UInt for some
switch statements.
(cff_font_load): Use cast in call to CFF_Load_FD_Select.
* src/cff/cffobjs.c (cff_size_init): Use more casts.
(cff_face_init): Use FT_Int32 for `flags'.
* src/cff/cffgload.c (cff_operator_seac): Use cast for assigning
`adx' and `ady'.
(cff_decoder_parse_charstrings): Use FT_ULong for third parameter.
Use more casts.
* src/cff/cffcmap.c (cff_cmap_unicode_init): Use cast for `count'.

* src/cid/cidload.c (cid_read_subrs): Use FT_ULong for `len'.
* src/cid/cidgload.c (cid_load_glyph): Add missing cast for
`cid_get_offset'.

* src/psaux/t1decode.c (t1_decoder_parse_charstrings) <18>: Use
cast for `num_points'.
(t1_decoder_init): Use cast for assigning `decoder->num_glyphs'.

* src/base/ftdebug.c (ft_debug_init): Use FT_Int.
* include/freetype/internal/ftdriver.h (FT_Slot_LoadFunc): Use
`FT_Int32' for fourth parameter.
* src/base/ftobjs.c (open_face): Use cast for calling
clazz->init_face.

* src/raster/ftraster.c (Set_High_Precision): Use `1' instead of
`1L'.
(Finalize_Profile_Table, Line_Up, ft_black_init): Use casts.
* src/raster/ftrend1.c (ft_raster1_render): Ditto.

* src/sfnt/sfnt_dir_check: Compare `magic' with unsigned long
constant.

* builds/amiga/include/freetype/config/ftmodule.h: Updated.
/external/freetype/src/raster/ftraster.c
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/src/raster/ftraster.c
3c403e4c17fa68a8a7992fa347fda312e1bae2a0 06-Aug-2002 Werner Lemberg <wl@gnu.org> Some formatting.

* src/cff/cffcmap.c: Remove compiler warnings.
* src/cache/ftccache.c, src/cache/ftccache.i,
src/pfr/pfrload.c, src/pfr/pfrgload.c: s/index/idx/.
* src/cff/cffload.c: s/select/fdselect/.
* src/raster/ftraster.c: s/wait/waiting/.
/external/freetype/src/raster/ftraster.c
b3d5e9cf03dce78e606b79c81cb1f29ce06555d5 28-Jul-2002 Werner Lemberg <wl@gnu.org> s/ft_memset/FT_MEM_SET/.
s/FT_MEM_SET/FT_MEM_ZERO/ where appropriate.
/external/freetype/src/raster/ftraster.c
9ca7a157273201e4e40168e7b239e12bb813f9a7 30-Apr-2002 Werner Lemberg <wl@gnu.org> * src/base/ftmac.c (p2c_str): Removed.
(file_spec_from_path) [TARGET_API_MAC_CARBON]: Added support for
OS X.
(is_dfont) [TARGET_API_MAC_CARBON]: Define only for OS X.
Handle `nameLen' <= 6 also.
(parse_fond): Remove unused variable `name_table'.
Use functionality of old p2c_str directly.
Add safety checks.
(read_lwfn): Initialize `size_p'.
Check for size_p == NULL.
(new_memory_stream, open_face_from_buffer): Updated to FreeType 2.1.
(FT_New_Face_From_LWFN): Remove unused variable `memory'.
Remove some dead code.
(FT_New_Face_From_SFNT): Remove unused variable `stream'.
(FT_New_Face_From_dfont) [TARGET_API_MAC_CARBON]: Define only for
OS X.
(FT_New_Face_From_FOND): Remove unused variable `error'.
(ResourceForkSize): New function.
(FT_New_Face): Use it.
Handle empty resource forks.
Conditionalize some code for OS X.
Add code to call normal loader as a fallback.

Some more variable renames to avoid troubles on the Mac.

* src/raster/ftraster.c:
s/Unknown|Ascending|Descending|Flat/\1_State/.
* src/smooth/ftgrays.c: s/TScan/TCoord/.

Other changes for the Mac.

* include/freetype/config/ftconfig.h: Define FT_MACINTOSH for
Mac platforms.
* src/base/ftobjs.c: s/macintosh/FT_MACINTOSH/.

* src/raster/ftrend1.c (ft_raster1_render): Make `pitch' always
an even number.
/external/freetype/src/raster/ftraster.c
94ffae5239631a18b8b5a39674c0afa8a992410e 14-Apr-2002 Werner Lemberg <wl@gnu.org> * src/cff/cffgload.c (CFF_Parse_CharStrings): s/rand/Rand/ to avoid
compiler warning.

formatting/fixing ChangeLog
/external/freetype/src/raster/ftraster.c
d15bc0d13a163995e1ca11925349bd64d1c33617 12-Apr-2002 David Turner <david@freetype.org> * README.UNX: updated the Unix-specific quick-compilation guide to
warn about the GNU Make requirement at compile time..

* include/freetype/config/ftstdlib.h,
include/freetype/config/ftconfig.h,
include/freetype/config/ftheader.h,
include/freetype/internal/ftmemory.h,
include/freetype/internal/ftobjs.h,

src/autohint/ahoptim.c,

src/base/ftdbgmem.c, src/base/ftdebug.c,
src/base/ftmac.c, src/base/ftobjs.c,
src/base/ftsystem.c,

src/cache/ftcimage.c, src/cache/ftcsbits.c,

src/cff/cffdriver.c, src/cff/cffload.c, src/cff/cffobjs.c,

src/cid/cidload.c, src/cid/cidparse.c, src/cid/cidriver.c,

src/pcf/pcfdriver.c, src/pcf/pcfread.c,

src/psaux/t1cmap.c, src/psaux/t1decode.c,

src/pshinter/pshalgo1.c, src/pshinter/pshalgo2.c,
src/pshinter/pshrec.c,

src/psnames/psmodule.c,

src/raster/ftraster.c,

src/sfnt/sfdriver.c, src/sfnt/ttload.c, src/sfnt/ttpost.c,

src/smooth/ftgrays.c,

src/type1/t1afm.c, src/type1/t1driver.c, src/type1/t1gload.c,
src/type1/t1load.c, src/type1/t1objs.c, src/type1/t1parse.c:

added the new configuration file "ftstdlib.h" used to define
aliases for all ISO C library functions used by the engine
(e.g. strlen, qsort, setjmp, etc...)

this eases the porting of FreeType 2 to exotic environments like
XFree86 modules/extensions..

also removed many #include <string.h>, #include <stdlib.h>, etc...
from the engine's sources where they're not needed..
/external/freetype/src/raster/ftraster.c
b7b163cb077edd6b6355dd465cc9dc1d4d4d7b53 31-Mar-2002 Werner Lemberg <wl@gnu.org> * src/sfnt/ttcmap.c: 16bit fixes (0xFFFF -> 0xFFFFU).
* src/sfnt/ttcmap0.c: 16bit fixes.
(TT_Build_CMaps): Simplify debug messages.
(tt_cmap12_char_next): Fix offset.
* src/sfnt/ttload.c (TT_Load_Names, TT_Load_CMap): Fix debug
messages.
(TT_Load_OS2): 16bit fix.
/external/freetype/src/raster/ftraster.c
e459d742e6236df43f542b8c29dfdcf05d69716c 22-Mar-2002 David Turner <david@freetype.org> * include/freetype/internal/ftmemory.h, and a lot of other files !!:

changed the names of memory macros. Examples:

MEM_Set => FT_MEM_SET
MEM_Copy => FT_MEM_COPY
MEM_Move => FT_MEM_MOVE

ALLOC => FT_ALLOC
FREE => FT_FREE
REALLOC = >FT_REALLOC

FT_NEW was introduced to allocate a new object from a _typed_
pointer..

note that ALLOC_ARRAY and REALLOC_ARRAY have been replaced
by FT_NEW_ARRAY and FT_RENEW_ARRAY which take _typed_ pointer
arguments.

This results in _lots_ of sources being changed, but makes the
code more generic and less error-prone..
/external/freetype/src/raster/ftraster.c
bc82f1bbefa90c649a9ad2c28938d55b4acbf380 01-Mar-2002 David Turner <david@freetype.org> * include/freetype/ftconfig.h: changed FT_LOCAL xxxx to FT_LOCAL( xxxx )
everywhere in the source. Sames goes for FT_LOCAL_DEF xxxx translated
into FT_LOCAL_DEF( xxxxx )
/external/freetype/src/raster/ftraster.c
c3b21608699a72698d382ad44c5f9fd6946ce43c 05-Dec-2001 Werner Lemberg <wl@gnu.org> Formatting.

Cleaning up of ChangeLog.

* docs/license.txt: s/X Windows/X Window System/.

* src/raster/ftraster.c: Fix definition condition of MEM_Set().
* src/smooth/ftgrays.c (M_Y): Change value to 192.
* src/base/ftdbgmem.c (ft_mem_table_destroy): Fix printf() parameter.
Remove unused variable.
* src/cache/ftcimage.c (ftc_image_node_init,
ftc_image_node_compare): Remove unused variables.
* src/cache/ftcsbits.c (ftc_sbit_node_weight): Remove unused
variable.
* src/raster/ftraster.c (MEM_Set): Move definition down to avoid
compiler warning.
* src/autohint/ahhint.c (ah_hinter_hint_edges): Use UNUSED() to
avoid compiler warnings.
* src/pcf/pcfread.c (tableNames): Use `const'.
(pcf_read_TOC): Change counter name to avoid compiler warning.
Use `const'.
* src/pshinter/pshrec.c (ps_hints_close): Remove redundant
declaration.
* src/pshinter/pshalgo1.c (psh1_hint_table_init): Rename variables
to avoid shadowing.
* src/pshinter/pshalgo2.c (psh2_hint_table_activate_mask): Ditto.
* src/type1/t1objs.h: Remove double declarations of `T1_Size_Init()'
and `T1_Size_Done()'.
/external/freetype/src/raster/ftraster.c
5a1de37e7e1a2fdc1a5ef1679850b8964975d09b 24-Oct-2001 David Turner <david@freetype.org> replaced liberal uses of "memset" by the "MEM_Set" macro call
(some platforms don't provide this ANSI function !!)

some changes to "ftsystem.c" implementations in order to use
the new memory debugger on Unix, VMS and Amiga too !!
/external/freetype/src/raster/ftraster.c
ea5a981c7d000b11cf29dd7f1a9cf96defdff059 17-Oct-2001 David Turner <david@freetype.org> minimal optimisation submitted by Graham Asher
/external/freetype/src/raster/ftraster.c
415235df1b955940ce85401a076f882e8717ef7b 28-Jun-2001 Werner Lemberg <wl@gnu.org> finishing function header formatting

updating copyrights
/external/freetype/src/raster/ftraster.c
52005c304229e2bfc54c0d406944d125d4849920 28-Jun-2001 Werner Lemberg <wl@gnu.org> formatting
/external/freetype/src/raster/ftraster.c
8eb0353fec1494ab7d9fe9bb91a5954449ab30c1 20-Jun-2001 Werner Lemberg <wl@gnu.org> Formatting.
/external/freetype/src/raster/ftraster.c
8edbcabce1b3756fb1921f85901dcce944bdf1e7 19-Jun-2001 David Turner <david@freetype.org> - updated doc for FT_New_Memory_Face
- removed lots of compiler warnings in lint-style
warning modes (/W4 with Visual C++)
/external/freetype/src/raster/ftraster.c
1f7f0e87e58168b2e739e2622db0ee06e0c9accc 06-Jun-2001 Werner Lemberg <wl@gnu.org> Complete redesign of error codes. Please check ftmoderr.h for more
details.

* include/freetype/internal/cfferrs.h,
include/freetype/internal/tterrors.h,
include/freetype/internal/t1errors.h: Removed. Replaced with files
local to the module. All extra error codes have been moved to
`fterrors.h'.

* src/sfnt/ttpost.h: Move error codes to `fterrors.h'.

* src/autohint/aherrors.h, src/cache/ftcerror.h, src/cff/cfferrs.h,
src/cid/ciderrs.h, src/pcf/pcferror.h, src/psaux/psauxerr.h,
src/psnames/psnamerr.h, src/raster/rasterrs.h, src/sfnt/sferrors.h,
src/smooth/ftsmerrs.h, src/truetype/tterrors.h,
src/type1/t1errors.h, src/winfonts/fnterrs.h: New files defining the
error names for the module it belongs to.

* include/freetype/ftmoderr.h: New file, defining the module error
offsets. Its structure is similar to `fterrors.h'.

* include/freetype/fterrors.h (FT_NOERRORDEF): New macro.
(FT_ERRORDEF): Redefined to use module error offsets.
All internal error codes are now public; unused error codes have
been removed, some are new.

* include/freetype/config/ftheader.h (FT_MODULE_ERRORS_H): New
macro.
* include/freetype/config/ftoption.h
(FT_CONFIG_OPTION_USE_MODULE_ERRORS): New macro.

All other source files have been updated to use the new error codes;
some already existing (internal) error codes local to a module have
been renamed to give them the same name as in the base module.

All make files have been updated to include the local error files.


* src/cid/cidtokens.h: Replaced with...
* src/cid/cidtoken.h: This file for 8+3 consistency.

* src/raster/ftraster.c: Use macros for header file names.
/external/freetype/src/raster/ftraster.c
caf72cd6e5765aa5419f2f3e8e42610181dc82e8 25-Apr-2001 David Turner <david@freetype.org> * src/base/ftbbox.c (BBox_Cubic_Check): rewrote function to use
direct computations with 16.16 values instead of sub-divisions.
It is now slower, but proves a point :-)

* src/raster/ftraster.c, src/smooth/ftgrays.c, src/base/ftbbox.c :
fixed the bezier stack depths..

* src/base/ftcalc.c (FT_MulFix): minor rounding fix

* builds/beos : added BeOS-specific files to the old build system
(no changes were necessary to support BeOS in the Jamfile though)
/external/freetype/src/raster/ftraster.c
8d3a401fa808a8c70bd6a9ce17d5a840fb0ae2db 20-Mar-2001 David Turner <david@freetype.org> * builds/*/*-def.mk: changed the objects directory from "obj" to "objs"

* include/freetype/config/ftheader.h: removed obsolete macros like
FT_SOURCE_FILE, etc.. and added cache-specific macro definitions that
were previously defined in <freetype/ftcache.h>. Added comments to be
included in a new API Reference section.

* src/*/*: removed the use of FT_SOURCE_FILE, etc.. now, each component
needs to added its own directory to the include path at compile time.
Modified all "rules.mk" and "descrip.mms" accordingly..
/external/freetype/src/raster/ftraster.c
914b289f1623b1030b66537d3b3ce4b652e4606c 10-Mar-2001 Werner Lemberg <wl@gnu.org> * src/*/*.c: Added many casts to make code more 64bit-safe.
/external/freetype/src/raster/ftraster.c
1eb9a43aa14e02b56d981bae334e6e24c63298f7 14-Dec-2000 David Turner <david@freetype.org> fixed small bug (no need to test target pixmap in direct rendering mode)
/external/freetype/src/raster/ftraster.c
170c0d4c0d009bc5c08434b46515238620a410bd 13-Dec-2000 David Turner <david@freetype.org> * include/freetype/config/ft2build.h,
include/freetype/internal/internal.h: fixed header inclusion macros
to use direct definitions. This is the only way to do these things
in a portable way :-( The rest of the code should follow shortly
though everything compiles now..

* builds/compiler/intelc.mk, builds/compiler/watcom.mk,
builds/win32/detect.mk: added support for the Intel C/C++ compiler,
as well as _preliminary_ (read: doesn't work !!) support for Watcom.
Also added a new setup target. Type "make setup list" for a list
of supported command-line compilers on Win32..
/external/freetype/src/raster/ftraster.c
d5c1b27d58c4308745338cb0f3f710d6c1549982 12-Dec-2000 Werner Lemberg <wl@gnu.org> * include/freetype/config/ft2build.h (FT2_ROOT, FT2_CONFIG_ROOT):
Removed. ANSI C doesn't (explicitly) allow macro expansion in
arguments using `##'.
(FT2_PUBLIC_FILE, FT2_CONFIG_FILE, FT2_INTERNAL_FILE): Use directory
names directly. Make them configurable. Use `##' to strip leading
and trailing spaces from arguments.

* builds/unix/ft2unix.h: Adapted.

* src/base/ftsystem.c (ft_alloc, ft_realloc, ft_free, ft_io_stream,
ft_close_stream): Use FT_CALLBACK_DEF.

* builds/unix/ftsystem.c: Use new header scheme.
(FT_Done_Memory): Use free() from FT_Memory structure.

* src/base/ftinit.c, src/base/ftmac.c: Header scheme fixes.

* include/freetype/config/ft2build.h (FT2_CONFIG_ROOT,
FT2_PUBLIC_FILE, FT2_CONFIG_FILE, FT2_INTERNAL_FILE,
FT_SOURCE_FILE): Use `##' operator to be really ANSI C compliant.
/external/freetype/src/raster/ftraster.c
19ed8afe60bbc5becf0fbbe3987a91b35a36aad4 08-Dec-2000 David Turner <david@freetype.org> - updated all source files to adhere to the new inclusion scheme
- the CFF loader now loads the encodings and charset tables
though doesn't use them for now
/external/freetype/src/raster/ftraster.c
76a5f62323d4fe3319d3d5410ded0ff9cab1f8c5 04-Nov-2000 David Turner <david@freetype.org> major reformatting of the sources:

FT_EXPORT_DEF => FT_EXPORT
FT_EXPORT_FUNC => FT_EXPORT_DEF
BASE_DEF => FT_BASE
BASE_FUNC => FT_BASE_DEF
LOCAL_DEF => FT_LOCAL
LOCAL_FUNC => FT_LOCAL_DEF
LOCAL_FUNC_X => FT_CALLBACK_DEF
LOCAL_DEF_X => FT_CALLBACK_TABLE
FT_CPLUSPLUS => FT_CALLBACK_TABLE_DEF
/external/freetype/src/raster/ftraster.c
a4e2894e03de65c5e0cd14b11b6fa30b14ed6769 26-Oct-2000 David Turner <david@freetype.org> simple renaming of directories:

"type1z" -> "type1"
"raster1" -> "raster"

note that I didn't rename all files. We'll have to endure
the "z1..." crazyness unless we perform a _big_ sed on
the sources :-)
/external/freetype/src/raster/ftraster.c