History log of /external/freetype/src/base/ftobjs.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/base/ftobjs.c
98ba0c4a37cc8223b513efb4f2a5df4f25ec0756 08-Dec-2017 Werner Lemberg <wl@gnu.org> New `ftdriver.h' file, covering all driver modules.

This reduces redundancy and increases synergy; it also reduces the
number of header files.

* include/freetype/config/ftheader.h (FT_DRIVER_H): New macro.
(FT_AUTOHINTER_H, FT_CFF_DRIVER_H, FT_TRUETYPE_DRIVER_H,
FT_PCF_DRIVER_H, FT_TYPE1_DRIVER_H): Make them aliases to
FT_DRIVER_H.

* include/freetype/ftautoh.h, include/freetype/ftcffdrv.h,
include/freetype/ftpcfdrv.h, include/freetype/ftt1drv.h,
include/freetype/ftttdrv.h: Replaced with...
* include/freetype/ftdriver.h: ...this new file.
(FT_CFF_HINTING_ADOBE, FT_T1_HINTING_ADOBE): Renamed to...
(FT_HINTING_ADOBE): ... this new macro.
(FT_CFF_HINTING_FREETYPE, FT_T1_HINTING_FREETYPE): Renamed to...
(FT_HINTING_FREETYPE): ... this new macro.

* src/*/*: Updated accordingly.
/external/freetype/src/base/ftobjs.c
a364e38ae7c98992a67b8d5be744445a826926ef 14-Nov-2017 Nikolaus Waxweiler <madigens@gmail.com> Use Adobe hinting engine for `light' hinting of both CFF and Type 1.

Since Ewald Hew factored the Adobe hinting engine out of the CFF
driver code, we can now use it on Type 1 (and CID) font formats, as
both have the same hinting philosophy.

This change activates the Adobe hinter when in LIGHT mode, and
therefore always unless explicitly asking for the auto-hinter. This
makes LIGHT behavior consistent with CFF fonts. As of this commit,
the hinting engine table looks as follows.

LIGHT NORMAL
-------------------------
TrueType Auto v40
CFF Adobe Adobe
Type 1 Adobe Adobe
/external/freetype/src/base/ftobjs.c
8f5568bfc4fd5fe707f0e41915b57affc1bff0e3 07-Nov-2017 Alexei Podtelezhnikov <apodtele@gmail.com> * src/base/ftobjs.c (FT_Load_Glyph): Relocate condition.
/external/freetype/src/base/ftobjs.c
d74440a327d6437b5eecd7d552576dbf22e12028 20-Oct-2017 Alexei Podtelezhnikov <apodtele@gmail.com> [base] Improve tracing in FT_Load_Glyph, FT_*_Size.

* src/base/ftobjs.c (FT_Load_Glyph): Tag tracing messages with
function name, glyph index, and load flags.
(FT_Select_Metrics, FT_Request_Metrics): Remove all tracing.
(FT_Select_Size, FT_Request_Size): Improve tracing.
/external/freetype/src/base/ftobjs.c
c10e7800d70dd09cd9394d9b4dc56b67f9f2e59f 19-Oct-2017 Alexei Podtelezhnikov <apodtele@gmail.com> [base] Improve tracing in FT_Render_Glyph.

* src/base/ftobjs.c (FT_Render_Glyph_Internal): Add total coverage
calculations and downgrade Netpbm dump to bitmap:7.
/external/freetype/src/base/ftobjs.c
ccb0f7998da38aeb5cb353a6f9656f9846a397f4 15-Oct-2017 Alexei Podtelezhnikov <apodtele@gmail.com> [base, cff] Fix MSVC warnings.

* src/base/ftobjs.c (FT_New_Library): C4702: unreachable code.
(ft_glyphslot_preset_bitmap): C4244: possible loss of data.
* src/cff/cffload.c (cff_blend_doBlend): C4244: possible loss of data.
Turn `sum' into unsigned.
/external/freetype/src/base/ftobjs.c
6bea49e026ce8a103de2b3c232042458b8f309eb 15-Oct-2017 Alexei Podtelezhnikov <apodtele@gmail.com> [base] Netpbm image tracing.

* src/base/ftobjs.c (FT_Load_Glyph): Trace bitmap size.
(FT_Render_Glyph_Internal): Trace bitmap in Netpbm format.

* src/smooth/ftgrays.c (gray_sweep): Sweep remnants of span tracing.
/external/freetype/src/base/ftobjs.c
b7e43f7d7dc9a2fdb488c989162272e840c88bb8 08-Oct-2017 Werner Lemberg <wl@gnu.org> * src/base/ftobjs.c (ft_glyphslot_preset_bitmap): Integer overflows.

Reported as

https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=3579
/external/freetype/src/base/ftobjs.c
c3083e459584d0e8481fa2401232c8a3145fae4b 05-Oct-2017 Werner Lemberg <wl@gnu.org> * src/base/ftobjs.c (ft_glyphslot_preset_bitmap): Fix integer
overflow.

Reported as

https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=3539
/external/freetype/src/base/ftobjs.c
9b549fa69a9ef7518fb28a77641127f1ccbdc3c5 30-Sep-2017 Werner Lemberg <wl@gnu.org> [base,cff,cid] Whitespace, formatting.
/external/freetype/src/base/ftobjs.c
c8d8e15803b0881809b3e15309795f8705471c32 30-Sep-2017 Alexei Podtelezhnikov <apodtele@gmail.com> Signedness fixes in bitmap presetting.

Reported as

https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=3514.

* src/raster/ftrend1.c (ft_raster1_render): Exlicitly signed height.
* src/smooth/ftsmooth.c (ft_smooth_render_generic): Ditto.
* src/base/ftobjs.c (ft_glyphslot_preset_bitmap): Explicitly unsigned
subtraction.
/external/freetype/src/base/ftobjs.c
c26f7f975b5f7f58f2b6da3d3308e3915f757a6f 29-Sep-2017 Alexei Podtelezhnikov <apodtele@gmail.com> Bitmap metrics presetting [2/2].

* src/base/ftobjs.c (FT_Load_Glyph): Preset the bitmap metrics when
appropriate but `FT_Render_Glyph' is not called.
* include/freetype/freetype.h (FT_GlyphSlotRec): Document the change.
/external/freetype/src/base/ftobjs.c
61d1818b5ef4fd9b014c4577f07cf5580ba67eee 28-Sep-2017 Alexei Podtelezhnikov <apodtele@gmail.com> Bitmap metrics presetting [1/2].

This mainly just extracts the code for presetting the bitmap metrics
from the monochrome, grayscale, and LCD renderers into a separate
function.

* src/base/ftobjs.c (ft_glyphslot_preset_bitmap): New function that
calculates prespective bitmap metrics for the given rendering mode.
* include/freetype/internal/ftobjs.h (ft_glyphslot_preset_bitmap):
Declare it.

* src/base/ftlcdfil.c (ft_lcd_padding): New helper function that adds
padding to CBox taking into account pecularities of LCD rendering.
* include/freetype/ftlcdfil.h (ft_lcd_padding): Declare it.

* src/raster/ftrend1.c (ft_raster1_render): Reworked to use
`ft_glyphslot_preset_bitmap'.
* src/smooth/ftsmooth.c (ft_smooth_render_generic): Ditto.
(ft_smooth_render_lcd, ft_smooth_render_lcd): The pixel_mode setting
is moved to `ft_glyphslot_preset_bitmap'.
/external/freetype/src/base/ftobjs.c
02e80da6090c21d6e59ac955b7f56e1ad4a9850b 25-Sep-2017 Alexei Podtelezhnikov <apodtele@gmail.com> Tweak per-face LCD filtering controls.

Thing are simpler with a NULL-function pointer.

* include/freetype/internal/ftobjs.h (FT_Face_InternalRec): New
pointer to the filter function.
(FT_LibraryRec): Remove unused `lcd_filter'.
(FT_Bitmap_LcdFilterFunc, ft_lcd_filter_fir): Move from here...
* include/freetype/ftlcdfil.h (FT_Bitmap_LcdFilterFunc,
ft_lcd_filter_fir): ... to here.

* src/base/ftobjs.c (ft_open_face_internal): NULL-initialize the
per-face filter.
(FT_Face_Properties): Set it.
* src/smooth/ftsmooth.c (ft_smooth_render_generic): Simplify.

* src/base/ftlcdfil.c (ft_lcd_filter_fir, FT_Libary_SetLcdFilter):
Minor.
/external/freetype/src/base/ftobjs.c
22a7f5b8afd1087d485d6442f25638a5823c1264 08-Sep-2017 Alexei Podtelezhnikov <apodtele@gmail.com> Branding fixes.
/external/freetype/src/base/ftobjs.c
134de096e07c4b700ccff5226fcfe4c90ae2ed04 12-Jul-2017 Werner Lemberg <wl@gnu.org> [base] Integer overflow.

Reported as

https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=2573

* src/base/ftobjs.c (ft_glyphslot_grid_fit_metrics): Use
FT_PIX_CEIL_LONG and FT_PIX_ROUND_LONG.
/external/freetype/src/base/ftobjs.c
dcd8de272f940065b6a326b16518e3e5acb695a6 09-Jun-2017 Werner Lemberg <wl@gnu.org> */*: Remove `OVERFLOW_' prefix.

This increases readability.
/external/freetype/src/base/ftobjs.c
addb2dddb6fd4be32ea16b44831e4cc99bbc9693 03-Jun-2017 Werner Lemberg <wl@gnu.org> [base, cff, truetype] Integer overflows.

Reported as

https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=2060
https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=2062
https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=2063
https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=2068

* src/base/ftobjs.c (ft_glyphslot_grid_fit_metrics): Use
OVERFLOW_ADD_LONG and OVERFLOW_SUB_LONG.

* src/cff/cf2blues.c (cf2_blues_capture), src/cff/cf2hints.c
(cf2_hintmap_adjustHints): Use OVERFLOW_SUB_INT32.

* src/truetype/ttgload.c (compute_glyph_metrics): User
OVERFLOW_SUB_LONG.

* src/truetype/ttinterp.c (Direct_Move, Direct_Move_Orig,
Direct_Move_X, Direct_Move_Y, Direct_Move_Orig_X,
Direct_Move_Orig_Y, Move_Zp2_Point, Ins_MSIRP): Use
OVERFLOW_ADD_LONG and OVERFLOW_SUB_LONG.
/external/freetype/src/base/ftobjs.c
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/src/base/ftobjs.c
ba40054c2dd9f5d3d8561de7106870ac6a920f6d 02-May-2017 Werner Lemberg <wl@gnu.org> [autofit] Remove `slight' auto-hint mode again.

A poll on freetype-devel favoured changes directly applied to
`light'.

* include/freetype/freetype.h (FT_LOAD_TARGET_SLIGHT,
FT_RENDER_MODE_SLIGHT): Removed.

* src/autofit/afcjk.c (af_cjk_hints_init), src/autofit/aflatin.c
(af_latin_hints_init), src/autofit/aflatin2.c
(af_latin2_hints_init): Revert change from 2017-04-22.

* src/autofit/afloader.c (af_loader_load_glyph) Remove references to
FT_RENDER_MODE_SLIGHT.
[AF_CONFIG_OPTION_TT_SIZE_METRICS]: Enable TrueType-like metrics
unconditionally.

* src/base/ftadvanc.c (LOAD_ADVANCE_FAST_CHECK): Revert change from
2017-04-22.

* src/base/ftobjs.c (FT_Load_Glyph): Revert change from 2017-04-22.

* src/pshinter/pshalgo.c (ps_hints_apply): Revert change from
2017-04-22.

* src/smooth/ftsmooth.c (ft_smooth_render): Revert change from
2017-04-22.

* docs/CHANGES: Updated.
/external/freetype/src/base/ftobjs.c
7abf0cb758b4b470a0a0671e290669aeefbe0b90 30-Apr-2017 Werner Lemberg <wl@gnu.org> [autofit] Fix metrics computation.

Problem reported by Markus Trippelsdorf <markus@trippelsdorf.de> and
Nikolaus Waxweiler <madigens@gmail.com>.

* src/base/ftobjs.c (FT_Request_Size): Trigger recomputation of
auto-hinter metrics. Without this change, multiple size changing
calls for a single face fail.
/external/freetype/src/base/ftobjs.c
5aa6716a5eb8409f606886b5d4e63476d85a3519 22-Apr-2017 Werner Lemberg <wl@gnu.org> Add new `slight' auto-hinting mode.

This mode uses fractional advance widths and doesn't scale glyphs
horizontally, only applying vertical scaling and hinting.

At the same time, the behaviour of the `light' auto-hinter gets
restored for backwards compatibility: Both vertical and horizontal
scaling is again based on rounded metrics values (this was changed
in a commit from 2017-03-30 as a side effect). To be more precise,
the behaviour is restored for TrueType fonts only; for other font
formats like Type 1, this is a new feature of the `light' hinting
mode.

* include/freetype/freetype.h (FT_LOAD_TARGET_SLIGHT): New macro.
(FT_RENDER_MODE_SLIGHT): New render mode.

* include/freetype/internal/ftobjs.h (FT_Size_InternalRec): Add
`autohint_mode' and `autohint_metrics' fields.

* src/autofit/afcjk.c (af_cjk_hints_init), src/autofit/aflatin.c
(af_latin_hints_init), src/autofit/aflatin2 (af_latin2_hints_init):
Updated.

* src/autofit/afloader.c (af_loader_embolden_glyph_in_slot): Use
`autohint_metrics'.
(af_loader_load_glyph): s/internal/slot_internal/.
Initialize `autohint_metrics' and `autohint_mode' depending on
current auto-hint mode.
Use `autohint_metrics'.
Updated.

* src/base/ftadvanc.c (LOAD_ADVANCE_FAST_CHECK): Updated.

* src/base/ftobjs.c (FT_Load_Glyph): Updated.
(FT_New_Size): Allocate `internal' object.

* src/pshinter/pshalgo.c (ps_hints_apply): Updated.

* src/smooth/ftsmooth.c (ft_smooth_render): Updated.
/external/freetype/src/base/ftobjs.c
5412d8869b4b4c2df1c96298dc8d47b08cdb61b3 22-Apr-2017 Werner Lemberg <wl@gnu.org> Introduce `FT_Size_InternalRec' structure.

We are going to extend this later on.

* include/freetype/internal/ftobjs.h (FT_Size_InternalRec): New
structure with a single field `module_data'.

* src/base/ftobjs.c (FT_New_Size): Allocate `internal' field of
`FT_Size' structure.

* src/cff/cffgload.c (cff_builder_init, cff_decoder_prepare): Use
`size->internal->module_data' instead of `size->internal'.

* src/cff/cffobjs.c (cff_size_done): Deallocate `module_data'.
(cff_size_init, cff_size_select, cff_size_request): Use
`size->internal->module_data' instead of `size->internal'.

* src/cif/cidobjs.c (cid_size_done, cid_size_init,
cid_size_request): Use `size->internal->module_data' instead of
`size->internal'.

* src/psaux/psobjs.c (t1_builder_ini): Use
`size->internal->module_data' instead of `size->internal'.

* src/type1/t1objs.c (T1_Size_Done, T1_Size_Init, T1_Size_Request):
Use `size->internal->module_data' instead of `size->internal'.
/external/freetype/src/base/ftobjs.c
5efba4c4dcc865edbc2b40134b6a1b8ae3caadae 16-Apr-2017 Hin-Tak Leung <htl10@users.sourceforge.net> Fix tracing messages.

* src/base/ftobjs.c (FT_Face_GetCharVariantIndex,
FT_Face_GetCharVariantIsDefault, FT_Face_GetVariantsOfChar): Print
correct function name.
/external/freetype/src/base/ftobjs.c
9357ef80ff7a1112dec4e274ad68107d60bdcf52 15-Mar-2017 Werner Lemberg <wl@gnu.org> Typo: s/stroke/strike/.
/external/freetype/src/base/ftobjs.c
753e1131eeadcfec4bf2c24fdaf67bf9d3005b6e 20-Feb-2017 Werner Lemberg <wl@gnu.org> [cff] Introduce `random-seed' property (2/2).

* src/base/ftobjs.c: Include `FT_CFF_DRIVER_H'.
(open_face): Initialize `face->internal->random_seed'.
(FT_Face_Properties): Handle `FT_PARAM_TAG_RANDOM_SEED'.

* src/cff/cffdrivr.c (cff_property_set): Handle `random-seed'
property.
/external/freetype/src/base/ftobjs.c
2b0ac18990e7800aad568cf91dcb510ef9beff62 18-Feb-2017 Nikolaus Waxweiler <madigens@gmail.com> Add face property for stem darkening.

* include/freetype/ftautoh.h (FT_PARAM_TAG_STEM_DARKENING): New
macro.

* include/freetype/internal/ftobjs.h (FT_Face_InternalRec): Add
`no_stem_darkening' field.

* src/autofit/afloader.c (af_loader_load_glyph),
src/autofit/afmodule.c (af_property_set): Updated.

* src/base/ftobjs.c: Include FT_AUTOHINTER_H.
(ft_open_face_internal): Updated.
(FT_Face_Properties): Handle FT_PARAM_TAG_STEM_DARKENING.

* src/cff/cf2ft.c (cf2_decoder_parse_charstrings): Updated.

* src/cff/cffdrivr.c (cff_property_set): Updated.
/external/freetype/src/base/ftobjs.c
2e9519885b8e7e5fdc9d75b35992ef7bbf15e53a 16-Feb-2017 Nikolaus Waxweiler <madigens@gmail.com> Add face property for LCD filter weights.

* include/freetype/ftlcdfil.h (FT_PARAM_TAG_LCD_FILTER_WEIGHTS,
FT_LCD_FILTER_FIVE_TAPS): New macros.
(FT_LcdFiveTapFilter): New typedef.

* include/freetype/ftobjs.h (FT_Face_InternalRec)
[FT_CONFIG_OPTION_SUBPIXEL_RENDERING]: Add `lcd_weights' field.
(FT_Bitmap_LcdFilterFunc): Change third argument to weights array.
(ft_lcd_filter_fir): New prototype.
(FT_LibraryRec): Updated.

* src/base/ftlcdfil.c (_ft_lcd_filter_fir): Renamed to...
(ft_lcd_filter_dir): ... this base function.
Updated.
(_ft_lcd_filter_legacy): Updated.
(FT_Library_SetLcdFilterWeights, FT_Library_SetLcdFilter): Updated.

* src/base/ftobjs.c (ft_open_face_internal): Updated.
(FT_Face_Properties): Handle FT_PARAM_TAG_LCD_FILTER_WEIGHTS.

* src/smooth/ftsmooth.c (ft_smooth_render_generic)
[FT_CONFIG_OPTION_SUBPIXEL_RENDERING: Handle LCD weights from
`FT_Face_Internal'.
/external/freetype/src/base/ftobjs.c
64cdee73480587352fb45402b771077be05c1715 15-Feb-2017 Nikolaus Waxweiler <madigens@gmail.com> Add new function `FT_Face_Properties'.

This commit provides the framework, to be filled with something
useful in the next commits.

* include/freetype/freetype.h (FT_Face_Properties): Declare.

* src/base/ftobjs.c (FT_Face_Properties): New function.
/external/freetype/src/base/ftobjs.c
c529885b0b33af56f3daa29a3acec9ab9fb10fb7 12-Jan-2017 Werner Lemberg <wl@gnu.org> * src/base/ftobjs.c (ft_open_face_internal): Improve tracing.
/external/freetype/src/base/ftobjs.c
563ae780229aef5b6f6ae361211d5fb733de8321 04-Jan-2017 Werner Lemberg <wl@gnu.org> Update copyright year.
/external/freetype/src/base/ftobjs.c
24be60b5f160d9aad7366bf3043ec8069664df0b 01-Jan-2017 Werner Lemberg <wl@gnu.org> */*: Use hex numbers for errors in tracing messages.
/external/freetype/src/base/ftobjs.c
f80c4473b6a9ccfb50b4cca8da059dc799441dc4 26-Dec-2016 Werner Lemberg <wl@gnu.org> Replace `++foo' and `--foo' with `foo++' and `foo--', resp.
/external/freetype/src/base/ftobjs.c
4441f7b24675fbd7d91f794f5d54e6c1ff168439 26-Dec-2016 Werner Lemberg <wl@gnu.org> Replace `foo == NULL' and `foo != NULL' with `!foo' and `foo', resp.

Other minor formatting.
/external/freetype/src/base/ftobjs.c
57a6733dcf7828fe3db9254edab33fda7c9f6a10 21-Dec-2016 Werner Lemberg <wl@gnu.org> [base] Improve sanity check for Mac resources (#49888).

* src/base/ftobjs.c (Mac_Read_sfnt_Resource): Abort if `rlen' is not
positive.
/external/freetype/src/base/ftobjs.c
b55730320c3a5bdcc32242bb566f184a462eb78d 20-Dec-2016 Werner Lemberg <wl@gnu.org> ftobjs.c: Formatting.
/external/freetype/src/base/ftobjs.c
d5fe8da7744413265f513ebf900dab4aa3369c11 20-Dec-2016 Werner Lemberg <wl@gnu.org> Spelling.
/external/freetype/src/base/ftobjs.c
5743df7718e40c33cb3efa18b2f5fa71e8b59810 18-Dec-2016 Werner Lemberg <wl@gnu.org> [base] Fix invalid mac font recursion.

Reported as

https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=304

* src/base/ftobjs.c (FT_Open_Face): Code moved to...
(ft_open_face_internal): ... this function.
Add a parameter to control whether we try special Mac font handling
in case of failure.
(FT_Open_Face, FT_New_Face, FT_New_Memory_Face,
open_face_from_buffer): Use `ft_open_face_internal'.
/external/freetype/src/base/ftobjs.c
5d664b6d5188625d0585086020e99e6223c2afb1 17-Dec-2016 Werner Lemberg <wl@gnu.org> Use FT_SET_ERROR where useful. Other minor code formatting.
/external/freetype/src/base/ftobjs.c
3b125e95944ef4cbf321479410391db9bf403c00 17-Dec-2016 Werner Lemberg <wl@gnu.org> Improve tracing of `FT_Open_Face'.

* src/base/ftobjs.c (FT_Open_Face): Return info on number of
available faces and numbered instances, or the indices of the
requested face and numbered instance.

* src/sfnt/sfobjs. (sfnt_open_font): Trace number of subfonts.
/external/freetype/src/base/ftobjs.c
a7dc0c355469ddb565c949f3b6dccdb65c45317a 14-Dec-2016 Werner Lemberg <wl@gnu.org> Extend functionality of `ft_module_get_service'.

It can now differentiate between local and global searches.

* src/base/ftobjs.c (ft_module_get_service): Add `global' argument.
(FT_Get_TrueType_Engine_Type): Updated.

* src/cff/cffdrivr.c (cff_get_ps_name, cff_get_cmap_info): Updated.

* include/freetype/internal/ftobjs.h: Updated.
* include/freetype/internal/ftserv.h (FT_FACE_FIND_GLOBAL_SERVICE):
Updated.
/external/freetype/src/base/ftobjs.c
e1ee5476a4345f8531d03bdbd131337c2534f864 06-Nov-2016 Werner Lemberg <wl@gnu.org> * src/base/ftobjs.c (FT_Render_Glyph_Internal): Fix tracing.
/external/freetype/src/base/ftobjs.c
37e193e9357bdccbfb8a4437ddfdc06efd9e140c 06-Nov-2016 Werner Lemberg <wl@gnu.org> Introduce a way of quickly retrieving (embedded) bitmap metrics.

`FT_Load_Glyph' doesn't generate a bitmap for a non-bitmap glyph
until the user calls `FT_Render_Glyph'. However, it always
allocates memory for bitmaps and copies or decodes the contents of a
bitmap glyph, which can be quite slow for PNG data.

* include/freetype/freetype.h (FT_LOAD_BITMAP_METRICS_ONLY): New
macro.

* src/base/ftobjs.c (FT_Load_Glyph): Unset FT_LOAD_RENDER if
FT_LOAD_BITMAP_METRICS_ONLY is used.

* src/sfnt/ttsbit.c (tt_sbit_decoder_alloc_bitmap,
tt_sbit_decoder_load_bitmap): Add argument to control allocation of
the glyph slot.
(tt_sbit_decoder_load_image, tt_sbit_decoder_load_compound,
tt_face_load_sbit_image): Updated.

* src/pcf/pcfdrivr.c (PCF_Glyph_Load): Quickly exit if
`FT_LOAD_BITMAP_METRICS_ONLY' is set.

* src/pfr/pfrsbit.c, src/pfr/pfrsbit.h (pfr_slot_load_bitmap): Add
argument to control allocation of the glyph slot.
* src/pfr/pfrobjs (pfr_slot_load): Updated.

* src/winfonts/winfnt.c (FNT_Load_Glyph): Ditto.

* docs/CHANGES: Updated.
/external/freetype/src/base/ftobjs.c
d609b7c1582a9714bbad831fc5f955bccca436a4 09-Sep-2016 Werner Lemberg <wl@gnu.org> [sfnt] Don't provide (completely) broken strike data.

FreeType tries to sanitize strike header data; we now reject
completely broken ones.

* include/freetype/internal/tttypes.h (TT_FaceRec): New
`sbit_strike_map' array pointer.

* src/base/ftobjs.c (FT_Match_Size): Reject matches where either
width or height would be zero.
Add tracing message in case of error.

* src/sfnt/sfobjs.c (sfnt_load_face): Populate `sbit_strike_map',
only using (more or less) valid strike header data for
FT_Face's `available_sizes' array.
(sfnt_done_face): Updated.

* src/sfnt/ttsbit.c (tt_face_set_sbit_strike): Use
`sbit_strike_map'.
(tt_face_load_strike_metrics): Improve tracing.

* src/truetype/ttdriver.c (tt_size_select): Use `sbit_strike_map'.
/external/freetype/src/base/ftobjs.c
b98dfda392542f770a10063af625ef295c7803db 03-Sep-2016 Werner Lemberg <wl@gnu.org> [base] Avoid negative bitmap stroke dimensions (#48985).

* src/base/ftobjs.c (FT_Open_Face): Check whether negation was
actually successful. For example, this can fail for value
-32768 if the type is `signed short'. If there are problems,
disable the stroke.
/external/freetype/src/base/ftobjs.c
605946af6d3d0e7c7eaa0b99df329933604169f2 11-Jul-2016 Werner Lemberg <wl@gnu.org> Conditionally compile environment support.

* include/freetype/internal/ftobjs.h, src/autofit/afmodule.c,
src/base/ftobjs.c, src/cff/cffdrivr.c, src/truetype/ttdriver.c:
Decorate with `FT_CONFIG_OPTION_ENVIRONMENT_PROPERTIES' where
necessary.
/external/freetype/src/base/ftobjs.c
c3beb30a21a8ea9f20f6c557bba7a07106ef2d1b 10-Jul-2016 Werner Lemberg <wl@gnu.org> Add function `ft_property_string_set'.

This is a preparation for handling an `FREETYPE_PROPERTIES'
environment variable to control (some) driver properties.

No change in functionality.

* src/base/ftobjs.c (ft_property_do): Add `value_is_string'
parameter.
(ft_property_string_set): New function.
(FT_Property_Set, FT_Property_Get): Updated.

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

* include/freetype/internal/services/svprop.h
(FT_Properties_SetFunc): Add `value_is_string' parameter.

* src/autofit/afmodule.c (af_property_set), src/cff/cffdrivr.c
(cff_property_set), src/truetype/ttdriver.c (tt_property_set):
Updated, emitting an error currently if `value_is_string' is set.
/external/freetype/src/base/ftobjs.c
5485a34c77b898f50ac0562bac2e859e76f95b43 04-Jun-2016 Werner Lemberg <wl@gnu.org> [truetype] Fix missed test for named instances (#48122).

* src/truetype/ftobjs.c (Mac_Read_sfnt_Resource): Implement.
/external/freetype/src/base/ftobjs.c
d583561e1d674ef10116bc3dfdaf5591cd1a9a09 21-May-2016 Werner Lemberg <wl@gnu.org> Minor clang++ fixes.

* src/base/ftobjs.c (FT_Add_Module), src/psaux/psobjs.c
(ps_parser_load_field), src/type1/t1load.c (parse_subrs): Add
initializer.

* src/cache/ftccache.h (FTC_CACHE_TRYLOOP_END): Avoid implicit
conversion from NULL to boolean.
/external/freetype/src/base/ftobjs.c
bebac3cf5b5596a8d3888c0a8c0e3c9df20da98c 16-May-2016 Werner Lemberg <wl@gnu.org> [base] Reject invalid sfnt Mac resource (#47891).

* src/base/ftobjs.c (open_face_PS_from_sfnt_stream): Check validity
of `CID ' and `TYPE1' table offset and length.
/external/freetype/src/base/ftobjs.c
e85422606d8d2f6a1d69eea0a7c5dcdc0470c985 09-Apr-2016 Alexei Podtelezhnikov <apodtele@gmail.com> Typos.
/external/freetype/src/base/ftobjs.c
0d053bac8423f42c8c99d4068abd718e02d25e17 07-Feb-2016 Werner Lemberg <wl@gnu.org> Fix runtime errors found by clang's sanitizer (#47082).

* src/base/ftobjs.c (FT_Render_Glyph_Internal), src/base/ftoutln.c
(FT_Outline_Copy), src/cache/ftcsbits.c (ftc_sbit_copy_bitmap):
Properly handle empty input buffer.
/external/freetype/src/base/ftobjs.c
1d8d0b4ef962592d8f0f856a411140b8997f86fa 28-Jan-2016 Nikolaus Waxweiler <madigens@gmail.com> Remove unpatented hinter (3/3).

* include/freetype/config/ftoption.h
(TT_CONFIG_OPTION_UNPATENTED_HINTING): Remove.

* include/freetype/internal/ftobjs.h (FT_Face_InternalRec): Remove
`ignore_unpatented_hinter' field.
Update users.
(FT_DEBUG_HOOK_UNPATENTED_HINTING): Remove.
Update users.

* include/freetype/internal/tttypes.h (TT_FaceRec): Remove
`unpatented_hinting' field.
Update users.

* src/base/ftpatent.c (_tt_check_patents_in_range,
_tt_check_patents_in_table, _tt_face_check_patents): Remove.
(FT_Face_CheckTrueTypePatents, FT_Face_SetUnpatentedHinting):
Replace code with dummies.

* src/truetype/ttobjs.c (tt_face_init): Remove now defunct code.
* src/truetype/ttobjs.h (TT_GraphicsState): Remove `both_x_axis'
field.
/external/freetype/src/base/ftobjs.c
9adeab6452a220270c311f756d55acd734fd52ea 13-Jan-2016 Werner Lemberg <wl@gnu.org> Update copyright year.
/external/freetype/src/base/ftobjs.c
4099281f6e9b5339b56ee76263fa77e5a7126fe7 14-Dec-2015 Werner Lemberg <wl@gnu.org> [base] Fix calls to `FT_Stream_Seek'.

* src/base/ftobjs.c (Mac_Read_sfnt_Resource, FT_Open_Face): Set
`error'.
/external/freetype/src/base/ftobjs.c
f0cc1738e2914851ab50c0fe121e45f40f7f95d6 14-Dec-2015 Ben Wagner <bungeman@gmail.com> [base] Check error when seeking to data supplied offset (#46635).

* src/base/ftobjs.c (open_face_PS_from_sfnt_stream):
`ft_lookup_PS_in_sfnt_stream' returns offset and and length from
user supplied data. Use of this these values must be checked.
/external/freetype/src/base/ftobjs.c
ccd3188af18fc0e96a105ec68483e815209b9981 10-Nov-2015 Jan Alexander Steffens (heftig) <jan.steffens@gmail.com> Allow native CFF hinter in FT_RENDER_MODE_LIGHT.

Both the native CFF hinter and the auto-hinter now have a very
similar rendering style.

* include/freetype/freetype.h: Mention that FT_LOAD_TARGET_LIGHT no
longer implies FT_LOAD_FORCE_AUTOHINT.

* include/freetype/ftmodapi.h (FT_MODULE_DRIVER_HINTS_LIGHTLY): New
macro.

* include/freetype/internal/ftobjs.h (FT_DRIVER_HINTS_LIGHTLY): New
macro.

* src/cff/cffdrivr.c (cff_driver_class): Use it.

* src/base/ftobjs.c (FT_Load_Glyph): Update auto-hinter selection
logic.
/external/freetype/src/base/ftobjs.c
e03214e166c61b91ecb76e3b5fa5ee1c2a66ac56 15-Oct-2015 Werner Lemberg <wl@gnu.org> [base] Compute MD5 checksums only if explicitly requested.

This improves profiling accuracy.

* src/base/ftobjs.c (FT_Render_Glyph_Internal): Implement it.
/external/freetype/src/base/ftobjs.c
2a20c92c4bd022923885252ec9264642533ba809 14-Oct-2015 Werner Lemberg <wl@gnu.org> [base] Use `FT_' namespace for MD5 functions (#42366).

* src/base/ftobjs.c (MD5_*): Define as `FT_MD5_*'.
Undefine HAVE_OPENSSL.
/external/freetype/src/base/ftobjs.c
fb5268cf7b062b91012df7cb864ffaeee642163b 27-Sep-2015 suzuki toshiya <mpsuzuki@hiroshima-u.ac.jp> [base] Fix a leak by broken sfnt-PS or resource fork (#46028).

open_face_from_buffer() frees passed buffer if valid font
is not found. But if copying to the buffer is failed,
the allocated buffer should be freed within the caller.

* src/base/ftobjs.c (open_face_PS_from_sfnt_stream): Free
the buffer `sfnt_ps' if an error caused before calling
open_face_from_buffer().
(Mac_Read_sfnt_Resource): Free the buffer `sfnt_data' if
an error caused before calling open_face_from_buffer();
/external/freetype/src/base/ftobjs.c
d57f227121ef8e31872a5e7cfe2d10a46c81db46 26-Sep-2015 Werner Lemberg <wl@gnu.org> * src/base/ftobjs.c (Mac_Read_sfnt_Resource): Add cast.
/external/freetype/src/base/ftobjs.c
c409eb18aeeab8545d6ac7bfb03d1199743d99b8 24-Sep-2015 Werner Lemberg <wl@gnu.org> [base, sfnt] Better checks for invalid cmaps (1/2).

* src/base/ftobjs.c (FT_Get_Char_Index): Don't return out-of-bounds
glyph indices.
(FT_Get_First_Char): Updated.

* src/sfnt/ttcmap.c (tt_cmap6_char_next): Don't return character
codes greater than 0xFFFF.

(tt_cmap8_char_index): Avoid integer overflow in computation of
glyph index.
(tt_cmap8_char_next): Avoid integer overflows in computation of
both next character code and glyph index.

(tt_cmap10_char_index): Fix unsigned integer logic.
(tt_cmap10_char_next): Avoid integer overflow in computation of
next character code.

(tt_cmap12_next): Avoid integer overflows in computation of both
next character code and glyph index.
(tt_cmap12_char_map_binary): Ditto.
(tt_cmap12_char_next): Simplify.

(tt_cmap13_char_map_binary): Avoid integer overflow in computation
of next character code.
(tt_cmap13_char_next): Simplify.
/external/freetype/src/base/ftobjs.c
e982f5b78a7d113a40e0c579cae7d96487e94216 21-Sep-2015 suzuki toshiya <mpsuzuki@hiroshima-u.ac.jp> [base] Check too long POST and sfnt resource (#45919).

* src/base/ftbase.h (FT_MAC_RFORK_MAX_LEN): Maximum length
of the resource fork for Mac OS. The resource fork larger
than 16 MB can be written but could not be handled
correctly, at least in Carbon routine.
See https://support.microsoft.com/en-us/kb/130437

* src/base/ftobjs.c (Mac_Read_POST_Resource): No need `0x'
for `%p' formatter.

* src/base/ftbase.c (Mac_Read_POST_Resource): Check the
fragment and total size of the concatenated POST resource
before buffer allocation.
(Mac_Read_sfnt_Resource): Check the declared size of
sfnt resource before buffer allocation.

* src/base/ftmac.c (read_lwfn, FT_New_Face_From_SFNT):
Check the total resource size before buffer allocation.
/external/freetype/src/base/ftobjs.c
19b82cfbed2a269b0aae92f6dff3d40c3adccd3d 11-Sep-2015 Werner Lemberg <wl@gnu.org> [base] Avoid crash while tracing `load_mac_face'.

Reported in Savannah bug #45919.

* src/base/ftobjs.c (load_mac_face): Honour FT_OPEN_MEMORY while
tracing.
/external/freetype/src/base/ftobjs.c
78b014031d626a57a087c5e60447705fa834b79d 25-Aug-2015 Werner Lemberg <wl@gnu.org> [base] Improve kerning tracing and documentation.

* src/base/ftobjs.c (FT_Get_Kerning): Emit tracing message if
scaled-down kerning values differ.
/external/freetype/src/base/ftobjs.c
14d6b5d7486c406982989f1cfbef8c9c32dd0379 13-Aug-2015 Werner Lemberg <wl@gnu.org> [truetype] Introduce named instance access to GX fonts.

For functions querying a face, bits 16-30 of the face index can hold
the named instance index if we have a GX font. The indices start
with value 1; value 0 indicates font access without GX variation
data.

* include/freetype/freetype.h (FT_FaceRec): Update documentation.
* include/freetype/internal/sfnt.h: Ditto.

* src/sfnt/sfobjs.c (sfnt_init_face)
[TT_CONFIG_OPTION_GX_VAR_SUPPORT]: Get number of named instances and
do argument checks.
(sfnt_load_face): Updated.

* src/truetype/ttobjs.c (tt_face_init)
[TT_CONFIG_OPTION_GX_VAR_SUPPORT]: Use named instance, overwriting
the style name.

* src/base/ftobjs.c (open_face_from_buffer,
open_face_PS_from_sfnt_stream): Updated.
* src/bdf/bdfdrivr.c (BDF_Face_Init): Updated.
* src/cff/cffload.c (cff_font_load): Updated.

* src/cff/cffobjs.c (cff_face_init): Make function exit early for
pure CFF fonts if `font_index < 0'.
Updated.

* src/cid/cidobjs.c (cid_face_init): Updated.
* src/pcf/pcfdrivr.c (PCF_Face_Init): Updated.
* src/pfr/pfrobjs.c (pfr_face_init): Updated.
* src/type1/t1objs.c (T1_Face_Init): Updated.
* src/type42/t42objs.c (T42_Face_Init): Updated.
* src/winfonts/winfnt.c (fnt_face_get_dll_font, FNT_Face_Init):
Updated.

* docs/CHANGES: Updated.
/external/freetype/src/base/ftobjs.c
eb22ef26d94a8bebb2cfd68306c6ba4ee679517e 04-Aug-2015 Werner Lemberg <wl@gnu.org> Another left-shift bug (#45681).

* src/base/ftobjs.c (IsMacBinary): Only accept positive values for
`dlen'.
/external/freetype/src/base/ftobjs.c
9de55e03555728842a72ac58913ad261104ad07b 11-Apr-2015 Alexei Podtelezhnikov <apodtele@gmail.com> [base] NULL.
/external/freetype/src/base/ftobjs.c
eee7d8baa156f8488e1351b84bb2f8ebf20fec82 10-Mar-2015 Werner Lemberg <wl@gnu.org> [base] Rename `FT_Bitmap_New' to `FT_Bitmap_Init'.

* include/ftbitmap.h, src/base/ftbitmap.c: Implement it.
Update all callers.

* docs/CHANGES: Updated.
/external/freetype/src/base/ftobjs.c
82235d0474567d8d1f85d23462a3223571d4c424 16-Feb-2015 Werner Lemberg <wl@gnu.org> Next round of minor compiler warning fixes.

* include/internal/ftrfork.h (FT_RFork_Ref): Change `offset' member
type to `FT_Long'.
(CONST_FT_RFORK_RULE_ARRAY_BEGIN): Add `static' keyword.

* include/internal/ftstream.h (FT_Stream_Pos): Return `FT_ULong'.

* src/base/ftoutln.c, src/base/ftrfork.c, src/base/ftstream.c:
Signedess fixes.
/external/freetype/src/base/ftobjs.c
3cfa4d124cbcbb16d712cc9485d2355c104b3a2c 16-Feb-2015 Werner Lemberg <wl@gnu.org> Various minor signedness fixes.

* include/ftadvanc.h, include/internal/ftobjs.h,
src/base/ftgloadr.c, src/base/ftobjs.c: Apply.
/external/freetype/src/base/ftobjs.c
79a5ac603a29ba316d4d5d824a014589eb8879e4 18-Jan-2015 Werner Lemberg <wl@gnu.org> * src/base/ftobjs.c (FT_New_Library): Fix compiler warning.
/external/freetype/src/base/ftobjs.c
f57fc59e016217687362b6fbbc4842fab932175c 17-Jan-2015 Werner Lemberg <wl@gnu.org> Run `src/tools/update-copyright'.
/external/freetype/src/base/ftobjs.c
603292d7b0b2f391bcb11785a74a0b26fd727595 14-Jan-2015 Behdad Esfahbod <behdad@behdad.org> [base] Don't initialize unused `driver->glyph_loader'.

* src/base/ftobjs.c (Destroy_Driver): Don't call
`FT_GlyphLoader_Done'.
(FT_Add_Module): Don't call `FT_GlyphLoader_New'.
/external/freetype/src/base/ftobjs.c
516342534468565abf0dafbd5bbb2891bfc19990 14-Jan-2015 Behdad Esfahbod <behdad@behdad.org> [base] Don't allocate `library->raster_pool' anymore.

It's unused after the following commits:

[raster] Allocate render pool for mono rasterizer on the stack.
[raster] Remove 5-level gray AA mode from monochrome rasterizer.

The value of FT_RENDER_POOL_SIZE still serves the purpose it used to
serve, which is, to adjust the pool size. But the pool is now
allocated on the stack on demand.

* src/base/ftobjs.c (FT_New_Library, FT_Done_Library): Implement.
/external/freetype/src/base/ftobjs.c
6dfdaf4d99e435250eb18582fa60b59dc3bbc427 14-Jan-2015 Behdad Esfahbod <behdad@behdad.org> [base] Do not reorder library->renderers upon use.

Instead of keeping `library->renderers' in a MRU order, just leave
it as-is. The MRU machinery wasn't thread-safe.

With this patch, rasterizing glyphs from different faces from
different threads doesn't fail choosing rasterizer
(FT_Err_Cannot_Render_Glyph).

Easiest to see that crash was to add a `printf' (or otherwise let
thread yield in FT_Throw with debugging enabled).

* src/base/ftobjs.c (FT_Render_Glyph_Internal), src/base/ftoutln.c
(FT_Outline_Render): Don't call `FT_Set_Renderer'.
/external/freetype/src/base/ftobjs.c
c9ca6ffc9442b4b127f948e2d993454aa7791e59 11-Dec-2014 Werner Lemberg <wl@gnu.org> * src/base/ftobjs.c (FT_Get_Glyph_Name): Fix off-by-one check.

Problem reported by Dennis Felsing <dennis@felsin9.de>.
/external/freetype/src/base/ftobjs.c
0098d5502d384e1dd41ec42a3cbf9dee1916ed72 07-Dec-2014 Werner Lemberg <wl@gnu.org> Uppercase all hex digits for orthogonality.
/external/freetype/src/base/ftobjs.c
3d167cbe7f672208f4197237945d52a4356de420 27-Nov-2014 Werner Lemberg <wl@gnu.org> * src/base/ftobjs.c (FT_Get_Glyph_Name): Fix compiler warning.

Introdruced in previous change. Reported by Alexei.
/external/freetype/src/base/ftobjs.c
f34f1925358057d2e374303408088f6c15bebfb8 26-Nov-2014 Werner Lemberg <wl@gnu.org> * src/*: Add checks for parameters of API functions where missing.

`API functions' are functions tagged with `FT_EXPORT_DEF'.

Besides trivial fixes, the following changes are included, too.

* src/base/ftbdf.c (FT_Get_BDF_Charset_ID, FT_Get_BDF_Property): Set
error code if no service is available.

* src/base/ftinit.c (FT_Done_FreeType): Change return value for
invalid `library' parameter to `Invalid_Library_Handle'.

* src/base/ftobjs.c (FT_New_Size): Change return value for invalid
`asize' parameter to `Invalid_Argument'.

* src/base/ftoutln.c (FT_Outline_Copy): Change return value for
invalid `source' and `target' parameters to `Invalid_Outline'.
(FT_Outline_Done_Internal): Change return value for invalid
`outline' parameter to `Invalid_Outline'.
/external/freetype/src/base/ftobjs.c
cd4a5a26e591d01494567df9dec7f72d59551f6e 26-Nov-2014 suzuki toshiya <mpsuzuki@hiroshima-u.ac.jp> * src/base/ftobj.c (Mac_Read_POST_Resource): Additional
overflow check in the summation of POST fragment lengths,
suggested by Mateusz Jurczyk <mjurczyk@google.com>.
/external/freetype/src/base/ftobjs.c
1720e81e3ecc7c266e54fe40175cc39c47117bf5 26-Nov-2014 suzuki toshiya <mpsuzuki@hiroshima-u.ac.jp> * src/base/ftobjs.c (Mac_Read_POST_Resource): Insert comments
and fold too long tracing messages.
/external/freetype/src/base/ftobjs.c
453316792fee912cfced48e9e270e9eb19892e64 26-Nov-2014 suzuki toshiya <mpsuzuki@hiroshima-u.ac.jp> * src/base/ftobjs.c (Mac_Read_POST_Resource): Use unsigned long
variables to read the lengths in POST fragments. Suggested by
Mateusz Jurczyk <mjurczyk@google.com>.
/external/freetype/src/base/ftobjs.c
35252ae9aa1dd9343e9f4884e9ddb1fee10ef415 26-Nov-2014 suzuki toshiya <mpsuzuki@hiroshima-u.ac.jp> Fix Savannah bug #43539.

* src/base/ftobjs.c (Mac_Read_POST_Resource): Fix integer overflow
by a broken POST table in resource-fork.
/external/freetype/src/base/ftobjs.c
240c94a185cd8dae7d03059abec8a5662c35ecd3 26-Nov-2014 suzuki toshiya <mpsuzuki@hiroshima-u.ac.jp> Fix Savannah bug #43538.

* src/base/ftobjs.c (Mac_Read_POST_Resource): Fix integer overflow
by a broken POST table in resource-fork.
/external/freetype/src/base/ftobjs.c
5aff85301bdce7677766fa1367c82ff41a739637 26-Nov-2014 suzuki toshiya <mpsuzuki@hiroshima-u.ac.jp> * src/base/ftobjs.c (Mac_Read_POST_Resource): Avoid memory leak
by a broken POST table in resource-fork. Return after freeing
the buffered POST table when it is found to be broken.
/external/freetype/src/base/ftobjs.c
02b8e7e8d751605b133568b86fbb5dff48b6b5a5 25-Nov-2014 Werner Lemberg <wl@gnu.org> */*: s/Invalid_Argument/Invalid_Size_Handle/ where appropriate.
/external/freetype/src/base/ftobjs.c
04edbbda3cdf2ac0c7b90203ea87549e6f90753b 25-Nov-2014 Werner Lemberg <wl@gnu.org> */*: s/Invalid_Argument/Invalid_Face_Handle/ where appropriate.
/external/freetype/src/base/ftobjs.c
6689a009ced7442c121df1224b3c529e81dc5017 25-Nov-2014 Werner Lemberg <wl@gnu.org> [Savannah bug #43682] Properly handle missing return errors.

The functions in this patch *do* return non-trivial errors that must
be taken care of.

* src/autofit/afloader.c (af_loader_load_g), src/base/ftobjs.c
(FT_Render_Glyph_Internal), src/base/ftoutln.c (FT_Outline_Render),
src/cff/cffgload.c (cff_decoder_parse_charstrings) <cff_op_endchar>,
src/psaux/psobjs.c (ps_parser_load_field_table), src/psaux/t1decode
(t1_decoder_parse_charstrings) <op_endchar>, src/truetype/ttgload.c
(load_truetype_glyph <subglyph loop>, tt_loader_init,
TT_Load_Glyph), src/truetype/ttgxvar.c (TT_Set_MM_Blend),
src/truetype/ttobjs.c (tt_size_run_fpgm, tt_size_run_prep): Do it.
/external/freetype/src/base/ftobjs.c
6889f7b72debca592570687b0a220c7a15cbf9d2 24-Nov-2014 Werner Lemberg <wl@gnu.org> Remove all code related to FT_MAX_CHARMAP_CACHEABLE.

This is no longer used.

* src/base/ftobjs.c, src/cache/ftccmap.c, src/cff/cffobjs.c,
src/sfnt/ttcmap.c: Do it.
/external/freetype/src/base/ftobjs.c
23c093fc38326d98a58dd482ed6afa4b02d2a004 21-Nov-2014 Werner Lemberg <wl@gnu.org> Minor.
/external/freetype/src/base/ftobjs.c
bbd8313b5d54758874df53acc142f3217e368e6c 17-Apr-2014 Werner Lemberg <wl@gnu.org> Make `FT_Get_SubGlyph_Info' actually work.

* src/base/ftobjs.c (FT_Get_SubGlyph_Info): Return FT_Err_Ok
if there is no error.
/external/freetype/src/base/ftobjs.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/base/ftobjs.c
aae0f1aff4ae40e65294ef27bdf3f21a173ec574 19-Jan-2014 Werner Lemberg <wl@gnu.org> Minor.
/external/freetype/src/base/ftobjs.c
e2d2b1544f24413fa62e0c845184b429eb227e9d 27-Dec-2013 suzuki toshiya <mpsuzuki@hiroshima-u.ac.jp> [ftrfork] Fix the face order difference between POSIX and Carbon.

The fragmented resources in Suitcase and .dfont should be reordered
when post resource for Type1 is being restored, but reordering of
sfnt resources induces the different face order. Now the ordering
is restricted to post resource only, to prevent the different order
issue (e.g. the face index in the fontconfig cache generated with
Carbon framework is incompatible with that by FreeType2 without
Carbon framework.) Found by Khaled Hosny and Hin-Tak Leung.

http://lists.gnu.org/archive/html/freetype-devel/2013-02/msg00035.html
http://lists.gnu.org/archive/html/freetype-devel/2013-12/msg00027.html

* src/base/ftrfork.c (FT_Raccess_Get_DataOffsets): Add a switch
`sort_by_res_id' to control the fragmented resource ordering.
* include/internal/ftrfork.h: Daclare new switch.
* src/base/ftobjs.c (IsMacResource): Enable the soring for post
resource, and disable the sorting for sfnt resource.
/external/freetype/src/base/ftobjs.c
a44b784bca958934b522830b98fb9866275f9fa2 02-Dec-2013 Werner Lemberg <wl@gnu.org> Formatting.
/external/freetype/src/base/ftobjs.c
2862686996955651538bf9e4481b52d3ff8bad74 20-Nov-2013 Werner Lemberg <wl@gnu.org> [truetype] Don't trust `maxp's `maxSizeOfInstructions'.

Problem reported by Hin-Tak Leung <htl10@users.sourceforge.net>; see

http://lists.nongnu.org/archive/html/freetype-devel/2013-08/msg00005.html

for details.

* src/base/ftobjs.c (FT_Load_Glyph): Check size of `fpgm' and `prep'
tables also for setting `autohint'.

* src/truetype/ttgload.c (TT_Load_Simple_Glyph): Use code from
`TT_Process_Composite_Glyph' for handling unreliable values of
`maxSizeOfInstructions'.
/external/freetype/src/base/ftobjs.c
604838d5ba3eb047a2b7106411e2d819b0212c6e 22-Oct-2013 Werner Lemberg <wl@gnu.org> * src/base/md5.c, src/base/md5.h: Updated to recent version.

* src/base/ftobjs.c: Updated; `md5.c' no longer uses `free'.
/external/freetype/src/base/ftobjs.c
d689d1cf782fe52f4d8def8c790825f01dd39059 29-Aug-2013 Werner Lemberg <wl@gnu.org> Implement support for WOFF containers.

We simply synthesize a SFNT from the WOFF, create a memory stream
for the new data, and load the SFNT as usual.

Does NOT add any API to access WOFF metadata or private blocks.

* include/freetype/internal/tttypes.h (WOFF_HeaderRec,
WOFF_TableRec): New structures.

* include/freetype/tttags.h (TTAG_wOFF): New macro.

* src/base/ftobjs.c (FT_Open_Face): Set `stream' after calling
`open_face'.

* src/sfnt/sfobjs.c [FT_CONFIG_OPTION_SYSTEM_ZLIB]: Include
`FT_GZIP_H'.
(WRITE_BYTE, WRITE_USHORT, WRITE_ULONG): New temporary macros for
writing to a stream.
(sfnt_stream_close, compare_offsets, woff_open_font): New functions.
(sfnt_open_font): Handle `TTAG_wOFF'.
(sfnt_init_face): Set `stream' after calling `sfnt_open_font'.

* src/truetype/ttobjs.c (tt_face_init): Set `stream' after calling
`sfnt->init_face'.

* src/base/ftobjs.c (open_face): Use a pointer to FT_Stream as an
argument so that a changed stream survives.
Update callers.
/external/freetype/src/base/ftobjs.c
bd3849e7deefcb3c772e77f14fdbf102bead389d 27-Aug-2013 Behdad Esfahbod <behdad@google.com> FT_Open_Face: Improve external stream handling.

If the font's `clazz->init_face' function wants to swap to new
stream, handling of whether original stream was external could
result to either memory leak or double free. Mark externality into
face flags before calling `init_face' such that the clazz can handle
external streams properly.

* src/base/ftobjs.c (FT_Open_Face): Move code to set
FT_FACE_FLAG_EXTERNAL_STREAM to...
(open_face): This function.
/external/freetype/src/base/ftobjs.c
25b7da5348829cd2bee26543c981d56a7960d756 19-Jun-2013 Werner Lemberg <wl@gnu.org> * Version 2.5.0 released.
=========================

Tag sources with `VER-2-5-0'.

* docs/VERSION.DLL: Update documentation and bump version number to
2.5.0.

* README, Jamfile (RefDoc),
builds/win32/vc2005/freetype.vcproj, builds/win32/vc2005/index.html,
builds/win32/vc2008/freetype.vcproj, builds/win32/vc2008/index.html,
builds/win32/vc2010/freetype.vcxproj, builds/win32/vc2010/index.html,
builds/win32/visualc/freetype.dsp,
builds/win32/visualc/freetype.vcproj,
builds/win32/visualc/index.html, builds/win32/visualce/freetype.dsp,
builds/win32/visualce/freetype.vcproj,
builds/win32/visualce/index.html,
builds/wince/vc2005-ce/freetype.vcproj,
builds/wince/vc2005-ce/index.html,
builds/wince/vc2008-ce/freetype.vcproj,
builds/wince/vc2008-ce/index.html: s/2.4.12/2.5.0/, s/2412/250/.

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

* builds/unix/configure.raw (version_info): Set to 16:2:10.

* src/base/ftobjs.c (FT_Open_Face): Pacify compiler.
* src/truetype/ttinterp.c (Ins_MSIRP, Ins_MIRP): Ditto.
/external/freetype/src/base/ftobjs.c
67cf7a8841b0bbf6aa3085216fcb5ba7340473ca 18-Jun-2013 Andrew Church <achurch+savannah@achurch.org> Fix Savannah bug #39266.

If memory allocations fail at certain points while opening a font,
FreeType can either crash due to a NULL dereference or leak memory.

* include/freetype/internal/ftobjs.c (FT_Face_InternalRec,
FT_LibraryRec): Make `refcount' a signed integer. If, for example,
FT_Open_Face() fails in a memory allocation before the face's
reference count is set to 1, a subsequent `FT_Done_Library' call
would otherwise loop over `FT_Done_Face' 2^32 times before freeing
the face.

* src/base/ftobjs.c (open_face): Initialize `stream' and friends
earlier.
(FT_Open_Face) <Fail>: Behave correctly if `node' is NULL.
(FT_Destroy_Module) <Fail>: Check that `renderer_clazz' is valid.
/external/freetype/src/base/ftobjs.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/base/ftobjs.c
a25ecfddbad6d6e5a534bf0374f4f522349fc158 10-Jun-2013 Werner Lemberg <wl@gnu.org> [sfnt] Improve embedded bitmap tracing.

* src/base/ftobjs.c (FT_Request_Size): Move trace message regarding
bitmap strike match to...
(FT_Match_Size): This function.

* src/sfnt/ttsbit.c (tt_sbit_decoder_load_metrics,
tt_sbit_decoder_load_byte_aligned, tt_sbit_decoder_load_bit_aligned,
tt_sbit_decoder_load_compound, tt_sbit_decoder_load_png,
tt_sbit_decoder_load_image): Decorate with tracing messages.
/external/freetype/src/base/ftobjs.c
3f6e0e0c6b75c76def1cffe2967a1f5ace392007 07-Jun-2013 Werner Lemberg <wl@gnu.org> Add and improve pragmas for MSVC compiler.

* include/freetype/internal/ftdebug.h: Remove pragmas.
* include/freetype/internal/ftserv.h: Use push and pop for pragmas.
* include/freetype/internal/ftvalid.h: Handle warning C4324.
* src/base/ftobjs.c: Use push and pop for pragmas.
* src/gzip/ftgzip.c: Handle warning C4244.
/external/freetype/src/base/ftobjs.c
c378249e58ce329f9a79522b7a272c6327894f89 05-Jun-2013 Dave Arnold <darnold@adobe.com> Fix more MSVC Win32 compiler warnings.

* src/base/ftobjs.c: Fix typo in MS pragma.

* src/base/bdflib.c (_bdf_set_default_spacing, _bdf_add_property):
`lineno' is only used in debug mode.

* src/cff/cf2ft.c (cf2_builder_moveTo): `params' is only used in
debug mode.
/external/freetype/src/base/ftobjs.c
45392b77a8207d9e60b6c7c2aea3e1b659da2519 05-Jun-2013 Werner Lemberg <wl@gnu.org> Fix compiler warnings.

* include/freetype/internal/ftmemory.h: Decorate memory allocation
macros with `FT_Long' where appropriate.
Remove duplicate of FT_MEM_QRENEW_ARRAY definition.

* src/base/ftbitmap.c (ft_gray_for_premultiplied_srgb_bgra): Use
cast.

* src/base/ftobjs.c: Add warning disabling pragma for MSVC while
including `md5.c'.

* src/cff/cf2intrp.c (cf2_interpT2CharString) <cf2_cmdESC>: Add
cast.

* src/sfnt/ttsbit.c (tt_sbit_decoder_load_compound): Fix casts.
(tt_sbit_decoder_load_bitmap): Beautification.

* src/smooth/ftsmooth.c (ft_smooth_render_generic): Initialize
variables (earlier).

* src/truetype/ttgload.c (TT_Process_Simple_Glyph): Pacify compiler.

* src/truetype/ttgxvar.c (TT_Get_MM_Var): Use unsigned constants
where appropriate.

* src/type1/t1load.c (T1_Get_MM_Var): Ditto.
/external/freetype/src/base/ftobjs.c
8d8508e4d25eee31eef9c39bf790320bfd429d08 04-Jun-2013 Werner Lemberg <wl@gnu.org> Missed some cppcheck items.
/external/freetype/src/base/ftobjs.c
d51ac9c7c6aa5773c806495052a7a862fce6a7e2 12-May-2013 Werner Lemberg <wl@gnu.org> Fix Savannah bug #38968.

* include/freetype/ftmodapi.h: Add `FT_EXPORT' to
FT_Property_{Set,Get}.
* src/base/ftobjs.c: Add `FT_EXPORT_DEF' to
FT_Property_{Set,Get}.
/external/freetype/src/base/ftobjs.c
f6aa089f12ce3a7b7ee3d1b548969c2cb879b893 10-May-2013 Werner Lemberg <wl@gnu.org> */* [FT_CONFIG_OPTION_OLD_INTERNALS]: Remove macro and guarded code.
/external/freetype/src/base/ftobjs.c
2dc2662125d276aa81009ab1bc659602903ba134 12-Apr-2013 Werner Lemberg <wl@gnu.org> Add output bitmap checksums.

Use `FT2_DEBUG=bitmap:3' for tracing.

* src/base/md5.c, src/base/md5.h: New files, taken from

http://openwall.info/wiki/people/solar/software/public-domain-source-code/md5

* include/freetype/internal/fttrace.h: Add `bitmap'.

* src/base/ftobjs.c [FT_DEBUG_LEVEL_TRACE]: Include `md5.c'

(FT_Render_Glyph_Internal) [FT_DEBUG_LEVEL_TRACE]: For tracing,
convert resulting bitmap to a uniform format and compute a checksum.
Use `bitmap' category for the tracing message.

* src/base/rules.mk (BASE_H): Updated.

* docs/LICENSE.TXT: Updated.
/external/freetype/src/base/ftobjs.c
89f5064765bdedd1f3449d3f8d7b96bfe86aa23d 14-Mar-2013 Werner Lemberg <wl@gnu.org> */*: Use FT_ERR_EQ, FT_ERR_NEQ, and FT_ERR where appropriate.

FT_Err_XXX and friends are no longer directly used in the source
code.
/external/freetype/src/base/ftobjs.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/base/ftobjs.c
6b83a3674c3a0a30a2f2d685ba8a3d15de139480 09-Jan-2013 Alexei Podtelezhnikov <apodtele@gmail.com> [base, pshinter] Use FT_ABS, FT_MIN, and FT_MAX for readability.

* src/base/ftbbox.c: Updated.
* src/base/ftobjs.c: Updated.
* src/base/fttrigon.c: Updated.
* src/pshinter/pshalgo.c: Updated.
* src/pshinter/pshrec.c: Updated.
/external/freetype/src/base/ftobjs.c
768590a99d36e87dd00df30435f274a4567f6ce3 20-Dec-2012 Werner Lemberg <wl@gnu.org> * src/base/ftobjs.c (ft_property_do): Fix compiler warning.
/external/freetype/src/base/ftobjs.c
073a4cefbdac04c6b74b097cbb39001a3232db9e 15-Sep-2012 Werner Lemberg <wl@gnu.org> Use `FT_Module' instead of `FT_Library' argument in property funcs.

This internal change simplifies access to global module data.

* include/freetype/internal/services/svprop.h
(FT_Properties_SetFunc, FT_Properties_GetFunc): Change accordingly.

* src/base/ftobjs.c (ft_property_do), src/autofit/afmodule.c
(af_property_set, af_property_get): Updated.
/external/freetype/src/base/ftobjs.c
0f8fd88e83a9a465f9433f3e0561031bb03f8980 30-Aug-2012 Werner Lemberg <wl@gnu.org> Implement properties to control FreeType modules.

* include/freetype/fterrdef.h (FT_Err_Missing_Property): New error
code.
* include/freetype/ftmodapi.h (FT_Property_Set, FT_Property_Get):
New API.

* include/freetype/internal/services/svprop.h: New file.
* include/freetype/internal/ftserv.h (FT_SERVICE_PROPERTIES_H): New
macro.

* src/base/ftobjs.c: Include FT_SERVICE_PROPERTIES_H.
(ft_property_do, FT_Property_Set, FT_Property_Get): New functions.
/external/freetype/src/base/ftobjs.c
d0841ea73badc69771413780ea6392eeed733dbd 27-Aug-2012 Werner Lemberg <wl@gnu.org> [autofit] Some macro and variable renamings for orthogonality.

* include/freetype/internal/autohint.h, src/base/ftobjs.c,
src/autofit/afmodule.c, src/autofit/afpic.c, src/autofit/afpic.h:
s/SERVICE/INTERFACE/, s/service/interface/, s/Service/Interface/.
/external/freetype/src/base/ftobjs.c
b355b5693ab1a7a9c188e38c8fa0d4106ed49f86 26-Aug-2012 Werner Lemberg <wl@gnu.org> Fix Savannah bug #37178.

* src/base/ftobjs.c (FT_Open_Face): Initialize `error' with
`FT_Err_Missing_Module' before loop to indicate `no valid drivers'.
/external/freetype/src/base/ftobjs.c
68fe6a9afad5ea2ac61e4f02ed8774603faab7b3 26-Aug-2012 Werner Lemberg <wl@gnu.org> Formatting.
/external/freetype/src/base/ftobjs.c
f24d0793f1a837e869cfcd1a06275a06dae4bd1c 11-Feb-2012 Werner Lemberg <wl@gnu.org> Clean up `generic' fields.

* include/freetype/internal/ftobjs.h (FT_ModuleRec, FT_LibraryRec):
Remove `generic' field since users can't access it.

* src/base/ftobjs.c (FT_Done_GlyphSlot): Call `generic.finalizer' as
advertised in the documentation of FT_Generic.
(Destroy_Module, FT_Done_Library): Updated to changes in `ftobjs.h'.
/external/freetype/src/base/ftobjs.c
c7c4d68bfb1158db1f78d68131aff5ba8973f9d6 17-Jan-2012 suzuki toshiya <mpsuzuki@hiroshima-u.ac.jp> [raccess] Modify for PIC build.

Based on the patch provided by Erik Dahlstrom <ed@opera.com>,
http://lists.gnu.org/archive/html/freetype-devel/2012-01/msg00010.html

Also `raccess_guess_table[]' and `raccess_rule_by_darwin_vfs()'
are renamed with `ft_' suffixes.

* src/base/ftbase.h: `raccess_rule_by_darwin_vfs()' is renamed
to `ft_raccess_rule_by_darwin_vfs()'.
* src/base/ftobjs.c: Ditto.

* src/base/ftrfork.c: Declarations of FT_RFork_Rule,
raccess_guess_rec, are moved to...
* include/freetype/internal/ftrfork.h: Here.

* include/freetype/internal/ftrfork.h:
FT_RFORK_RULE_ARRAY_{BEGIN,ENTRY,END} macros are defined
to replace raccess_guess_table[] in both of PIC and non-PIC
modes.
* src/base/ftrfork.c: raccess_guess_table[] array is rewritten
by FT_RFORK_RULE_ARRAY_{BEGIN,ENTRY,END}.

* src/base/basepic.h (BasePIC): Add `ft_raccess_guess_table'
storage. (FT_RACCESS_GUESS_TABLE_GET): New macro to retrieve
the function pointer from `ft_raccess_guess_table' storage in
`BasePIC' structure.
* src/base/ftrfork.c (FT_Raccess_Guess): Rewritten with
FT_RACCESS_GUESS_TABLE_GET.
(raccess_get_rule_type_from_rule_index): Add `library' as the
first argument to the function, to retrieve the storage of
`ft_raccess_guess_table' from it. Also `raccess_guess_table'
is replaced by FT_RACCESS_GUESS_TABLE_GET.
(ft_raccess_rule_by_darwin_vfs): Ditto.
/external/freetype/src/base/ftobjs.c
714ee56ab152ae364eb49260acf2c9a114b44825 02-Dec-2011 suzuki toshiya <mpsuzuki@hiroshima-u.ac.jp> [mac] Unify DARWIN_NO_CARBON with FT_MACINTOSH.

Originally FT_MACINTOSH was a pure auto macro and DARWIN_NO_CARBON
was a configurable macro to disable Carbon-dependent code. Because
now configure script sets DARWIN_NO_CARBON by default and disables
Darwin & Carbon-dependent codes, these macros can be unified.
FT_MACINTOSH (undefined by default) is kept and DARWIN_NO_CARBON
(defined by default) is removed, because DARWIN_NO_CARBON violates
FT_XXX naming convention of public macros, and a macro configured by
default is not portable for the building without configure (e.g.
make devel).

* builds/unix/configure.raw: Define FT_MACINTOSH if Carbon-based
old Mac font support is requested and Carbon is available.
* builds/unix/ftconfig.in: Undefine FT_MACINTOSH when the support
for Mac OS X without Carbon (e.g. Mac OS X 10.4 for ppc64) is
requested.
* include/freetype/config/ftconfig.in: Ditto.
* builds/vms/ftconfig.h: Ditto.

* src/base/ftbase.h: Remove DARWIN_NO_CARBON.
* src/base/ftbase.c: Ditto.
* src/base/ftobjs.c: Ditto.
* src/base/ftrfork.c: Ditto.

* src/base/ftmac.c: Compile the body if FT_MACINTOSH is defined
(same with TT_USE_BYTECODE_INTERPRETER in ttinterp.c).
* builds/mac/ftmac.c: Ditto.

* builds/mac/FreeType.m68k_cfm.make.txt: Define FT_MACINTOSH.
* builds/mac/FreeType.m68k_far.make.txt: Ditto.
* builds/mac/FreeType.ppc_classic.make.txt: Ditto.
* builds/mac/FreeType.ppc_carbon.make.txt: Ditto.
/external/freetype/src/base/ftobjs.c
72185cb5f4904e42f18a5074341bf25966510136 15-Oct-2011 Kal Conley <kcconley@gmail.com> Fix handling of transformations if no renderer is present.

* src/base/ftobjs.c (FT_Load_Glyph): Thinko.
/external/freetype/src/base/ftobjs.c
298608d1d22e2e3dd9d6d43fafaa86f2fcab0d23 15-Oct-2011 Kal Conley <kcconley@gmail.com> Fix conditions for autohinting.

* src/base/ftobjs.c (FT_Load_Glyph): Handle
FT_LOAD_IGNORE_TRANSFORM.
/external/freetype/src/base/ftobjs.c
57b6a6148d072d30d7bcd071411316369190a57c 09-Sep-2011 Werner Lemberg <wl@gnu.org> Better tracing of metrics.

* src/base/ftobjs.c (FT_Request_Size, FT_Select_Size): Decorate with
FT_TRACE.
/external/freetype/src/base/ftobjs.c
c9a69022dc733eb59b0b8fd7b49d619ed1ac438d 30-Aug-2011 Werner Lemberg <wl@gnu.org> Typo.
/external/freetype/src/base/ftobjs.c
51ca771ff6c1146870220c76178eaeecc2c1410b 30-Aug-2011 Werner Lemberg <wl@gnu.org> Better tracing of metrics.

* src/base/ftobjs.c (FT_Select_Metrics, FT_Request_Metrics):
Decorate with FT_TRACE.
/external/freetype/src/base/ftobjs.c
3abf617b5e83a5cbe588169844fe931e7b91e50f 20-Jul-2011 Chris Morgan <cmorgan@cybexintl.com> Add FT_CONFIG_OPTION_DISABLE_STREAM_SUPPORT.

Useful for embedded systems which don't need file stream support.

* src/base/ftsystem.c, src/base/ftobjs.c (FT_Stream_New): Implement
it.
/external/freetype/src/base/ftobjs.c
65a449887d82bf78fab234b9c5df71fdd82173fb 14-Jun-2011 suzuki toshiya <mpsuzuki@hiroshima-u.ac.jp> [base] Fix g++4.6 compiler warnings in src/base/*.c.

Passing uninitialized pointer to the buffer allocator is
not problematic theoretically (as far as the returned
pointer is checked before writing), but g++4.6 dislikes
it and warns by -Wuninitialized. Initialize them by NULL.

* src/base/ftobjs.c (FT_Stream_New): Init `stream'.
(new_memory_stream): Ditto.
(FT_New_GlyphSlot): Init `slot'.
(FT_CMap_New): Init `cmap'.
(open_face_PS_from_sfnt_stream): Init `sfnt_ps'.
(Mac_Read_POST_Resource): Init `pfb_data'.
(Mac_Read_sfnt_Resource): Init `sfnt_data'.
* src/base/ftrfork.c (FT_Raccess_Get_DataOffsets):
Init `offsets_internal' and `ref'.
(raccess_guess_darwin_hfsplus): Init `newpath'.
(raccess_guess_darwin_newvfs): Ditto.
* src/base/ftbitmap.c (ft_bitmap_assure_buffer):
Init `buffer'.
* src/base/ftstroke.c (FT_Stroker_New): Init `stroker'.
/external/freetype/src/base/ftobjs.c
c9bdfa7e658f42f3faed2b426e3b1251a04938e4 06-Mar-2011 Werner Lemberg <wl@gnu.org> Fix autohinting fallback.

* src/base/ftobjs.c (FT_Load_Glyph): Assure that we only check TTFs,
ignoring CFF-based OTFs.
/external/freetype/src/base/ftobjs.c
ff8095077ce454246edb93c5bc672edb2b2c8f25 19-Feb-2011 Kevin Kofler <kevin.kofler@chello.at> Fall back to autohinting if a TTF/OTF doesn't contain any bytecode.
This is Savannah patch #7471.

* src/base/ftobjs.c (FT_Load_Glyph): Implement it.
/external/freetype/src/base/ftobjs.c
312d26a4915bcf7ca1e428f7bdf7ed631574dc13 13-Dec-2010 Werner Lemberg <wl@gnu.org> Fix parameter handling of `FT_Set_Renderer'.
Reported by Kirill Tishin <siege@bk.ru>.

* src/base/ftobjs.c (FT_Set_Renderer): Increment `parameters'.
/external/freetype/src/base/ftobjs.c
ac09390afcfaf2c63b75ffee5c0759e29359f9ac 04-Nov-2010 suzuki toshiya <mpsuzuki@hiroshima-u.ac.jp> [UVS] Fix find_variant_selector_charmap(), Savannah bug #31545.

Since 2010-07-04, find_variant_selector_charmap() returns
the first cmap subtable always under rogue-compatible
configuration, it causes NULL pointer dereference and
make UVS-related functions crashed.

* src/base/ftobjs.c (Fix find_variant_selector_charmap):
Returns UVS cmap correctly.
/external/freetype/src/base/ftobjs.c
b72e046098edd0a93992a251759e6bfffea74e78 04-Nov-2010 suzuki toshiya <mpsuzuki@hiroshima-u.ac.jp> [UVS] Remove non-essential pointer checking in previous commit.
/external/freetype/src/base/ftobjs.c
e891e4d6f130408d171724723673472a4e0359f9 04-Nov-2010 suzuki toshiya <mpsuzuki@hiroshima-u.ac.jp> [UVS] Stabilizes UVS supporting functions against non-UVS fonts.

UVS supporting functions assume the variation handler functions
are valid. When a font without cmap format 14 is given, these
function pointers are left as NULL, so calling these functions
causes NULL pointer dereference.

* src/base/ftobjs.c (FT_Face_GetCharVariantIndex): Check the pointer
FT_CMap_Class->char_var_index before calling it.
(FT_Face_GetCharVariantIsDefault): Check the pointer
FT_CMap_Class->char_var_default before calling it.
(FT_Face_GetVariantSelectors): Check the pointer
FT_CMap_Class->variant_list before calling it.
(FT_Face_GetVariantsOfChar): Check the pointer
FT_CMap_Class->charvariant_list before calling it.
(FT_Face_GetCharsOfVariant): Check the pointer
FT_CMap_Class->variantchar_list before calling it.
/external/freetype/src/base/ftobjs.c
463dddadfbc4a5d28b7983c69ddd840b72519325 13-Oct-2010 suzuki toshiya <mpsuzuki@hiroshima-u.ac.jp> [raccess] Skip unrequired resource access rules by Darwin VFS.

When a resource fork access rule by Darwin VFS could open the
resource fork but no font is found in it, the rest of rules
by Darwin VFS are skipped. It reduces the warnings of the
deprecated resource fork access method by recent Darwin kernel.
Fix MacPorts ticket #18859:
http://trac.macports.org/ticket/18859

* src/base/ftobjs.c (load_face_in_embedded_rfork):
When FT_Stream_New() returns FT_Err_Cannot_Open_Stream, it
means that the file is possible to be fopen()-ed but zero-sized.
Also there is a case that the resource fork is not zero-sized,
but no supported font exists in it. If a rule by Darwin VFS
falls into such cases, there is no need to try other Darwin VFS
rules anymore. Such cases are marked by vfs_rfork_has_no_font.
If it is TRUE, the Darwin VFS rules are skipped.
/external/freetype/src/base/ftobjs.c
ba95440cd1ccf3b85aad839d768a001930dac66b 06-Aug-2010 Werner Lemberg <wl@gnu.org> Minor doc fixes, formatting.
/external/freetype/src/base/ftobjs.c
445241589d3f3c45a9fda8f0a1f49806812cb9d0 06-Aug-2010 suzuki toshiya <mpsuzuki@hiroshima-u.ac.jp> Fix Savannah bug #30648.

* src/base/ftobjs.c (FT_Done_Library): Specify the order of font
drivers in face closing process. Type42 faces should be closed
before TrueType faces, because a Type42 face refers another
internal TrueType face which is created from sfnt[] array on the
memory.
/external/freetype/src/base/ftobjs.c
81f3472c0ba7b8f6466e2e214fa8c1c17fade975 06-Aug-2010 suzuki toshiya <mpsuzuki@hiroshima-u.ac.jp> Fix Savannah bug #30658.

* src/base/ftobjs.c (Mac_Read_POST_Resource): Check the total
length of collected POST segments does not overrun the allocated
buffer.
/external/freetype/src/base/ftobjs.c
fe3433c7368cb9b237fc35c247254d6e8cc12bb5 18-Jul-2010 Werner Lemberg <wl@gnu.org> Add reference counters and to FT_Library and FT_Face objects.

* include/freetype/freetype.h (FT_Reference_Face): New function.
* include/freetype/ftmodapi.h (FT_Rererence_Library): New function.

* include/freetype/internal/ftobjs.h (FT_Face_InternalRec,
FT_LibraryRec): New field `refcount'.

* src/base/ftobjs.c (FT_Open_Face, FT_New_Library): Handle
`refcount'.
(FT_Reference_Face, FT_Reference_Library): Implement new functions.
(FT_Done_Face, FT_Done_Library): Handle `refcount'.

* docs/CHANGES: Updated.
/external/freetype/src/base/ftobjs.c
c8f5b98be26df911f41d804d69ccb6d4bf818a53 12-Jul-2010 Werner Lemberg <wl@gnu.org> Remove C++ warnings.

*/*: Initialize pointers where necessary to make g++ happy.
/external/freetype/src/base/ftobjs.c
b33b856a2753a1b4a23fdac658116883fd9bf7f1 05-Jul-2010 Eugene A. Shatokhin <spectre@ispras.ru> Fix Savannah bug #27648.

* src/base/ftobjs.c (ft_remove_renderer, FT_Add_Module): Call
`raster_done' only if we have an outline glyph format.

Fix comment typo.
/external/freetype/src/base/ftobjs.c
0ae3271814982524dfd210dee09031c2430d473f 04-Jul-2010 suzuki toshiya <mpsuzuki@hiroshima-u.ac.jp> Restrict the number of the charmaps in a rogue-compatible mode.
Fix for Savannah bug #30059.

* src/cache/ftccmap.c (FTC_CMapCache_Lookup): Replace `16' the
minimum character code passed by a legacy rogue client by...
* include/freetype/config/ftoption.h (FT_MAX_CHARMAP_CACHEABLE):
This. It is undefined when FT_CONFIG_OPTION_OLD_INTERNALS is
undefined (thus the rogue client compatibility is not required).

* src/cff/cffobjs.c (cff_face_init): Abort the automatic
selection or synthesis of Unicode cmap subtable when the charmap
index exceeds FT_MAX_CHARMAP_CACHEABLE.
* src/sfnt/ttcmap.c (tt_face_build_cmaps): Issue error message
when the charmap index exceeds FT_MAX_CHARMAP_CACHEABLE.

* src/base/ftobjs.c (find_unicode_charmap): When Unicode charmap
is found after FT_MAX_CHARMAP_CACHEABLE, ignore it and search
earlier one.
(find_variant_selector_charmap): When UVS charmap is found after
FT_MAX_CHARMAP_CACHEABLE, ignore it and search earlier one.
(FT_Select_Charmap): When a charmap matching with requested
encoding but after FT_MAX_CHARMAP_CACHEABLE, ignore and search
earlier one.
(FT_Set_Charmap): When a charmap matching with requested
charmap but after FT_MAX_CHARMAP_CACHEABLE, ignore and search
earlier one.
(FT_Get_Charmap_Index): When a requested charmap is found
after FT_MAX_CHARMAP_CACHEABLE, return the inverted charmap
index.
/external/freetype/src/base/ftobjs.c
b2ea64bcc6c385a8e8318f9c759450a07df58b6d 02-Jul-2010 suzuki toshiya <mpsuzuki@hiroshima-u.ac.jp> Additional fix for Savannah bug #30306.

* src/base/ftobjs.c (Mac_Read_POST_Resource): If the type
of the POST fragment is 0, the segment is completely ignored.
The declared length of the segment is not cared at all.
According to Adobe Technical Note 5040, type 0 segment is
comment only and should not be loaded for the interpreter.
Reported by Robert Swiecki.
/external/freetype/src/base/ftobjs.c
5ef20c8c1d4de12a84b50ba497c2a358c90ec44b 01-Jul-2010 suzuki toshiya <sssa@flavor1.ipc.hiroshima-u.ac.jp> Initial fix for Savannah bug #30306.

* src/base/ftobjs.c (Mac_Read_POST_Resource): Check `rlen'
the length of fragment declared in the POST fragment header
and prevent an underflow in length calculation. Some fonts
set the length to zero in spite of the exist of following
16bit `type'. Reported by Robert Swiecki.
/external/freetype/src/base/ftobjs.c
f29f741efbba0a5ce2f16464f648fb8d026ed4c8 01-Jul-2010 suzuki toshiya <sssa@flavor1.ipc.hiroshima-u.ac.jp> Additional fix for Savannah bug #30248 and #30249.

* src/base/ftobjs.c (Mac_Read_POST_Resource): Check the buffer
size during gathering PFB fragments embedded in LaserWriter PS
font for Macintosh. Reported by Robert Swiecki.
/external/freetype/src/base/ftobjs.c
c69891a1345640096fbf396e8dd567fe879ce233 25-Jun-2010 suzuki toshiya <mpsuzuki@hiroshima-u.ac.jp> Initial fix for Savannah bug #30248 and #30249.

* src/base/ftobjs.c (Mac_Read_POST_Resource): Check the error during
reading a PFB fragment embedded in LaserWriter PS font for Macintosh.
Reported by Robert Swiecki.
/external/freetype/src/base/ftobjs.c
d087199f2c1388024b37fb3c3836e103aeded6c0 07-Jun-2010 Werner Lemberg <wl@gnu.org> Fix Savannah bug #30052.
This bug has been introduced with commit 2415cbf3.

* src/base/ftobjs.c (FT_Get_First_Char, FT_Get_Next_Char): Protect
against endless loop in case of corrupted font header data.
/external/freetype/src/base/ftobjs.c
e30de299f28370ed5aa65755c6be69da58eefc72 22-May-2010 Werner Lemberg <wl@gnu.org> Fix various memory problems found by linuxtesting.org.

* src/base/ftgxval.c (FT_TrueTypeGX_Free, FT_ClassicKern_Free),
src/base/ftotval.c (FT_OpenType_Free), src/base/ftpfr.c
(ft_pfr_check): Check `face'.

* src/base/ftobjs.c (FT_Get_Charmap_Index): Check `charmap' and
`charmap->face'.
(FT_Render_Glyph): Check `slot->face'.
(FT_Get_SubGlyph_Info): Check `glyph->subglyphs'.

Improve API documentation.
/external/freetype/src/base/ftobjs.c
199f04f33db9feae2144080b8331c44839072b58 12-Mar-2010 suzuki toshiya <mpsuzuki@hiroshima-u.ac.jp> Remove duplicated inclusion of `FT_OUTLINE_H' in ftobjs.c.
/external/freetype/src/base/ftobjs.c
e0717d4f48377faa0c5a0fdabfe44b632e6d78dd 27-Feb-2010 Werner Lemberg <wl@gnu.org> Simplify code.
Suggested by Behdad.

* src/base/ftobjs.c (FT_Get_First_Char): Don't use a loop since we
call FT_Get_Next_Char anyway if necessary.
/external/freetype/src/base/ftobjs.c
2415cbf3655073070dda5329d4d0f05645bd5896 26-Feb-2010 Behdad Esfahbod <behdad@behdad.org> Improve handling of invalid glyph indices in char->index functions.

* src/base/ftobjs.c (FT_Get_First_Char, FT_Get_Next_Char): Use a
loop.
/external/freetype/src/base/ftobjs.c
13fa21bd5ed7b731a921da5e3c645c5d88f0b1ab 14-Jan-2010 Werner Lemberg <wl@gnu.org> Make FT_Set_Transform work if no renderer is available.

* src/base/ftobjs.c (FT_Load_Glyph): Apply `standard' transformation
if no renderer is compiled into the library.
/external/freetype/src/base/ftobjs.c
d40cd0b4a47f14e738f24447e74ea7c19d95abb8 14-Jan-2010 Werner Lemberg <wl@gnu.org> Fix compilation warning.
/external/freetype/src/base/ftobjs.c
c4b22144d32f49e80aead31cff286d0653ab3ad0 15-Nov-2009 Werner Lemberg <wl@gnu.org> Add tracing messages for advance values.

* src/base/ftobjs.c (FT_Load_Glyph), src/truetype/ttgload.c
(TT_Get_HMetrics, TT_Get_VMetrics): Do it.
/external/freetype/src/base/ftobjs.c
38449dceaf861cf1350df798773b412eea6f324c 26-Oct-2009 Werner Lemberg <wl@gnu.org> Whitespace.
/external/freetype/src/base/ftobjs.c
4694ea2b9519d8128cfdc537629c292fc9d627f3 02-Sep-2009 Bram Tassyns <bramt@enfocus.be> Improve vertical metrics calculation (Savannah bug #27364).

The calculation of `vertBearingX' is not defined in the OTF font
spec so FreeType does a `best effort' attempt. However, this value
is defined in the PDF and PostScript specs, and that algorithm is
better than the one FreeType currently uses:

FreeType: Use the middle of the bounding box as the X coordinate
of the vertical origin.

Adobe PDF spec: Use the middle of the horizontal advance vector as
the X coordinate of the vertical origin.

FreeType's algorithm goes wrong if you have a really small glyph
(like the full-width, circle-like dot at the end of the sentence, as
used in CJK scripts) with large bearings. With the FreeType
algorithm this dot gets centered on the baseline; with the PDF
algorithm it gets the correct location (in the top right). Note
that this is a serious issue, it's like printing the dot at the end
of a Roman sentence at the center of the textline instead of on the
baseline like it should. So i believe the PDF spec's algorithm
should be used in FreeType as well.

The `vertBearingY' value for such small glyphs is also very strange
if no `vmtx' information is present, since the height of the bbox is
not representable for the height of the glyph visually (the
whitespace up to the baseline is part of the glyph). The fix also
includes some code for a better estimate of `vertBearingY'.

* src/base/ftobjs.c (ft_synthesize_vertical_metrics): `vertBearingX'
is now calculated as described by the Adobe PDF Spec. Estimate for
`vertBearingY' now works better for small glyphs completely above or
below the baseline into account.

* src/cff/cffgload.c (cff_slot_load): `vertBearingX' is now
calculated as described by the Adobe PDF Spec. Vertical metrics
information was always ignored when FT_CONFIG_OPTION_OLD_INTERNALS
was not defined.

* src/truetype/ttgload.c (compute_glyph_metrics): `vertBearingX' is
now calculated as described by the Adobe PDF Spec.
/external/freetype/src/base/ftobjs.c
0d226c31c5f3ba8e3eb2cd5a86e5137d25c4cc64 31-Jul-2009 suzuki toshiya <mpsuzuki@hiroshima-u.ac.jp> base: Prevent some overflows on LP64 systems.
/external/freetype/src/base/ftobjs.c
95aeebf438f8249cc7645722cc37dbf408ecfe71 31-Jul-2009 suzuki toshiya <mpsuzuki@hiroshima-u.ac.jp> ftobjs.c: Prevent an overflow in glyph index handling.
/external/freetype/src/base/ftobjs.c
ad289d139f90bd9f439fdcde151127a2912f8834 28-Jun-2009 suzuki toshiya <mpsuzuki@hiroshima-u.ac.jp> ftpatent: Fix a bug by wrong usage of service->table_info().
/external/freetype/src/base/ftobjs.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/base/ftobjs.c
777d6d59eda1aced48071dc5f265c4bb6dc33c1a 25-Jun-2009 Werner Lemberg <wl@gnu.org> Provide version information better.

* src/base/ftinit.c (FT_Init_FreeType): Don't set version here
but...
* src/base/ftobjs.c (FT_New_Library): Here.
/external/freetype/src/base/ftobjs.c
c6788a389d9003c5c6b86f30047e05658416f7d6 07-Jun-2009 Werner Lemberg <wl@gnu.org> Fix some potential out-of-memory crashes.

* src/base/ftobjs.c (ft_glyphslot_done): Check `slot->internal'.
* src/base/ftstream.c (FT_Stream_ReleaseFrame): Check `stream'.
* src/truetype/ttinterp.c (TT_New_Context): Avoid double-free of
`exec' in case of failure.
/external/freetype/src/base/ftobjs.c
15e8e237e6f4d2145237d2977d93a155a08d118d 29-May-2009 James Cloos <cloos@jhcloos.com> Enable autohinting for glyphs rotated by multiples of 90°.

* src/base/ftobjs.c (FT_Load_Glyph): Alter check for permitted
matrices to allow rotations by multiples of 90°, not only unrotated,
possibly slanted matrices.
/external/freetype/src/base/ftobjs.c
636c294befc6df661a6496af49b8f7341fb2717f 05-Apr-2009 Oran Agra <oran@monfort.co.il> Position Independent Code (PIC) support and infrastructure in base.

* include/freetype/config/ftoption.h add FT_CONFIG_OPTION_PIC
* include/freetype/internal/ftobjs.h Add pic_container member to
FT_LibraryRec.
Add macros to declare and init instances of FT_CMap_ClassRec.
Add macros to init instances of FT_Outline_Funcs and FT_Raster_Funcs.
Add macros to declare, allocate and initialize modules
(FT_Module_Class).
Add macros to declare, allocate and initialize renderers
(FT_Renderer_Class).
Add macro to init instances of FT_Glyph_Class.
Add macros to declare, allocate and initialize drivers
(FT_Driver_ClassRec).
* include/freetype/internal/ftpic.h new file to declare the
FT_PIC_Container struct and the functions to allocate and detroy it.
* include/freetype/internal/ftserv.h add macros to allocate and
destory arrays of FT_ServiceDescRec.
* include/freetype/internal/internal.h define macro to include
ftpic.h.

New Files:
* src/base/ftpic.c implement functions to allocate and destory the
global pic_container.
* src/base/basepic.h declare struct to hold PIC globals for base and
macros to access them.
* src/base/basepic.c implement functions to allocate, destroy and
initialize PIC globals for base.

* src/base/ftinit.c when FT_CONFIG_OPTION_PIC is defined implement
functions that allocate and destroy ft_default_modules according to
FT_CONFIG_MODULES_H in the pic_container instead of the global scope
and use macro from basepic.h to access it.
* src/base/ftobjs.c add calls to the functions that allocate and
destroy the global pic_container when the library is created and
destroyed.

* src/base/jamfile add new files to FT2_MULTI build:
ftpic.c and basepic.c.
* src/base/ftbase.c add new files to build:
ftpic.c and basepic.c.

* src/base/ftglyph.c when FT_CONFIG_OPTION_PIC is defined
ft_bitmap_glyph_class and ft_outline_glyph_class will be allocated
in the pic_container instead of the global scope and use macros from
basepic.h to access them.
* src/base/ftbbox.c allocate bbox_interface stract on the stack
instead of the global scope when FT_CONFIG_OPTION_PIC is defined.
* src/base/ftstroke.c access ft_outline_glyph_class allocated in
ftglyph.c via macros from basepic.h
/external/freetype/src/base/ftobjs.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/base/ftobjs.c
14de111f72119fb19de8e88f79116578adb97df0 24-Feb-2009 Werner Lemberg <wl@gnu.org> Fix Savannah bug #25669.

* src/base/ftadvanc.h (FT_Get_Advances): Fix serious typo.

* src/base/ftobjs.c (FT_Select_Metrics, FT_Request_Metrics): Fix
scaling factor for non-scalable fonts.

* src/cff/cffdrivr.c (cff_get_advances): Use correct advance width
value to prevent incorrect scaling.

* docs/CHANGES: Document it.
/external/freetype/src/base/ftobjs.c
5184ed6d53de2978de6812995f841c188d9125e6 22-Jan-2009 Werner Lemberg <wl@gnu.org> Move FT_Get_FSType_Flags to a separate file.
Problem reported by Mickey Gabel <mickey@monfort.co.il>.

* src/base/ftobjs.c (FT_Get_FSType_Flags): Move to...
* src/base/ftfstype.c: This new file.

* modules.cfg (BASE_EXTENSION): Add ftfstype.c.

* docs/INSTALL.ANY: Updated.

* builds/mac/*.txt, builds/amiga/*makefile*,
builds/win32/{visualc,visualce}/freetype.*, builds/symbian/*:
Updated.
/external/freetype/src/base/ftobjs.c
5a00909a774dbdd65490e78d82d69abb06031692 22-Jan-2009 Suzuki, Toshiya (鈴木俊哉) <mpsuzuki@hiroshima-u.ac.jp> * Fix a bug in POSIX resource-fork accessor since 2008-10-04
/external/freetype/src/base/ftobjs.c
9bf73ec40798148639be45eadbec22d50dd7f8a4 13-Jan-2009 Werner Lemberg <wl@gnu.org> Fix C++ compilation.

* src/base/ftobjs.c (FT_Get_FSType_Flags): Cast for compilation
with C++.
/external/freetype/src/base/ftobjs.c
9b1da084c2a0c9e70a65ea715ef95c2b926629cd 09-Jan-2009 Werner Lemberg <wl@gnu.org> tab -> space
/external/freetype/src/base/ftobjs.c
2dc107949433f00905fab4206a5ec47c51ecb6d3 09-Jan-2009 Suzuki, Toshiya (鈴木俊哉) <mpsuzuki@hiroshima-u.ac.jp> * src/base/ftobjs.c (FT_Done_Library): Issue an error when FT_Done_Face() is failed and retried
/external/freetype/src/base/ftobjs.c
3c5ad9516675db198246b460f84ae7ea01b46adb 21-Dec-2008 Werner Lemberg <wl@gnu.org> * src/pfr/pfrdrivr.c, src/winfonts/winfnt.c, src/cache/ftcmanag.c,
src/smooth/ftgrays.c, src/base/ftobjc.s, src/sfobjs.c:
s/_Err_Bad_Argument/_Err_Invalid_Argument/. The former is for
errors in the bytecode interpreter only.
/external/freetype/src/base/ftobjs.c
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/src/base/ftobjs.c
b972a2a294a6d1f53ad403ae2bf0a098a38f0c2b 11-Dec-2008 Werner Lemberg <wl@gnu.org> Generalize the concept of `tricky' fonts by introducing
FT_FACE_FLAG_TRICKY to indicate that the font format's hinting
engine is necessary for correct rendering.

At the same time, slightly modify the behaviour of tricky fonts:
FT_LOAD_NO_HINTING is now ignored. To really force raw loading
of tricky fonts (without hinting), both FT_LOAD_NO_HINTING and
FT_LOAD_NO_AUTOHINT must be used.

Finally, tricky TrueType fonts always use the bytecode interpreter
even if the patented code is used.

* include/freetype/freetype.h (FT_FACE_FLAG_TRICKY, FT_IS_TRICKY):
New macros.

* src/truetype/ttdriver.c (Load_Glyph): Handle new load flags
semantics as described above.

* src/truetype/ttobjs.c (tt_check_trickyness): New function, using
code of ...
(tt_face_init): This function, now simplified and updated to new
semantics.

* src/base/ftobjs.c (FT_Load_Glyph): Don't use autohinter for tricky
fonts.

* docs/CHANGES: Document it.
/external/freetype/src/base/ftobjs.c
1474f439b54ef1553d0aac57ebde6261f1b2ed81 09-Dec-2008 Werner Lemberg <wl@gnu.org> Really fix Savannah bug #25010: An SFNT font with neither outlines
nor bitmaps can be considered as containing space `glyphs' only.

* src/truetype/ttpload.c (tt_face_load_loca): Handle the case where
a `glyf' table is missing.

* src/truetype/ttgload.c (load_truetype_glyph): Abort if we have no
`glyf' table but a non-zero `loca' entry.
(tt_loader_init): Handle missing `glyf' table.

* src/base/ftobjs.c (FT_Load_Glyph): Undo change 2008-12-05.

* src/sfnt/sfobjs.c (sfnt_load_face): A font with neither outlines
nor bitmaps is scalable.
/external/freetype/src/base/ftobjs.c
76fffcd89804a7aea7ac8999cefa1a541d2b1e55 05-Dec-2008 Werner Lemberg <wl@gnu.org> * include/freetype/freetype.h (FT_LOAD_ADVANCE_ONLY): Use value
0x100 instead of 0x10000; the latter value is already occupied by
FT_LOAD_TARGET_LIGHT. Bug reported by James Cloos.


Handle SFNT with neither outlines nor bitmaps. This fixes Savannah
bug #25010.

* src/base/ftobjs.c (FT_Load_Glyph): Reject fonts with neither
outlines nor bitmaps.

* src/sfnt/sfobjs.c (sfnt_load_face): Don't return an error if there
is no table with glyphs.


* src/sfnt/ttload.c (tt_face_lookup_table): Improve debugging
message.


Other minor cosmetics.
/external/freetype/src/base/ftobjs.c
02197280b464cb84d6fb63520868bcc62ce0edfb 29-Nov-2008 Werner Lemberg <wl@gnu.org> Formatting.
/external/freetype/src/base/ftobjs.c
b6192827a31cae9d11fa5af2808ea0771c363aa1 08-Nov-2008 Werner Lemberg <wl@gnu.org> * src/base/ftobjs.c (ft_glyphslot_free_bitmap): Protect against
slot->internal == NULL. Reported by Graham Asher.
/external/freetype/src/base/ftobjs.c
570b1fdb84297903af5c3d404d3d047faf14ddd3 05-Oct-2008 Werner Lemberg <wl@gnu.org> formatting
/external/freetype/src/base/ftobjs.c
af48cb0b9899c9497234198256d50014f59139b8 05-Oct-2008 Suzuki, Toshiya (鈴木俊哉) <mpsuzuki@hiroshima-u.ac.jp> src/base/ftobjs.c: Include FT_TRUETYPE_TAGS_H
/external/freetype/src/base/ftobjs.c
2d3e0af942eada7dbfe8475df89f687c3f14cbeb 05-Oct-2008 Suzuki, Toshiya (鈴木俊哉) <mpsuzuki@hiroshima-u.ac.jp> * `FT_Open_Face' tries `open_face_PS_from_sfnt_stream' when a sfnt container is found but not OpenType.
/external/freetype/src/base/ftobjs.c
21bd5165927ec8e694e632fc0ef44cb2c5ddc2d6 04-Oct-2008 Suzuki, Toshiya (鈴木俊哉) <mpsuzuki@hiroshima-u.ac.jp> Introduce macros for some MacOS-specific resource tags
/external/freetype/src/base/ftobjs.c
72eb270ac71e8c76e7aefc9a8d3a39fb510602f1 04-Oct-2008 Suzuki, Toshiya (鈴木俊哉) <mpsuzuki@hiroshima-u.ac.jp> * Remove wrong initialization in `ft_lookup_PS_in_sfnt_stream'
/external/freetype/src/base/ftobjs.c
45489589adb5e01cd2c8951dded6dced5bf7ef6e 04-Oct-2008 Werner Lemberg <wl@gnu.org> * src/base/ftobjs.c (open_face_PS_from_sfnt_stream): Remove compiler
warnings.

Formatting.
/external/freetype/src/base/ftobjs.c
1137d04f85079ff3b96b148ebcfed39690fdb09e 04-Oct-2008 Suzuki, Toshiya (鈴木俊哉) <mpsuzuki@hiroshima-u.ac.jp> * New function `open_face_PS_from_sfnt_stream' to check and open a Type1 PS or CID-keyed font in an sfnt stream.
/external/freetype/src/base/ftobjs.c
bc2c49841908f8716c1adae3cbdcad647f8d5301 03-Oct-2008 Suzuki, Toshiya (鈴木俊哉) <mpsuzuki@hiroshima-u.ac.jp> * src/base/ftobjs.c (ft_lookup_PS_in_sfnt): Set *is_sfnt_cid to FALSE when no PS resource is found
/external/freetype/src/base/ftobjs.c
9e2b9900dc5d764c31f8c9ae998a0f94f5c4d3b5 03-Oct-2008 Suzuki, Toshiya (鈴木俊哉) <mpsuzuki@hiroshima-u.ac.jp> * Remove duplicated functions from builds/mac/ftmac.c. Now MPW builds builds/mac/ftmac.c as a part of ftbase.c
/external/freetype/src/base/ftobjs.c
cff15b07f3b060df258a4adcb28f40b7dd1ea4f4 02-Oct-2008 Werner Lemberg <wl@gnu.org> Formatting.
/external/freetype/src/base/ftobjs.c
f414702e04c103922dff335abd72c6baf7f9c5c4 02-Oct-2008 Suzuki, Toshiya (鈴木俊哉) <mpsuzuki@hiroshima-u.ac.jp> * Merge the duplicated functions in ftmac.c with ftobjs.c
/external/freetype/src/base/ftobjs.c
c6bdee5f27c4ba6a49d781e26ae686d3512e8f56 30-Sep-2008 Suzuki, Toshiya (鈴木俊哉) <mpsuzuki@hiroshima-u.ac.jp> * Fix the conditions for multi build on MacOS
/external/freetype/src/base/ftobjs.c
22e970a23e8667aeb0ff6ac1c59ac659ad71059a 20-Sep-2008 Werner Lemberg <wl@gnu.org> Formatting, minor code fixes.
/external/freetype/src/base/ftobjs.c
6874d85ba0cb281aa977dfaf1964229879437715 20-Sep-2008 Werner Lemberg <wl@gnu.org> * src/base/ftoutln.c: Include FT_INTERNAL_DEBUG_H.
(FT_Outline_Decompose): Decorate with tracing messages.

* src/smooth/ftgrays.c [DEBUG_GRAYS]: Replace with
FT_DEBUG_LEVEL_TRACE.
[_STANDALONE_ && FT_DEBUG_LEVEL_TRACE]: Include stdio.h and
stdarg.h.

(FT_TRACE) [_STANDALONE_]: Remove.
(FT_Message) [_STANDALONE_ && FT_DEBUG_LEVEL_TRACE]: New function.
(FT_TRACE5, FT_TRACE7) [_STANDALONE_]: New macros.
(FT_ERROR) [_STANDALONE_]: Updated.

(gray_hline) [FT_DEBUG_LEVEL_TRACE]: Fix condition.
Use FT_TRACE7.
(gray_dump_cells): Make it `static void'.
(graay_convert_glyph): Use FT_TRACE7.

(FT_Outline_Decompose) [_STANDALONE_]: Synchronize with version in
ftoutln.c.

* src/base/ftadvanc.c (FT_Get_Advance, FT_Get_Advances): Use
FT_ERROR_BASE.

Other minor modifications.
/external/freetype/src/base/ftobjs.c
dec8e7b97dd10e72890f785c98c9cd8fae8185b6 19-Sep-2008 Suzuki, Toshiya (鈴木俊哉) <mpsuzuki@hiroshima-u.ac.jp> * src/base/ftobjs.c: Fix double free bug in sfnt-wrapped Type1/CID font support
/external/freetype/src/base/ftobjs.c
9ae5eaf862ee6c3464a98ef5f6e2fbfc929ef37a 19-Sep-2008 Suzuki, Toshiya (鈴木俊哉) <mpsuzuki@hiroshima-u.ac.jp> * src/base/ftobjs.c: Add initial support for sfnt-wrapped CID-keyed fonts
/external/freetype/src/base/ftobjs.c
4c60bd916cd487b9ee90b561ecfa4011d443c68c 19-Aug-2008 Suzuki, Toshiya (鈴木俊哉) <mpsuzuki@hiroshima-u.ac.jp> * Fix FT_Stream_New() to initialize stream always
/external/freetype/src/base/ftobjs.c
f3200faaf31245eb251576984533deb3d4a3bb9a 10-Jun-2008 Werner Lemberg <wl@gnu.org> Typo.
/external/freetype/src/base/ftobjs.c
102bb83afddf6dcb60c0eee0621b9e92ee3c157e 10-Jun-2008 Werner Lemberg <wl@gnu.org> * src/base/ftobjs.c (open_face): Check `clazz->init_face' and
`clazz->done_face'.

Update documentation of FT_Driver_ClassRec.
/external/freetype/src/base/ftobjs.c
6d29f0f1e8bc3dfbb0af274ffde41ee41bc35150 03-May-2008 Werner Lemberg <wl@gnu.org> * src/base/ftobjs.c (FT_Load_Glyph): Call the auto-hinter without
transformation since it recursively calls FT_Load_Glyph. This fixes
Savannah bug #23143.
/external/freetype/src/base/ftobjs.c
c32e83f23f0bf6562f307f69b3b89be4276d06d1 01-Apr-2008 Werner Lemberg <wl@gnu.org> Fix compilation with g++ 4.1 (with both `single' and `multi'
targets).

* src/base/ftobjs.c (FT_Open_Face): Don't define a variable in block
which is crossed by a `goto'.

* src/otvalid/otvalid.h (otv_MATH_validate): Add prototype.
/external/freetype/src/base/ftobjs.c
86c0f904983b9cffe45636de8263cafe97cf9bce 20-Nov-2007 Suzuki, Toshiya (鈴木俊哉) <mpsuzuki@hiroshima-u.ac.jp> * src/base/{ftobjs.c, ftrfork.c}: recovery of Carbon-free legacy MacOS font support in freetype-2.3.4
/external/freetype/src/base/ftobjs.c
cf432dbf2273c084b011162ea6b8350a33dfd3da 19-Oct-2007 David Turner <david@freetype.org> * include/freetype/freetype.h, src/base/ftobjs.c: renamed
cmap14-related new APIs to the FT_Object_ActionName scheme.
update the documentation for these APIs

* src/sfnt/ttcmap.c: stronger cmap 14 validation, make the
code a little more consistent with FreeType coding conventions
and modify the cmap14 functions that returned a newly allocated
array to use a persistent vector from the TT_CMap14 object
instead.
/external/freetype/src/base/ftobjs.c
9a966b7d1bbc9e35eddb68136b73cbe006dff675 15-Oct-2007 Werner Lemberg <wl@gnu.org> Add support for cmap type 14.

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

* include/freetype/internal/ftobjs.h (FT_CMap_CharVarIndexFunc,
FT_CMap_CharVarIsDefaultFunc, FT_CMap_VariantListFunc,
FT_CMap_CharVariantListFunc, FT_CMap_VariantCharListFunc): New
support function prototypes.
(FT_CMap_ClassRec): Add them.
Update all users.

* include/freetype/ttnameid.h (TT_APPLE_ID_VARIANT_SELECTOR): New
macro.

* include/freetype/freetype.h (FT_Get_Char_Variant_Index,
FT_Get_Char_Variant_IsDefault, FT_Get_Variant_Selectors,
FT_Get_Variants_Of_Char, FT_Get_Chars_Of_Variant): New API
functions.

* src/base/ftobjs.c (find_variant_selector_charmap): New auxiliary
function.
(FT_Set_Charmap): Disallow cmaps of type 14.
(FT_Get_Char_Variant_Index, FT_Get_Char_Variant_IsDefault,
FT_Get_Variant_Selectors, FT_Get_Variants_Of_Char,
FT_Get_Chars_Of_Variant): New API functions.

* src/sfnt/ttcmap.c (TT_PEEK_UINT24, TT_NEXT_UINT24): New macros.

(TT_CMap14Rec, tt_cmap14_init, tt_cmap14_validate,
tt_cmap14_char_index, tt_cmap14_char_next, tt_cmap14_get_info,
tt_cmap14_char_map_def_binary, tt_cmap14_char_map_nondef_binary,
tt_cmap14_find_variant, tt_cmap14_char_var_index,
tt_cmap14_char_var_isdefault, tt_cmap14_variants,
tt_cmap14_char_variants, tt_cmap14_def_char_count,
tt_cmap14_get_def_chars, tt_cmap14_get_nondef_chars,
tt_cmap14_variant_chars, tt_cmap14_class_rec): New functions and
structures for cmap 14 support.
(tt_cmap_classes): Register tt_cmap14_class_rec.
(tt_face_build_cmaps): One more error message.

* docs/CHANGES: Mention cmap 14 support.
/external/freetype/src/base/ftobjs.c
74597ccd8f2b8be186d239458f1099bf591d45c6 01-Oct-2007 Werner Lemberg <wl@gnu.org> * src/base/ftobjs.c (find_unicode_charmap): If search for a UCS-4
charmap fails, do the loop again while searching a UCS-2 charmap.
This favours MS charmaps over Apple ones.
/external/freetype/src/base/ftobjs.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/base/ftobjs.c
1e1b6dff54ffcffebb63c7800b204c1265510af7 07-Jul-2007 Werner Lemberg <wl@gnu.org> * src/pfr/pfrcmap.c: Include pfrerror.h.

* src/autofit/afindic.c: Add some external declarations to pacify
`make multi' compilation.

* src/cid/cidgload.c (cid_load_glyph): Pacify compiler.

* src/cff/cffdrivr.c (cff_ps_get_font_info), src/cff/cffobjs.c
(cff_strcpy), include/freetype/internal/ftmemory.h (FT_MEM_STRDUP),
src/autofit/aflatin.c (af_latin_hints_compute_edges),
src/autofit/afcjk.c (af_cjk_hints_compute_edges), src/sfnt/ttmtx.c
(tt_face_get_metrics), src/base/ftobjs.c (open_face)
[FT_CONFIG_OPTION_INCREMENTAL]: Fix compilation with C++ compiler.

* docs/release: Mention test compilation targets.
/external/freetype/src/base/ftobjs.c
3d507fefe822ad598b7a47f1561ee1ff2782ce37 03-Jun-2007 Werner Lemberg <wl@gnu.org> * src/base/ftobjs.c (destroy_charmaps), src/type1/t1objs.c
(T1_Face_Done), src/winfonts/winfnt.c (FNT_Face_Done): Check for
face == NULL. Suggested by Graham Asher.
/external/freetype/src/base/ftobjs.c
ce280a22e2be51af15c3c8b88d3ad5e631950870 03-Jun-2007 Werner Lemberg <wl@gnu.org> * src/base/ftobjs.c (FT_Request_Metrics): Fix compiler warning.
/external/freetype/src/base/ftobjs.c
b9933f4b028dc64a6f59569d7ba8b747398b7602 01-Jun-2007 Werner Lemberg <wl@gnu.org> * src/base/ftobjs.c (FT_Request_Metrics), src/cache/ftccmap.c
(FTC_CMapCache_Lookup): Remove unused code.
/external/freetype/src/base/ftobjs.c
b826fa7589291a5bb1b725eeec73955e89361e22 19-May-2007 Werner Lemberg <wl@gnu.org> Savannah patch #5929.

* include/freetype/tttables.h, src/base/ftobjcs.c
(FT_Get_CMap_Format): New function.

* include/freetype/internal/services/svttcmap.c (TT_CMapInfo): Add
`format' member.
* src/sfnt/ttcmap.c (tt_cmap{0,2,4,6,8,10,12}_get_info): Set
cmap_info->format.
/external/freetype/src/base/ftobjs.c
607dec79bb6ad524a9d2e7f93b836b795fe234cf 15-May-2007 Werner Lemberg <wl@gnu.org> * src/autofit/afcjk.c (af_cjk_hints_compute_edges): Remove unused
variable.
* src/autofit/afloader.c (af_loader_load_g): Ditto.

* src/base/ftobjs.c (ft_validator_error): Use `ft_jmp_buf'.
(open_face_from_buffer): Initialize `stream'.
(FT_Request_Metrics): Remove unused variable.
Remove redundant `break' statements.
(FT_Get_Track_Kerning): Remove unused variable.

* src/psaux/afmparse.c (afm_parse_track_kern, afm_parse_kern_pairs,
afm_parse_kern_data): Remove redundant
`break' statements.
(afm_parser_parse): Ditto.
Don't use uninitialized variables.

* src/psnames/psmodule.c (VARIANT_BIT): Define as unsigned long.
Use `|' operator instead of `^' to set it.
Update all users.

* src/sfnt/ttcmap.c (tt_face_build_cmaps): Use `ft_jmp_buf'.
* src/sfnt/ttkern.c (tt_face_load_kern): Remove unused variable.

* src/truetype/ttgload.c (TT_Load_Simple_Glyph): Remove redundant
comparison.
(TT_Process_Simple_Glyph): Use FT_UInt for `n_points' and `i'.
(TT_Load_Glyph): Remove unused variable.
/external/freetype/src/base/ftobjs.c
8d463a53d115c45237431965365e5ca03509b4bb 13-May-2007 Werner Lemberg <wl@gnu.org> * src/base/ftobjs.c (FT_New_Library): Only allocate rendering pool
if FT_RENDER_POOL_SIZE is > 0. From Savannah patch #5928.
/external/freetype/src/base/ftobjs.c
106eaf1dbb23223e4e72d27a81e7e035268a3a87 03-May-2007 Werner Lemberg <wl@gnu.org> * src/base/ftobjs.c (FT_Set_Char_Size): Simplify code.
* include/freetype/freetype.h (FT_Set_Char_Size): Update
documentation.
/external/freetype/src/base/ftobjs.c
7478197e0018e12aa40f99229626d25d47ead1fe 03-Apr-2007 Werner Lemberg <wl@gnu.org> formatting
/external/freetype/src/base/ftobjs.c
7338ec2b538edf19646a9d33dd3062c6be8cc117 03-Apr-2007 David Turner <david@freetype.org> make FT_Set_Char_Size deal with 0-valued resolution parameter like the other one
/external/freetype/src/base/ftobjs.c
1e259deda2d8840b3e8465419c431d2a06c17572 08-Mar-2007 Werner Lemberg <wl@gnu.org> Fix ChangeLog; fix source code comment.
/external/freetype/src/base/ftobjs.c
6e87ed9f04f7914e15f9284b0b762b730222c399 26-Jan-2007 Werner Lemberg <wl@gnu.org> Spelling fixes from Alexei.
/external/freetype/src/base/ftobjs.c
8c4120d0a390f00beef69859f09da3de4f731feb 15-Jan-2007 Werner Lemberg <wl@gnu.org> Fix various compiler warnings.

* src/truetype/ttdriver.c (tt_size_select), src/cff/cffobjs.h,
src/cff/cffobjs.c (cff_size_request), src/type42/t42objs.h:
s/index/strike_index/.
* src/base/ftobjs.c (FT_Match_Size): s/index/size_index/.

* src/gxvalid/gxvmorx5.c
(gxv_morx_subtable_type5_InsertList_validate): s/index/table_index/.

* src/truetype/ttinterp.c (Compute_Point_Displacement),
src/pcf/pcfread.c (pcf_seek_to_table_type): Avoid possibly
uninitialized variables.
/external/freetype/src/base/ftobjs.c
17432b5e3719db41ddbd85381ce4b02cb52cd0c3 12-Jan-2007 Werner Lemberg <wl@gnu.org> * src/type1/t1load.c (is_space): Removed.
(parse_encoding, parse_charstrings): Use IS_PS_DELIM.
(parse_charstrings): Use IS_PS_TOKEN.


* autogen.sh: Avoid bash specific syntax.
/external/freetype/src/base/ftobjs.c
7a3c564e2e8d7d63bb284b29185a1f43f5f1d971 11-Jan-2007 David Turner <david@freetype.org> * src/base/ftobjs.c (IsMacResource): fixed a small bug that caused a
crash with some Mac OS X .dfont files. Submitted by Masatake Yamoto.
/external/freetype/src/base/ftobjs.c
4ea0a7f0b65c026420f39cabdc146b943c74e2c5 05-Jan-2007 Werner Lemberg <wl@gnu.org> formatting, minor doc fixes, copyright years
/external/freetype/src/base/ftobjs.c
a8cf42bb7a4f52f81969136fd4544ba8f58df12c 04-Jan-2007 David Turner <david@freetype.org> * src/pshinter/pshalgo.c: remove a stupid typo that results in no
hinting and a memory leak with some large Asian CFF fonts

* src/base/ftobjs.c (FT_Done_Library): remove a subtle memory leak
which happens when FT_Done_Library is called with opened CFF_Faces in
it. We need to close all faces before destroying the modules, or else
some bad things (memory leaks) may happen.
/external/freetype/src/base/ftobjs.c
0fd08bdc6aed3d9e852e8a7ad19bc47e22754354 16-Dec-2006 Werner Lemberg <wl@gnu.org> formatting
/external/freetype/src/base/ftobjs.c
7a7d403d7a0c3bef6e3346a0e3736b69ff4323f9 15-Dec-2006 Suzuki, Toshiya (鈴木俊哉) <mpsuzuki@hiroshima-u.ac.jp> * Improve resource fork handler for POSIX
/external/freetype/src/base/ftobjs.c
913a36509099640dcbf5ace70b220d05eaa7b5c7 19-Nov-2006 Werner Lemberg <wl@gnu.org> Because FT_Load_Glyph expects CID values for CID-keyed fonts, the
test for a valid glyph index must be deferred to the font drivers.
This patch fixes Savannah bug #18301.

* src/base/ftobjs.c (FT_Load_Glyph): Don't check `glyph_index'.
* src/bdf/bdfdrivr.c (BDF_Glyph_Load), src/cff/cffgload.c
(cff_slot_load), src/cid/cidgload.c (cid_slot_load_glyph),
src/pcf/pcfdrivr.c (PCF_Glyph_Load), src/pfr/pfrobjs.c
(pfr_slot_load), src/truetype/ttdriver.c (Load_Glyph),
src/type1/t1gload.c (T1_Load_Glyph), src/winfonts/winfnt.c
(FNT_Load_Glyph): Check validity of `glyph_index'.
/external/freetype/src/base/ftobjs.c
e88c5261c3867afbf77244bcd1c552d3c32120bf 24-Oct-2006 Werner Lemberg <wl@gnu.org> * src/cff/cffload.c (cff_encoding_load): Remove unused variable.

* src/base/ftobjs.c (FT_Select_Charmap): Disallow FT_ENCODING_NONE
as argument.
/external/freetype/src/base/ftobjs.c
046bf8b0cc9210343af15ede701baa95fee0157f 03-Oct-2006 Werner Lemberg <wl@gnu.org> formatting
/external/freetype/src/base/ftobjs.c
df430e1a20c4ecc2727834cd345b7509faf51c13 01-Oct-2006 David Turner <david@freetype.org> * include/freetype/internal/ftobjs.h, src/base/ftobjs.c,
src/truetype/ttobjs.c: fixes related to the unpatented hinter
/external/freetype/src/base/ftobjs.c
ad83071620f6c4c3bf029beec761f710e9bbea17 27-Sep-2006 David Turner <david@freetype.org> * include/freetype/internal/ftobjs.h, src/truetype/ttobjs.c,
src/base/ftobjs.c: fixed a bug in the automatic unpatented
hinting support which prevented normal bytecode hinting to
work properly

* src/autofit/aftypes.h: undefining AF_DEBUG to get rid of
traces
/external/freetype/src/base/ftobjs.c
a787f45580b8d0dee569b7cafceb7c8737df6487 27-Aug-2006 Jens Claudius <jens.claudius@yahoo.com> 2006-08-27 Jens Claudius <jens.claudius@yahoo.com>

Fix miscellaneous compiler warnings.

* freetype2/include/freetype/internal/ftobjs.h: close
comment with `*/' to avoid `/* in comment' compiler warning.

* freetype2/src/base/ftdbgmem.c (ft_mem_table_get_source): Turn
cast `(FT_UInt32)(void*)' into `(FT_UInt32)(FT_PtrDist)(void*)'
since on 64-bit platforms void* is larger than FT_UInt32.

* freetype2/src/base/ftobjs.c (t_validator_error): cast
away volatileness of argument to ft_longjmp. Spotted by
Werner `Putzfrau' Lemberg.

* freetype2/src/bdf/bdflib.c (bdf_load_font): initialize
local variable `lineno'.

* freetype2/src/gxvalid/gxvmod.c (classic_kern_validate):
mark local variable `error' volatile.
/external/freetype/src/base/ftobjs.c
6aa260ce61d6567a94c47401670ba2f4c7d40005 26-Aug-2006 David Turner <david@freetype.org> support for "automatic unpatented hinting" added
we still need to determine the list of "trick" CJK fonts
that are going to toggle the bytecode interpreter instead
of the auto-hinter
/external/freetype/src/base/ftobjs.c
123429962025b376145a2541cc9b980722ad1440 19-Aug-2006 Werner Lemberg <wl@gnu.org> formatting
/external/freetype/src/base/ftobjs.c
33f5f24957397d37ff44f27098937f6e1aceed32 16-Aug-2006 David Turner <david@freetype.org> * include/freetype/internal/ftgloadr.h,
include/freetype/internal/tttypes.h, src/base/ftgloadr.c,
src/base/ftobjs.c, src/truetype/ttgload.c, src/truetype/ttinterp.c,
src/truetype/ttobjs.c: improvements to native TrueType hinting,
this is a first try, controlled by the FIX_BYTECODE macro in
src/truetype/ttinterp.c
/external/freetype/src/base/ftobjs.c
2b21a932f18d4887e5753a41a3303153afdbd418 16-Aug-2006 David Turner <david@freetype.org> * src/base/ftobjs.c (ft_validator_run): disabling function, it is
buggy by design, so it will always return -1
/external/freetype/src/base/ftobjs.c
de0a96c5dd7f8156f684c10c32462b28dcfe29d3 20-May-2006 Suzuki, Toshiya (鈴木俊哉) <mpsuzuki@hiroshima-u.ac.jp> * fix 2 memory leaks in MacOS resource fork handler, Savannah bug #16631
/external/freetype/src/base/ftobjs.c
a229540280f53b41c7a82d251b7497b8eb9c91f2 30-Apr-2006 Suzuki, Toshiya (鈴木俊哉) <mpsuzuki@hiroshima-u.ac.jp> fix bug in Mac_Read_POST_Resource()
/external/freetype/src/base/ftobjs.c
4db32ecbc5781f191a22e64e35f61e943aa5d09f 24-Mar-2006 Werner Lemberg <wl@gnu.org> * docs/CHANGES: Updated.

* src/tools/docmaker/tohtml.py (html_header_2): Add horizontal
padding between table elements.


Formatting, copyright years.
/external/freetype/src/base/ftobjs.c
2ce9203735802a8831f36731310e02fe0f863d98 23-Mar-2006 David Turner <david@freetype.org> - added FT_Get_SubGlyph_Info API to freetype.h
- small fix to lsb/rsb delta computations
- cleaning up Jamfile
/external/freetype/src/base/ftobjs.c
da95af6cf67c65bd453fc19908a3f14ac2a8c0c5 20-Mar-2006 David Turner <david@freetype.org> * builds/win32/visualc/freetype.dsp: updating the project file, adding
missing base source files (e.g. ftstroke.c, ftxf86.c, etc...)

* src/autofit/afcjk.c, src/autofit/aflatin.c, src/base/ftobjs.c,
src/cff/cffobjs.c, src/cid/cidobjs.c, src/pfr/pfrobjs.c,
src/sfnt/sfobjs.c, src/sfnt/ttmtx.c, src/truetype/ttpload.c,
src/truetype/ttpload.h, src/type1/t1afm.c, src/type1/t1objs.c:
removing compiler warnings when building with Visual C++ 6 and /W4
/external/freetype/src/base/ftobjs.c
a87b08a7afb5f263b24a87271060762f00f21536 28-Feb-2006 Wu, Chia-I (吳佳一) <olvaffe@gmail.com> * src/base/ftobjs.c (FT_Done_Library): Modules are removed in the
reversed order so that type42 module is removed before truetype
module. This avoids double free in some occasions.
/external/freetype/src/base/ftobjs.c
cffa8b65be09886d56ab61f35187983f11a40ca0 27-Feb-2006 Wu, Chia-I (吳佳一) <olvaffe@gmail.com> * src/base/ftobjs.c (FT_Set_Char_Size): Ahh.. forgot to check the case
width or height is 0.
/external/freetype/src/base/ftobjs.c
2e48a1a1383d0d4603f67b48bcf058cb1699e88b 27-Feb-2006 Wu, Chia-I (吳佳一) <olvaffe@gmail.com> * src/base/ftobjs.c (ft_glyphslot_grid_fit_metrics, FT_Load_Glyph):
Re-enable glyph metrics grid-fitting. It is now done in the base
layer.
(FT_Set_Char_Size, FT_Set_Pixel_Sizes): Make sure the width and height
are not too small or too large, just like we were doing in 2.1.10.

* src/autofit/afloader.c (af_loader_load_g): The vertical metrics are
not scaled.
/external/freetype/src/base/ftobjs.c
b463665febad10037c64708f134676707817abe6 26-Feb-2006 David Turner <david@freetype.org> * src/base/ftobjs.c (ft_recompute_scaled_metrics): re-enable conservative
rounding of metrics to avoid breaking clients like Pango
(see http://bugzilla.gnome.org/show_bug.cgi?id=327852)
/external/freetype/src/base/ftobjs.c
6c71c6b968139e91723cb06c91384fc8b5994165 25-Feb-2006 David Turner <david@freetype.org> * include/freetype/config/ftoption.h, src/autofit/afcjk.c,
src/base/ftobjs.c, src/base/ftutil.c, src/cff/cffobjs.c,
src/psaux/afmparse.c, src/sfnt/ttbdf.c, src/tools/apinames.c,
src/truetype/ttdriver.c:

solved compiler warnings as well as C++ compilation problems
/external/freetype/src/base/ftobjs.c
a8e7a01965c4b504c297d1b98e5fa6bb0c7a04ed 24-Feb-2006 Wu, Chia-I (吳佳一) <olvaffe@gmail.com> * include/freetype/freetype.h (FT_Size_RequestRec): Change the type of
`width' and `height' to `FT_Long'.
(enum FT_Size_Request_Type), src/base/ftobjs.c (FT_Request_Metrics):
New request type `FT_SIZE_REQUEST_TYPE_SCALES' to specify the scales
directly.
/external/freetype/src/base/ftobjs.c
5edafed12a0b563e2446623a12a2b6fb1e4e6c5d 22-Feb-2006 Werner Lemberg <wl@gnu.org> Clean-ups, copyright years, formatting.
/external/freetype/src/base/ftobjs.c
0b5dc4df888df9006e4544219c7866d53af28150 21-Feb-2006 David Turner <david@freetype.org> * include/freetype/ftmodapi.h, include/internal/ftserv.h,
include/internal/services/svtteng.h, src/base/ftobjs.c,
src/truetype/ttdriver.c:

adding a new API named FT_Get_TrueType_Engine_Type to determine
wether we have a patented, unpatented or unimplemented TrueType
bytecode interpreter.

the FT_Get_Module_Flags API was removed consequently.
/external/freetype/src/base/ftobjs.c
8e6f8c4d7934b8725463cabb3ba18bf086b908d7 17-Feb-2006 Werner Lemberg <wl@gnu.org> Formatting, copyright years, documentation improvements.
/external/freetype/src/base/ftobjs.c
cda2d957dc66673ac7d573e72e6aa4c02d407eb2 16-Feb-2006 David Turner <david@freetype.org> * builds/amiga/src/base/ftsystem.c, devel/ftoption.h
include/freetype/ftcache.h, include/freetype/ftoutln.h,
include/freetype/cache/ftccache.h, include/freetype/cache/ftccmap.h,
include/freetype/config/ftoption.h, include/freetype/internal/ftcalc.h,
include/freetype/internal/ftdriver.h,
include/freetype/internal/ftmemory.h,
include/freetype/internal/ftobjs.h, include/freetype/internal/ftrfork.h,
include/freetype/internal/psaux.h, include/freetype/internal/sfnt.h,
include/freetype/internal/t1types.h, include/freetype/internal/tttypes.h,
src/base/ftcalc.c, src/base/ftdbgmem.c, src/base/ftobjs.c,
src/base/ftsystem.c, src/base/ftutil.c, src/bdf/bdfdrivr.c,
src/cache/ftccache.c, src/cache/ftccback.h, src/cache/ftccmap.c,
src/cache/ftcmanag.c, src/cff/cffdrivr.c, src/cid/cidriver.c,
src/pcf/pcfdrivr.c, src/pfr/pfrdrivr.c, src/psaux/psauxmod.c,
src/sfnt/sfdriver.c, src/truetype/ttdriver.c, src/type1/t1driver.c,
src/type1/t1objs.c, src/type42/t42drivr.c, src/winfonts/winfnt.c:

massive changes to the internals to respect the internal object layouts
and exported functions of FreeType 2.1.7. Note that the cache sub-system
cannot be fully retrofitted, unfortunately.
/external/freetype/src/base/ftobjs.c
be3c9814a4dabb718f89ec8edb2249f8ae4ba9ff 27-Jan-2006 Werner Lemberg <wl@gnu.org> Formatting, copyright years.
/external/freetype/src/base/ftobjs.c
6a681fa84a0ba1164726cedfc3623d84f1e3d60a 27-Jan-2006 David Turner <david@freetype.org> * src/autofit/afwarp.c: simple #ifdef to prevent compilation when
the warp hinter isn't active (it shouldn't, still experimental)

* Jamfile, include/freetype/config/ftmodule.h: removed "gxvalid"
and "otvalid" from the list of modules that are linked statically
to a given FreeType library. Functionality has been moved to the
"ftvalid" CVS module.

note also that current Make-based build system still compiles the
modules though...

* include/freetype/config/ftoption.h: added FT_STRICT_ALIASING,
which controls the definitions of the memory management functions
to avoid warnings with recent versions of GCC. this macro is
only here to be disabled, in case we detect problems with the
new scheme.

NOTE: disable macro to use the memory debugger. this will be fixed
later !!
/external/freetype/src/base/ftobjs.c
9cc4aed879dd22cbddbd164f124d7a2982a045e2 26-Jan-2006 Werner Lemberg <wl@gnu.org> Formatting.
/external/freetype/src/base/ftobjs.c
bcc438b15ef0b22055ae6f4ed55e0981794f483a 23-Jan-2006 Wu, Chia-I (吳佳一) <olvaffe@gmail.com> * include/freetype/freetype.h (FT_Select_Size): Rename the second
argument from `idx' to `strike_index'.
(FT_Size_Request_Type): Add FT_SIZE_REQUEST_TYPE_MAX to the end of
this enum.

* include/freetype/internal/ftobjs.h (FT_REQUEST_WIDTH,
FT_REQUEST_HEIGHT): New macros to get the width and height of a
request, in fractional pixels.

* include/freetype/internal/ftobjs.h (FT_Select_Metrics,
FT_Request_Metrics), src/base/ftobjs.c (FT_Select_Metrics,
FT_Request_Metrics): New base functions to set the font metrics. They
were part of FT_Select_Size/FT_Request_Size and are made independent
functions so that metrics are not set again and again.

* src/base/ftobjs.c (FT_Select_Size, FT_Request_Size): Metrics are set
only when driver's size_select/size_request is NULL. That is, drivers
should set the metrics themselves.
(FT_Match_Size): Round before matching. This was what we did and it
does cause some problems without rounding.

* src/cff/cffobjs.c (cff_size_select), src/truetype/ttdriver.c
(tt_size_select): Set the font metrics.
s/index/strike_index/.
The scaled metrics are always preferred over strikes' metrics, even
when some strike is selected. This is done because the strikes'
metrics are not reliable, e.g., the sign of the descender is wrong for
some fonts.

* src/cff/cffobjs.c (cff_size_request), src/truetype/ttdriver.c
(tt_size_request): Set the font metrics.
Call cff_size_select/tt_size_select when some strike is matched.

* src/bdf/bdfdrivr.c, src/cff/cffobjs.c, src/cid/cidobjs.c,
src/pcf/pcfdrivr.c, src/truetype/ttdriver.c, src/type1/t1objs.c,
src/type1/t1objs.h, src/type42/t42objs.c, src/winfonts/winfnt.c:
Set the font metrics.
s/index/strike_index/.

* src/tools/test_afm.c, src/psaux/psconv.c: Older versions of these
files were committed. Just a catch-up.
(PS_Conv_ToFixed): Remove the `goto'.
(PS_Conv_ASCIIHexDecode, PS_Conv_EexecDecode): Speed up a little.

* src/sfnt/ttsbit.c (tt_face_load_sbit_strikes,
tt_face_load_strike_metrics), src/sfnt/ttsbit0.c
(tt_face_load_sbit_strikes, tt_face_load_strike_metrics): The
advertised metrics in `available_sizes' are different from those
actually used.
/external/freetype/src/base/ftobjs.c
108fdbbbd3ab7ea18b512762abd01ab4a051ca34 16-Jan-2006 Wu, Chia-I (吳佳一) <olvaffe@gmail.com> * src/psaux/afmparse.c, src/psaux/afmparse.h: New files which
implement an AFM parser. It is used to parse an AFM file.

* src/psaux/psconv.c, src/psaux/psconv.h: New files to provide
conversion functions (e.g, PS real number => FT_Fixed) for the
PS_Parser and AFM_Parser. Some of the functions are taken, with some
modifications, from the psobjs.c

* src/psaux/psobjs.c: Use functions from psconv.c.

* include/freetype/internal/psaux.h, src/psaux/psauxmod.c:: Add
`AFM_Parser' to the `psaux' service.

* src/psaux/psaux.c, src/psaux/rules.mk: Include those new files.

* src/tools/test_afm.c: A test program for AFM parser.

* include/freetype/internal/services/svkern.h,
include/freetype/internal/ftserv.h: New service `Kerning'. It is
currently only used to get the track kerning information.

* src/type1/t1driver.c, src/type1/t1objs.c, src/type1/t1afm.c,
src/type1/t1afm.h: Update to use the AFM parser.
Provide the `Kerning' service.

* include/freetype/freetype.h, src/base/ftobjs.c: New API
`FT_Get_Track_Kerning'.
/external/freetype/src/base/ftobjs.c
ea1e8d3a53e29d5ba00fff0ca2c468bf4e16e9af 15-Jan-2006 Wu, Chia-I (吳佳一) <olvaffe@gmail.com> * include/freetype/internal/ftobjs.h, src/base/ftobjs.c,
src/bdf/bdfdrivr.c, src/cff/cffgload.c, src/cid/cidgload.c,
src/pcf/pcfdrivr.c, src/type1/t1gload.c, src/winfonts/winfnt.c:
s/ft_fake_vertical_metrics/ft_synthesize_vertical_metrics/.

* docs/CHANGES: Mention that vertical metrics are synthesized for
fonts not having this info.
/external/freetype/src/base/ftobjs.c
1723dcc26169d4fecd8a85476421b2d18c8f8748 15-Jan-2006 Werner Lemberg <wl@gnu.org> Formatting, minor clean-ups.
/external/freetype/src/base/ftobjs.c
212aee0d6ec8bcae84c3278e6f786d01044dea7d 15-Jan-2006 Wu, Chia-I (吳佳一) <olvaffe@gmail.com> * include/freetype/internal/ftobjs.h (ft_fake_vertical_metrics),
src/base/ftobjs.c (ft_fake_vertical_metrics): New function to fake the
vertical metrics.

* src/cff/cffgload.c, src/cid/cidgload.c, src/pcf/pcfdrivr.c,
src/type1/t1gload.c, src/winfonts/winfnt.c: Fake the vertical metrics.
The fake metrics is monotone.

* src/truetype/ttgload.c (compute_glyph_metrics): Some fixes and
formattings in vertical metrics faking. There are still rooms for
improvements (and so do the CFF module).
/external/freetype/src/base/ftobjs.c
e5ff059f7fc32f43753230396efb62a4ac4c0cc5 15-Jan-2006 Wu, Chia-I (吳佳一) <olvaffe@gmail.com> * src/bdf/bdfdrivr.c (BDF_Glyph_Load), src/pcf/pcfdrivr.c
(PCF_Glyph_Load), src/winfonts/winfnt.c (FNT_Load_Glyph): Don't set
the linear advance fields as they are only for the outline glyphs.

* include/freetype/freetype.h: Documentation updates/clarificatoins.
The meaning of FT_LOAD_FORCE_AUTOHINT is changed so that no real
change need be made to the code.

* src/base/ftobjs.c (FT_Load_Glyph): Resolve flag dependencies and
decide whether to use the auto-hinter according to documentation.
There should to be no real difference.
Some checks (e.g., is text height positve?) after the glyph is loaded.
(FT_Select_Size, FT_Request_Size): Scales are set to wrong values.
Be careful that scales won't be negative.
/external/freetype/src/base/ftobjs.c
3d8eeb8e97009d621e0a3f6b326cbfc4a0cb540f 14-Jan-2006 Werner Lemberg <wl@gnu.org> Formatting, comment fixes.
/external/freetype/src/base/ftobjs.c
e33dc2ebeef85f78805a422f089307606925e062 14-Jan-2006 Wu, Chia-I (吳佳一) <olvaffe@gmail.com> * docs/CHANGES: Mention the size selection change.

* src/bdf/bdfdrivr.c (BDF_Size_Request, BDF_Size_Select),
src/pcf/pcfdrivr.c (PCF_Size_Request, PCF_Size_Select),
src/winfonts/winfnt.c (FNT_Size_Request, FNT_Size_Select): Do size
matching for request of type NOMINAL and REAL_DIM.

* src/winfonts/winfnt.c (FNT_Face_Init): Print trace message when
`pixel_height' is used for nominal height.

* src/base/ftobjs.c (FT_Request_Size): Call `FT_Match_Size' if the
face is bitmap only and driver doesn't provide `request_size'. This
is added merely for completion as no driver satisfies the conditions.
/external/freetype/src/base/ftobjs.c
f1c2b91e149dd24cb7ad54bcc6210ece8b076aa0 13-Jan-2006 Werner Lemberg <wl@gnu.org> Formatting, copyright year updates.
Decorate long constants with `L' and `UL' where appropriate.
/external/freetype/src/base/ftobjs.c
fa7d6ab2171c9cfa8b9b45a2a6f6a0fdd2e4a190 13-Jan-2006 Wu, Chia-I (吳佳一) <olvaffe@gmail.com> * include/freetype/internal/sfnt.h (SFNT_Interface): New method
`load_strike_metrics' used to load the strike's metrics.

* src/sfnt/sfdriver.c, src/sfnt/ttsbit.c, src/sfnt/ttsbit.h,
src/sfnt/ttsbit0.c: New function `tt_face_load_strike_metrics'.

* src/pfr/pfrobjs.c (pfr_face_init): Set FT_Bitmap_Size correctly.

* src/winfonts/winfnt.c (FNT_Face_Init): Use `nominal_point_size' for
nominal size unless it is obviously incorrect.

* include/freetype/freetype.h (FT_Bitmap_Size): Update the comments on
FNT driver.


Introduce new size selection interface.

* include/freetype/internal/ftdriver.h (struct FT_Driver_ClassRec_):
Replace `set_char_sizes' and `set_pixel_sizes' by `request_size' and
`select_size'.

* include/freetype/freetype.h (FT_Select_Size, FT_Size_Request_Type,
FT_Size_Request, FT_Request_Size, FT_Select_Size), src/base/ftobjs.c
(FT_Select_Size, FT_Request_Size): API additions to export the new
size selection interface.

* src/base/ftobjs.c (FT_Set_Char_Size, FT_Set_Pixel_Sizes): Use
`FT_Request_Size'.

* include/freetype/internal/ftobjs.h (FT_Match_Size),
src/base/ftobjs.c (FT_Match_Size): New function to match a size
request against `available_sizes'. Drivers supporting bitmap strikes
can use this function to implement `request_size'.

* src/bdf/bdfdrivr.c, src/cid/cidobjs.c, src/cid/cidobjs.h,
src/cid/cidriver.c, src/pcf/pcfdrivr.c, src/type1/t1driver.c,
src/type1/t1objs.c, src/type1/t1objs.h, src/type42/t42drivr.c,
src/type42/t42objs.c, src/type42/t42objs.h, src/winfonts/winfnt.c:
Update to new size selection interface.

* src/cff/cffdrivr.c, src/cff/cffgload.c, src/cff/cffobjs.c,
src/cff/cffobjs.h, src/truetype/ttdriver.c, src/truetype/ttgload.c,
src/truetype/ttobjs.c, src/truetype/ttobjs.h: Update to new size
selection interface.
Make `strike_index' FT_ULong and always defined.
Use `load_strike_metrics' provided by SFNT interface.
/external/freetype/src/base/ftobjs.c
6cdab92b59aea379f7a8a6dc57271266d6434ed6 08-Jan-2006 Werner Lemberg <wl@gnu.org> * docs/CHANGES: Updated.

* include/freetype/ftmodapi.h (FT_Module_Get_Flags): New
declaration.

* src/base/ftobjs.c (FT_Module_Get_Flags): New function.
/external/freetype/src/base/ftobjs.c
748b171dd7c59e88c8982ffc45a80f6e370ad6a8 25-Dec-2005 Werner Lemberg <wl@gnu.org> Doc typos. From Huw Davies.
/external/freetype/src/base/ftobjs.c
083ba0b7bc475517a6dc9062c5096bdaf0aa9593 23-Dec-2005 Werner Lemberg <wl@gnu.org> Formatting, documentation improvements.
/external/freetype/src/base/ftobjs.c
e6bb95336ac164d37a89d7c4bd77025d6964f003 23-Dec-2005 David Turner <david@freetype.org> * Jamfile, docs/reference/README: fix it so that "jam refdoc" works
correctly to generate the API reference in 'docs/reference'

* src/tools/docmaker/tohtml.py: update to output nicer fields lists
in the API reference

* src/base/ftobjs.c (FT_Load_Glyph): FT_LOAD_TARGET_LIGHT now
forces auto-hinting

* freetype/freetype.h: updating the documentation for
FT_LOAD_TARGET_XXX and FT_Render_Mode values
/external/freetype/src/base/ftobjs.c
dcb8b7103fc8692cce093247188249fb786de2ff 16-Dec-2005 Wu, Chia-I (吳佳一) <olvaffe@gmail.com> * include/freetype/internal/ftobjs.h (ft_glyphslot_grid_fit_metrics),
src/base/ftobjs.c (ft_glyphslot_grid_fit_metrics): Removed.

* src/base/ftobjs.c (ft_recompute_scaled_metrics): Do not round.

* src/cff/cffgload.c (cff_slot_load), src/cid/cidgload.c
(cid_slot_load_glyph), src/truetype/ttgload.c (compute_glyph_metrics),
src/type1/t1gload.c (T1_Load_Glyph): Do not round glyph metrics.

* doc/CHANGES: Mention the changes.
/external/freetype/src/base/ftobjs.c
3b8db6694128274acc859da0b130fd85e55e52ac 06-Dec-2005 Werner Lemberg <wl@gnu.org> Fix ChangeLog and source code comment.
/external/freetype/src/base/ftobjs.c
b2d025306e3d0b3a4a14f63ac171d496d94eaee6 04-Nov-2005 Werner Lemberg <wl@gnu.org> * src/base/ftobjs.c (FT_Open_Face): Avoid possible memory leak.


Make compiling instructions in docs/CUSTOMIZE work again.

* builds/unix/unix-cc.in (CPPFLAGS): New variable.
(CFLAGS): Don't include @CPPFLAGS@.
* builds/freetype.mk (FT_CFLAGS): Add CPPFLAGS.
/external/freetype/src/base/ftobjs.c
92f30c812c6d0537eb2c339f0bc81b149a090b3e 17-Oct-2005 David Turner <david@freetype.org> * src/base/ftobjs.c (FT_Open_Face): don't call FT_New_GlyphSlot and
FT_New_Size if we're opening a face with face_index < 0 (which is only
used for testing the format).

* src/gxvalid/gxvmort0.c: removed compiler warning
/external/freetype/src/base/ftobjs.c
7b33dca43c88cf3b1194455145bc70144feaca6c 23-Jun-2005 Werner Lemberg <wl@gnu.org> Formatting.
/external/freetype/src/base/ftobjs.c
8cfb220eb976949396a4949320424e8c4e9fb19d 20-Jun-2005 Wu, Chia-I (吳佳一) <olvaffe@gmail.com> * include/freetype/internal/ftobjs.h, src/base/ftobjs.c: New function
ft_glyphslot_grid_fit_metrics.

* src/truetype/ttgload.c (compute_glyph_metrics): Use
ft_glyphslot_grid_fit_metrics.

* src/cff/cffgload.c (cff_slot_load), src/cid/cidgload.c
(cid_slot_load_glyph), src/type1/t1gload.c (T1_Load_Glyph): Use
ft_glyphslot_grid_fit_metrics.
FT_Outline_Get_CBox is called twice.

* src/base/ftsynth.c (FT_GlyphSlot_Embolden): Modify metrics to more
reasonable values when emboldening outline glyphs. The theoretic
ones are unrealistic.
/external/freetype/src/base/ftobjs.c
0f1c4fa7c6370b50507e64f22c31153fed90e6be 06-Jun-2005 Werner Lemberg <wl@gnu.org> Minor documentation fixes.

Include stuff created by autogensh. in .cvsignore.
/external/freetype/src/base/ftobjs.c
e70371c410fc571c7fad78d0f1b9867447a62145 27-May-2005 Werner Lemberg <wl@gnu.org> * src/base/ftobjs.c (ft_cmap_done_internal): New function.
(FT_CMap_Done): Remove cmap from cmap list.
(destroy_charmaps, FT_CMap_New): Don't call FT_CMap_Done but
ft_cmap_done_internal.
/external/freetype/src/base/ftobjs.c
b9ee7370f60304da99ba3424edbfd36502e0d391 20-May-2005 Werner Lemberg <wl@gnu.org> * docs/CHANGES: Updated.

* src/base/ftbitmap.c: Don't include FT_FREETYPE_H and FT_IMAGE_H
but FT_BITMAP_H.
(FT_Bitmap_Copy): New function (from ftglyph.c).

* include/freetype/ftbitmap.h (FT_Bitmap_Copy): New public
definition.

* src/base/ftglyph.c: Include FT_BITMAP_H.
(ft_bitmap_copy): Move to ftbitmap.c.
(ft_bitmap_glyph_init): Remove `memory' variable.
Create new bitmap object if FT_GLYPH_OWN_BITMAP isn't set.
(ft_bitmap_glyph_copy): Use FT_Bitmap_Copy.
(ft_bitmap_glyph_done): Use FT_Bitmap_Done.
(ft_outline_glyph_init): Use FT_Outline_Copy.

* src/base/ftoutln.c (FT_Outline_Copy): Handle source == target.
(FT_Outline_Done_Internal): Check for valid `memory' pointer.
(FT_Outline_Translate, FT_Outline_Reverse, FT_Outline_Render,
FT_Outline_Transform): Check for valid `outline' pointer.

* src/base/ftobjs.c (FT_New_GlyphSlot): Prepend glyph slot to
face->glyph, otherwise a new second glyph slot cannot be created.
(FT_Done_GlyphSlot): Fix memory leak.
(FT_Open_Face): Updated -- face->glyph is already managed by
FT_New_GlyphSlot.

* src/type42/t42objs.c (T42_GlyphSlot_Done): Updated.
/external/freetype/src/base/ftobjs.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/base/ftobjs.c
56ef6bc4d67230aac635298006fd7a9f1096c744 10-Mar-2005 Werner Lemberg <wl@gnu.org> * src/tools/glnames.py: Formatted.
Format output to be in sync with other FreeType code.
Import `re' and `os.path'.
(StringTable) <__init__>: Add parameter to initialize master table
name.
(StringTable) <dump>: Don't pass master table name.
(StringTable) <dump_sublist>: Emit explanatory comment.
Simplify and make output more human readable.
(t1_bias, glyph_list, adobe_glyph_names): Removed. Unused.
(main): Use `basename' for file name in header.

* src/psnames/pstables.h: Regenerated.

Other formatting.
/external/freetype/src/base/ftobjs.c
705620beebdb9a4f62853463dd4c23e7f2fbce29 09-Mar-2005 David Turner <david@freetype.org> * src/base/ftobjs.c (FT_Set_Char_Sizes): fix for bug #12263
/external/freetype/src/base/ftobjs.c
8acb867ef2fbd6319d22621f22b4cffdfff682a1 08-Mar-2005 Werner Lemberg <wl@gnu.org> Formatting.
/external/freetype/src/base/ftobjs.c
ece8b20e6c51924b85f3055e555a430a2d4bfd1b 14-Dec-2004 Werner Lemberg <wl@gnu.org> Documentation updates, whitespace.
/external/freetype/src/base/ftobjs.c
133eee06bf52ae10054cce2dfa8ff40a6c15470b 12-Dec-2004 Werner Lemberg <wl@gnu.org> * src/base/ftobjs.c (FT_Get_Kerning): Make kerning amount
dependent on ppem by scaling down for ppem < 25, then do normal
rounding. This gives slightly better results than rounding towards
zero.
/external/freetype/src/base/ftobjs.c
62f8978794fd7736feaeaedd7ef3f62e1eb6a7eb 09-Dec-2004 Werner Lemberg <wl@gnu.org> * src/base/ftobjs.c (FT_Get_Kerning): Always round towards zero
for FT_KERNING_DEFAULT. This greatly enhances the kerning for
small ppem values.
/external/freetype/src/base/ftobjs.c
34f4f39ad8d56a2153080f865afd4bd01ed6d63f 09-Dec-2004 Werner Lemberg <wl@gnu.org> * src/base/ftobjs.c (ft_glyphslot_clear): Reset `lsb_delta' and
`rsb_delta'.
/external/freetype/src/base/ftobjs.c
645af08157345524dae6e7df4cb75f5514f52f0b 06-Sep-2004 Werner Lemberg <wl@gnu.org> * include/freetype/internal/ftobjs.h: Don't include
FT_CONFIG_STANDARD_LIBRARY_H.
(FT_Validator, FT_VAlidationLevel, FT_ValidatorRec, FT_VALIDATOR,
ft_validator_init, ft_validator_run, ft_validator_error, FT_INVALID,
FT_INVALID_TOO_SHORT, FT_INVALID_OFFSET, FT_INVALID_FORMAT,
FT_INVALID_GLYPH_ID, FT_INVALID_DATA): Move to...

* include/freetype/internal/ftvalid.h: New file.
Make FT_INVALID return module-specific error codes.

* include/freetype/internal/internal.h (FT_INTERNAL_VALIDATE_H): New
macro.

* include/freetype/fterrors.h: Undefine FT_ERR_PREFIX only if
FT_KEEP_ERR_PREFIX isn't defined.

* src/base/ftobjs.c: Include FT_INTERNAL_VALIDATE_H.

* src/sfnt/ttcmap.h: Don't include FT_INTERNAL_OBJECTS_H but
FT_INTERNAL_VALIDATE_H.

* src/sfnt/ttcmap.c: Don't include FT_INTERNAL_OBJECTS_H but
FT_INTERNAL_VALIDATE_H.
Include sferrors.h before FT_INTERNAL_VALIDATE_H.
s/FT_Err_Ok/SFNT_Err_Ok/.

* src/sfnt/sferrors.h: Define FT_KEEP_ERR_PREFIX.

* src/type1/t1afm.c: Include t1errors.h.
/external/freetype/src/base/ftobjs.c
17439423f8a62e508647d5427c8171c0b229a081 11-Aug-2004 Werner Lemberg <wl@gnu.org> * src/base/ftstream.c (FT_Stream_Close): Don't reset stream->close
to NULL. This allows custom close functions to delete the FT_STREAM
object.


Add API to get information about SFNT tables.

* include/freetype/internal/services/svsfnt.h
(FT_SFNT_Table_Info_Func): New typedef.
(SFNT_Table): Add it.

* src/base/ftobjs (FT_Sfnt_Table_Info): New function.

* include/freetype/tttables.h: Updated.

* src/sfnt/sfdriver.c (sfnt_table_info): New function.
(sfnt_service_sfnt_table): Add it.

* docs/CHANGES: Updated.


* include/freetype/freetype.h (FREETYPE_PATCH): Set to 10.

* builds/unix/configure.ac (version_info): Set to 9:8:3.
* builds/unix/configure: Updated.

* 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.8/2.1.9/.

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


* src/base/ftrfork.c (FT_Raccess_Guess)
[!FT_CONFIG_OPTION_GUESSING_EMBEDDED_FORK]: Remove compiler
warnings.
/external/freetype/src/base/ftobjs.c
b8fdcd68d23d1e414df2e5c9c31bd43fad9887bd 03-Aug-2004 Werner Lemberg <wl@gnu.org> * src/base/ftobjs.c (FT_Attach_File): Initialize `open.stream'.
/external/freetype/src/base/ftobjs.c
2f0fdb9316120084c9b62647f9a730b11ab90202 21-Jun-2004 David Turner <david@freetype.org> fixing a scaling bug in the TrueType glyph loader that generated ugly
artefacts when the TrueType bytecode interpreter was compiled in
/external/freetype/src/base/ftobjs.c
e95365b291d13000e84b8e81671bea7e762ea557 24-Apr-2004 Werner Lemberg <wl@gnu.org> * include/freetype/ftcache.h (FT_Get_CharMap_Index): Rename
declaration and move to...
* include/freetype/freetype.h (FT_Get_Charmap_Index): Here.
(FREETYPE_PATCH): Set to 9.

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

* builds/unix/configure.ac (version_info): Set to 9:7:3.
* builds/unix/configure: Updated.

* builds/win32/visualc/index.html,
builds/win32/visualc/freetype.dsp,
builds/win32/visualc/freetype.vcproj: s/218/219/.

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

* docs/CHANGES, docs/VERSION.DLL: Updated.
/external/freetype/src/base/ftobjs.c
ba80d61c7ab146002db3a851dca39e5a02fbb7aa 16-Apr-2004 Werner Lemberg <wl@gnu.org> * builds/unix/ftconfig.in, builds/vms/ftconfig.h: Define
FT_CHAR_BIT.

* src/base/ftobjs.c (FT_Load_Glyph): Don't apply autohinting if
glyph is vertically distorted or mirrored.

* src/cff/cffgload.c (cff_slot_load): Handle zero `size' properly
for embedded bitmaps.

* docs/CHANGES: Updated.
/external/freetype/src/base/ftobjs.c
754353343ecd27582ed86cd9fd07d31ab1df883c 25-Feb-2004 Werner Lemberg <wl@gnu.org> Provide generic access to MacOS resource forks.

* src/base/ftrfork.c, include/freetype/internal/ftrfork.h: New
files.

* src/base/ftobjs.c: Include FT_INTERNAL_RFORK_H.
(Mac_Read_POST_Resource, Mac_Read_sfnt_Resource): Remove arguments
`resource_listoffset' and `resource_data' and adapt code
accordingly. These values are calculated outside of the function
now.
Add new argument `offsets'.
(IsMacResource): Use `FT_Raccess_Get_HeaderInfo' and
`FT_Raccess_Get_DataOffsets'.
(load_face_in_embedded_rfork): New function.
(load_mac_face): Use load_face_in_embedded_rfork.
(ft_input_stream_new): Renamed to...
(FT_Stream_New): This. Use FT_BASE_DEF. Updated all callers.
(ft_input_stream_free): Renamed to...
(FT_Stream_Free): This. Use FT_BASE_DEF. Updated all callers.

* src/base/ftbase.c: Include ftrfork.c.

* src/base/rules.mk (BASE_SRC), src/base/Jamfile: Updated.

* include/freetype/internal/internal.h (FT_INTERNAL_RFORK_H):
New macro.

* include/freetype/internal/fttrace.h: Added `rfork' as a new
trace definition.

* include/freetype/internal/ftstream.h: Declare FT_Stream_New and
FT_Stream_Free.

* include/freetype/config/ftoption.h, devel/ftoption.h
(FT_CONFIG_OPTION_GUESSING_EMBEDDED_RFORK): New option.

* include/freetype/config/ftstdlib.h (ft_strrchr): New macro.
/external/freetype/src/base/ftobjs.c
32eb5ce978244eb66c88d093f16515c5ebaf63d9 16-Feb-2004 Werner Lemberg <wl@gnu.org> * src/base/ftobjs.c (FT_Set_Char_Size): Fix typo.
/external/freetype/src/base/ftobjs.c
d233482ef5b2988b31eeff2cc11eb7825f972915 14-Feb-2004 Werner Lemberg <wl@gnu.org> * src/base/ftobjs.c (FT_Set_Char_Size): Return immediately if
ppem values don't change. Suggested by Graham Asher.
/external/freetype/src/base/ftobjs.c
4338dab2f80ec5f41bb8540c9904b101219e33e9 05-Jan-2004 Werner Lemberg <wl@gnu.org> * src/base/ftobjs.c (destroy_charmaps): New function.
(destroy_face, open_face): Use `destroy_charmaps'.
/external/freetype/src/base/ftobjs.c
cb8ede4dca7e9cd1b43d2955f9199a79634c7f79 27-Dec-2003 Werner Lemberg <wl@gnu.org> * include/freetype/internal/sfnt.h (TT_Set_SBit_Strike_Func):
Use FT_UInt for ppem values.
* src/sfnt/ttsbit.c (tt_face_set_sbit_strike): Use FT_UInt for
ppem values.
* src/sfnt/ttsbit.h: Updated.

* src/base/ftobjs.c (FT_Set_Pixel_Sizes): Don't allow ppem values
larger than -0FFFF.
/external/freetype/src/base/ftobjs.c
328abf30946ad7c113db8e6bda4fdb4003ae6dda 24-Dec-2003 Werner Lemberg <wl@gnu.org> * src/cff/cffgload.c (cff_lookup_glyph_by_stdcharcode): Handle
CID-keyed fonts.

Remove MS-DOS line endings.

Minor formatting issues.
/external/freetype/src/base/ftobjs.c
87c0d30fc5fe512c8971510622091dd2c7a83031 24-Dec-2003 David Turner <david@freetype.org> * include/freetype/fttypes.h
src/autofit/afangles.c
src/autofit/aflatin.c
src/autohint/ahglyph.c
src/autohint/ahhint.c
src/base/ftcalc.c
src/base/ftgloadr.c
src/base/ftglyph.c
src/base/ftobjs.c
src/base/ftsynth.c
src/base/fttrigon.c
src/cff/cffgload.c
src/cid/cidgload.c
src/cid/cidload.c
src/pfr/pfrgload.c
src/pfr/pfrload.c
src/pfr/pfrsbit.c
src/psaux/psobjs.c
src/pshinter/pshalgo.c
src/pshinter/pshglob.c
src/pshinter/pshrec.c
src/raster/ftrend1.c
src/sfnt/ttcmap0.c
src/smooth/ftsmooth.c
src/truetype/ttdriver.c
src/truetype/ttgload.c
src/truetype/ttinterp.c
src/truetype/ttobjs.c
src/type1/t1gload.c
src/winfonts/winfnt.c:

use of the FT_PAD_XXX and FT_PIX_XXX macros to avoid compiler
warnings with very pedantic compilers. Hints: (x) & -64 will
warn if (x) is not signed.. use (x) & ~63 instead !
/external/freetype/src/base/ftobjs.c
91a67478ec4a8ef0a7363f4728dd6c06be1ca92f 17-Dec-2003 Werner Lemberg <wl@gnu.org> Add new function FT_Get_CMap_Language_ID to extract the language ID
for TrueType/sfnt fonts.

* include/freetype/internal/services/svttcmap.h: New file.
* include/freetype/internal/ftserv.h (FT_SERVICE_TT_CMAP_H): Add
svttcmap.h.

* src/sfnt/sfdriver.c: Include ttcmap0.h.
(tt_service_get_cmap_info): New service.
(sfnt_services): Updated.

* src/sfnt/ttcmap0.c (tt_cmap*_get_info): New functions.
(tt_cmap*_class_rec): Add tt_cmap*_get_info members.
(tt_get_cmap_info): New function.
* src/sfnt/ttcmap0.h: Include FT_SERVICE_TT_CMAP_H.
(TT_CMap_ClassRec): New field `get_cmap_info'.
(tt_get_cmap_info): New declaration.

* src/base/ftobjs.c: Include FT_SERVICE_TT_CMAP_H.
(FT_Get_CMap_Language_ID): New function implementation.
* include/freetype/tttables.h (FT_Get_CMap_Language_ID): New
function declaration.
/external/freetype/src/base/ftobjs.c
00915574c39537b922b120bf6324754eb69e1b10 10-Dec-2003 Werner Lemberg <wl@gnu.org> * src/base/ftobjs.c (load_mac_face): Recent versions of Linux
support Mac's HFS+ file system, thus enable code to read /rsrc on
non-Macintosh platforms also.
/external/freetype/src/base/ftobjs.c
dc8ad54f1064430115c93ab88dd968c31782ccdd 09-Dec-2003 Werner Lemberg <wl@gnu.org> * include/freetype/internal/psaux.h (PS_TableRec): Change type
of `lengths' to FT_PtrDist.
(T1_DecoderRec): Change type of `subrs_len' to FT_PtrDist.
* include/freetype/internal/t1types.h (T1_FontRec): Change type
of `subrs_len' and `charstrings_len' to FT_PtrDist.

* src/base/ftobjs.c (Mac_Read_POST_Resource): Replace `junk'
variable with better solution.
(IsMacResource): Remove unused variable `map_len'.
Replace `junk' variable with better solution.
(FT_Open_Face) [!FT_MACINTOSH]: Add conditional
FT_CONFIG_OPTION_MAC_FONTS.

* src/autohint/ahhint.c (ah_hinter_hint_edges,
ah_hinter_align_strong_points): Add some casts.

* src/base/ftoutln.c (FT_OrientationExtremumRec): Change type
of `pos' to FT_Long.

* src/base/ftobjs.c (Mac_Read_POST_Resource,
Mac_Read_sfnt_Resource): Change type of `len' to FT_Long.

* src/type42/t42parse.c (t42_parse_dict): Add cast for `n_keywords'.
/external/freetype/src/base/ftobjs.c
be67c4ef33a610afc475e62fc2fd69b96cd4d845 24-Nov-2003 Werner Lemberg <wl@gnu.org> * src/truetype/ttinterp.c (CUR_Func_move_orig): New macro.
(Direct_Move_Orig, Direct_Move_Orig_X, Direct_Move_Orig_Y): New
functions. Similar to Direct_Move, Direct_Move_X, and
Direct_Move_Y but without touching.
(Compute_Funcs): Use new functions.

(Round_None, Round_To_Grid, Round_To_Half_Grid, Round_Down_To_Grid,
Round_Up_To_Grid, Round_To_Double_Grid, Round_Super,
Round_Super_45): Fix rounding of value zero.

(DO_DIV): Don't use TT_MULDIV.

(Ins_SHC): This instruction actually touches the points.
(Ins_MSIRP): Fix undocumented behaviour.

* src/truetype/ttinterp.h (TT_ExecContextRec): Updated.

* docs/VERSION.DLL: Updated.

* src/base/ftobjs.c (FT_Set_Char_Size): Make metrics->x_scale and
metrics->y_scale really precise.

(FT_Load_Glyph): Update computation of linearHoriAdvance and
linearVertAdvance.

* src/true/type/ttinterp.c (Update_Max): Use FT_REALLOC.
/external/freetype/src/base/ftobjs.c
40bb0964f2885a2cf5dcc4881448c4089761b577 01-Nov-2003 Werner Lemberg <wl@gnu.org> * src/base/fttype1.c (FT_Get_PS_Font_Info, FT_Has_PS_Glyph_Names):
Fix parameter order in calls to FT_FACE_FIND_SERVICE.

* include/freetype/internal/ftserv.h
(FT_SERVICE_POSTSCRIPT_NAMES_H): Removed. Unused.

* src/type42/t42drivr.c (t42_services): Updated.
/external/freetype/src/base/ftobjs.c
7418415f48f8f019b732a2e36b26af3ac9fbe900 18-Oct-2003 Werner Lemberg <wl@gnu.org> Minor documentation improvements.
/external/freetype/src/base/ftobjs.c
b72d8a85212e1dc2dc103c28e19a4f4a2d71767e 29-Sep-2003 David Turner <david@freetype.org> * include/freetype/internal/services/svpsname.h (added),
include/freetype/internal/psnames.h (removed),
include/freetype/internal/internal.h (FT_SERVICE_POSTSCRIPT_NAMES):

added new service to handle glyph name dictionaries, replacing
the old internal header named "psnames.h" by "services/svpsname.h"
note that this is different from "services/svpostnm.h" which only
handles the retrieval of Postscript font name for a given face.
(should we merge these two services into a single header ??)


* include/freetype/internal/ftserv.h: adding
FT_FACE_FIND_GLOBAL_SERVICE (used to lookup a service globally,
instead of only within the current module)

* include/freetype/internal/ftobjs.h, src/base/ftobjs.c: adding
the new base function ft_module_get_service
/external/freetype/src/base/ftobjs.c
e2d12842e1e2717545643faa2a8b8f0ccb22b9ba 21-Sep-2003 David Turner <david@freetype.org> * include/freetype/internal/fnttypes.h,
include/freetype/internal/ftserv.h, src/base/ftbdf.c, src/base/ftmm.c,
src/base/ftobjs.c, src/base/ftpfr.c, src/base/ftwinfnt.c,
src/base/ftxf86.c, src/pfr/pfrdrivr.c, src/winfonts/winfnt.c,
src/winfonts/winfnt.h, include/freetype/internal/service/svwinfnt.h,:

simplification of service lookup macros, updating the PFR and
WINFNT font drivers to new services
/external/freetype/src/base/ftobjs.c
46333a118f0cb18f86ddda323cec6220809c130e 17-Sep-2003 Werner Lemberg <wl@gnu.org> * include/freetype/internal/ftserv.h (FT_FACE_FIND_SERVICE,
FT_FACE_LOOKUP_SERVICE): Add parameter to pass pointer type.
Ugly, I know, but this is needed for compilation with C++ --
maybe someone knows a better solution?
Updated all callers.

* src/base/ftobjs.c (FT_Get_Name_Index, FT_Get_Glyph_Name): Remove
C++ compiler warnings.

* src/base/ftbdf.c (FT_Get_BDF_Charset_ID, FT_Get_BDF_Property):
Fix order of arguments passed to FT_FACE_FIND_SERVICE.
/external/freetype/src/base/ftobjs.c
013efd14103cbe453714749c1abe16258385d911 17-Sep-2003 Werner Lemberg <wl@gnu.org> Formatting.
/external/freetype/src/base/ftobjs.c
5e3614f5847370786d8c91e1aa428ed15bbde55d 12-Sep-2003 Werner Lemberg <wl@gnu.org> * builds/toplevel.mk (distclean): Remove `builds/unix/freetype2.pc'.

* src/cff/cffdrivr.c: Don't load headers twice.

* include/freetype/internal/ftserv.h (FT_SERVICE_SFNT_H): New macro.
* src/base/ftobjs.c: Include FT_SERVICE_SFNT_H.
/external/freetype/src/base/ftobjs.c
c313c50208ae4805c713e42d94a163139d3471c7 11-Sep-2003 David Turner <david@freetype.org> * include/freetype/ftmm.h, include/freetype/ftmodule.h,
include/freetype/tttables.h, include/freetype/config/ftconfig.h,
include/freetype/internal/ftobjs.h,
include/freetype/internal/ftserv.h,
include/freetype/internal/internal.h,
include/freetype/internal/sfnt.h,
include/freetype/internal/tttypes.h,
include/freetype/internal/services/bdf.h,
include/freetype/internal/services/glyfdict.h,
include/freetype/internal/services/multmast.h,
include/freetype/internal/services/postname.h,
include/freetype/internal/services/sfnt.h,
include/freetype/internal/services/xf86name.h,
src/base/ftbdf.c, src/base/ftmm.c, src/base/ftobjs.c,
src/base/ftxf86.c, src/bdf/bdfdrivr.c, src/cff/cffdrivr.c,
src/cid/cidriver.c, src/pcf/pcfdrivr.c, src/sfnt/sfdriver.c,
src/truetype/ttdriver.c, src/type1/t1driver.c, src/type42/t42drivr.c:

heavy internal modifications to introduce the concept of
"module services". This is the first step towards a massive
simplification of the engine's internals, in order to
get rid of various numbers of hacks.

Note that this changes will break source & binary compatibility
for authors of external font drivers.

Maybe 2.1.6 will be called 2.2.0 after all :-)
/external/freetype/src/base/ftobjs.c
7b0cc663e84a90947d4e63e3e250e1b38b484cdc 05-Jul-2003 Werner Lemberg <wl@gnu.org> formatting
/external/freetype/src/base/ftobjs.c
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/src/base/ftobjs.c
779afe4b91f579e6db0d59f23076a7c6d8c26a14 22-Jun-2003 Werner Lemberg <wl@gnu.org> * src/winfonts/winfnt.c (FNT_Load_Glyph): Use first_char in
computation of glyph_index.
(FNT_Size_Set_Pixels): To find a strike, first check pixel_height
only, then try to find a better hit by comparing pixel_width also.
Without this fix it isn't possible to access all strikes.
Also compute metrics.max_advance to be in sync with other bitmap
drivers.

* src/base/ftobjs.c (FT_Set_Char_Size): Remove redundant code.
(FT_Set_Pixel_Size): Assign value to `metrics' after validation of
arguments.


Synchronize computation of height and width for bitmap strikes. The
`width' field in the FT_Bitmap_Size structure is now only useful to
enumerate different strikes. The `max_advance' field of the
FT_Size_Metrics structure should be used to get the (maximum) width
of a strike.

* src/bdf/bdfdrivr.c (BDF_Face_Init): Don't use AVERAGE_WIDTH for
computing `available_sizes->width' but make it always equal to
`available_sizes->height'.

* src/pcf/pcfread.c (pcf_load_font): Don't use RESOLUTION_X for
computing `available_sizes->width' but make it always equal to
`available_sizes->height'.

* src/truetype/ttdriver.c (Set_Pixel_Sizes): Pass only single
argument to function.

* src/psnames/psmodule.c (ps_unicode_value): Handle `.' after
`uniXXXX' and `uXXXX[X[X]]'.


* src/bdf/bdfdrivr.c: s/FT_Err_/BDF_Err/.
* src/cache/ftccache.c, src/cache/ftcsbits.c, src/cache/ftlru.c:
s/FT_Err_/FTC_Err_/.
* src/cff/cffcmap.c: s/FT_Err_/CFF_Err_/.
* src/pcf/pcfdrivr.c: s/FT_Err_/PCF_Err_/.
* src/psaux/t1cmap.c: Include psauxerr.h.
s/FT_Err_/PSaux_Err_/.
* src/pshinter/pshnterr.h: New file.
* src/pshinter/rules.mk: Updated.
* src/pshinter/pshalgo.c, src/pshinter/pshrec.c: Include pshnterr.h.
s/FT_Err_/PSH_Err_/.
* src/pfr/pfrdrivr.c, src/pfr/pfrobjs.c, src/pfr/pfrsbit.c:
s/FT_Err_/PFR_Err_/.
* src/sfnt/sfdriver.c, src/sfnt/sfobjs.c, src/sfnt/ttcmap0.c,
src/sfnt/ttload.c: s/FT_Err_/SFNT_Err_/.
* src/truetype/ttgload.c: s/FT_Err_/TT_Err_/.
* src/gzip/ftgzip.c: Load FT_MODULE_ERRORS_H and define
FT_ERR_PREFIX and FT_ERR_BASE.
s/FT_Err_/Gzip_Err_/.
/external/freetype/src/base/ftobjs.c
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/src/base/ftobjs.c
8b88466061a85ea3f4ae6753f88cf6fe94cabd1c 03-Jun-2003 Werner Lemberg <wl@gnu.org> * src/autohint/ahhint.c (ah_hinter_hint_edges): Removed. Just a
wrapper for ah_hint_edges.
(ah_hint_edges): Renamed to...
(ah_hinter_hint_edges): This.

* src/base/ftobjs.c (FT_Set_Hint_Flags): Removed. Unused.

* include/freetype/internal/ftobjs.h (FT_Face_InternalRec),
include/freetype/internal/psaux.h (T1_DecoderRec),
src/cff/cffgload.h (CFF_Builder): Remove `hint_flags' field.
Unused.

* src/cff/cffgload.c (cff_builder_init): Updated.
(cff_decoder_parse_charstrings) <cff_op_endchar>: Call hinter->apply
with decoder->hint_mode instead of builder->hint_flags.
* src/psaux/t1decode.c (t1_decoder_init): Updated.

* src/base/ftstroker.c (ft_stroke_border_export): s/index/idx/.

* src/sfnt/sfobjs.c (sfnt_load_face): Commented out code which
increased root->height by 15% if the line gap was zero. There exist
fonts (containing e.g. form drawing characters) which intentionally
have a zero line gap value.
/external/freetype/src/base/ftobjs.c
f35ff8013254552d5f9d5ea347de24dd645f1c98 02-Jun-2003 Werner Lemberg <wl@gnu.org> * src/cff/cffobjs.c (cff_face_init): Use symbolic names for
Adobe specific encoding IDs (there was a wrong EID value for custom
encoding).

* src/cff/cffcmap.h (CFF_CMapStdRec): Remove `count'.
* src/cff/cffcmap.c (cff_cmap_encoding_init,
cff_cmap_encoding_done): Updated.
(cff_cmap_encoding_char_index, cff_cmap_encoding_char_next): Use
256 as limit for character code.
/external/freetype/src/base/ftobjs.c
e20ab691c357c548e7c90eaca3721f382d5c116e 02-Jun-2003 Werner Lemberg <wl@gnu.org> * src/winfonts/winfnt.c (FNT_Load_Glyph): Revert change from
2003-03-20.
/external/freetype/src/base/ftobjs.c
65ba724b66724f19c52d5794b95f8a75402054ff 30-May-2003 Werner Lemberg <wl@gnu.org> Avoid overwriting of numeric font dictionary entries for synthetic
fonts. Additionally, some entries were handled as `integer' instead
of `number'.

* include/freetype/internal/psaux.h (T1_FieldType): Add
T1_FIELD_TYPE_BOOL_P, T1_FIELD_TYPE_INTEGER_P, and
T1_FIELD_TYPE_FIXED_P.
(T1_FIELD_BOOL_P, T1_FIELD_NUM_P, T1_FIELD_FIXED_P): New macros.
* src/psaux/psobjs.c (ps_parser_load_field): Handle new field types.

* include/freetype/internal/cfftypes.h (CFF_FontRecDict),
src/cff/cfftoken.h: Change type of underline_position and
underline_thickness to FT_Fixed.
* src/cff/cffload.c (cff_subfont_load): Fix default values of
underline_position and underline_thickness.
* src/cff/cffobjs.c (cff_face_init): Set underline_position
and underline_thickness in `root'.

* include/freetype/internal/t1types.h (T1_Font): Change point_type
and stroke_width to pointers.
* include/freetype/t1tables.h (PS_FontInfo): Change italic_angle,
is_fixed_pitch, underline_position, and underline_thickness to
pointers.
* src/type1/t1tokens.h: Change italic_angle, is_fixed_pitch,
underline_position, and underline_thickness to pointers. Change
the type of the latter two to `fixed'.
Change type of stroke_width to `fixed' and make it a pointer.
Change paint_type to pointer.
* src/type1/t1objs.c (T1_Face_Done): Updated.
(T1_Face_Init): Updated.
Fix assignment of underline_position and underline_thickness.

* src/cid/cidtoken.h: Change italic_angle, is_fixed_pitch,
underline_position, and underline_thickness to pointers. Change
the type of the latter two to `fixed'.
Change type of stroke_width to `fixed'.
* src/cid/cidobjs.c (cid_face_done): Updated.
(cid_face_init): Updated.
Fix assignment of underline_position and underline_thickness.

* src/type42/t42parse.c: Change italic_angle, is_fixed_pitch,
underline_position, and underline_thickness to pointers. Change the
type of the latter two to `fixed'.
Change type of stroke_width to `fixed' and make it a pointer.
Change paint_type to pointer.
* src/type42/t42objs.c (T42_Face_Init): Updated.
Fix assignment of underline_position and underline_thickness.
(T42_Face_Done): Updated.

* src/base/ftobjs.c (open_face_from_buffer): Fix compiler warning.
* src/pshinter/pshglob.c, src/pshinter/pshglob.h
(psh_globals_set_scale): Make it a local function.

* test/gview.c: Fix remaming ps3->ps typo.
Formatting.
/external/freetype/src/base/ftobjs.c
282637f6a53dff97e72a3bb35d9f6792cf9c6663 21-May-2003 Werner Lemberg <wl@gnu.org> * include/freetype/config/ftstdlib.h (ft_strcat): New wrapper macro
for strcat.

* src/base/ftmac.c (create_lwfn_name): s/isupper/ft_isupper/.
(parse_font): s/memcpy/ft_memcpy/.
(is_dfont) [TARGET_API_MAC_CARBON]: s/memcmp/ft_memcmp/.
* src/base/ftobjs.c (load_mac_face) [FT_MACINTOSH]:
s/strlen/ft_strlen/.
s/strcat/ft_strcat/.
s/strcpy/ft_strcpy/.
* src/gzip/zutil.h: s/memset/ft_memset/.
s/memcmp/ft_memcmp/.

* src/bdf/bdfdrivr.c (BDF_Face_Init), src/pcf/pcfdriver.c
(PCF_Face_Init): Test for charset registry case-insensitively.

* t1load.c (parse_blend_axis_types): Fix compiler warning.

* descrip.mms: Removed. Now created by...

* vms_make.com: New file.
/external/freetype/src/base/ftobjs.c
77c34b826439a975f7ce804a4913f05246876abb 21-May-2003 Werner Lemberg <wl@gnu.org> * t1load.c (parse_blend_axis_types): Fix compiler warning.

* src/gzip/ftgzip.c (ft_gzip_file_io): Avoid zero value of `delta'
to prevent infinite loop.

* docs/VERSION.DLL: Provide better autoconf snippet to check
FreeType version.

* src/base/ftobjs.c (open_face): Free `internal' not
`face->internal' in case of error to avoid possible segfault.

* src/pshinter/pshalgo3.c (ps3_hints_apply): Check whether we
actually have an outline.
/external/freetype/src/base/ftobjs.c
c98501b042d7dc3e36637f07e6d96d40bb17f71a 19-May-2003 Werner Lemberg <wl@gnu.org> Add comment to #ifdef section in #ifndef.
/external/freetype/src/base/ftobjs.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/base/ftobjs.c
2cba64d30d737334992931eae38beabaf6ea0e08 28-Apr-2003 Werner Lemberg <wl@gnu.org> * src/base/ftobjs.c (FT_Load_Glyph): Fix boundary check for
`glyph_index'.
/external/freetype/src/base/ftobjs.c
428c2e4f62abb2c7f158f7f0da43d82f848db30d 25-Apr-2003 Werner Lemberg <wl@gnu.org> * src/bdf/bdflib.c (hash_bucket, hash_lookup): Use `const' for first
argument.
(bdf_get_font_property): Use `const' for third argument.
Updated all callers.
* src/bdf/bdfdrivr.c (BDF_Face_Init): Set pixel width and height
similar to the PCF driver.
* src/bdf/bdf.h (_hashnode): Use `const' for `key'.
Updated.

* src/gzip/ftgzip.c: C++ doesn't like that the array `inflate_mask'
is declared twice. It is perhaps better to modify the zlip source
files directly instead of this hack.
(zcalloc, zfree, ft_gzip_stream_close, ft_gzip_stream_io): Add casts
to make build with g++ successful.
/external/freetype/src/base/ftobjs.c
319c00d7d6cb46b8abd4e64d5afcca619088fed9 23-Apr-2003 Werner Lemberg <wl@gnu.org> Fixing bugs reported by Nelson Beebe.

* src/base/ftstroker.c (FT_Stroker_ParseOutline): Remove unused
variable `in_path'.

* src/base/ftobjs (ft_glyphslot_set_bitmap): Change type of
second argument to `FT_Byte*'.
* include/freetype/internal/ftobjs.h: Updated.

* src/bdf/bdflib.c (_bdf_readstream): Remove unused variable `res'.
(_bdf_parse_glyphs): Remove unused variable `next'.
Mark `call_data' as unused.

* src/cache/ftlru.c (FT_LruList_Lookup): Remove unused variable
`plast'.

* src/pcf/pcfread.c (pcf_seek_to_table_type): Slight recoding to
actually use `error'.
(pcf_load_font): Remove unused variable `avgw'.

* src/pfr/pfrobjs.c (pfr_face_get_kerning): Change return type
to `void'.
Mark `error' as unused.
* src/pfr/pfrobjs.h: Updated.
* src/pfr/pfrdrivr.c (pfr_get_kerning): Updated.

* src/sfnt/ttload.c (sfnt_dir_check): Remove unused variable
`format_tag'.

* src/sfnt/ttcmap0.c (tt_cmap6_validate, tt_cmap10_validate): Remove
unused variable `start'.
(tt_cmap10_char_next): Remove unused variable `result'

* src/sfnt/sfobjs.c (tt_face_get_name): Mark `error' as unused.

* src/sfnt/sfdriver.c (get_sfnt_postscript_name): Mark `error' as
unused.

* src/type1/t1objs.c (T1_Face_Init): Remove unused variable
`pshinter'.

* src/type1/t1gload.c (T1_Load_Glyph): Use `glyph_data_loaded'
only for FT_CONFIG_OPTION_INCREMENTAL.
/external/freetype/src/base/ftobjs.c
c8c6bf5c633cb1fb44526ff96b43b5db69e382ec 23-Apr-2003 Werner Lemberg <wl@gnu.org> Cleanups; adding some copyrights; formatting.
/external/freetype/src/base/ftobjs.c
5158fbc03d99ef6fd699b453206cdda3205b7d34 27-Mar-2003 David Turner <david@freetype.org> * README: udpated

* README.UNX: removed (now replaced by docs/INSTALL.UNX)

* src/pshinter/pshalgo3.c: the hinter now performs as in 2.1.3 and
will ignore stem quantization only when FT_LOAD_TARGET_SMOOTH is used

* src/base/ftobjs.c: changed the default computations to include rounding
in all cases, this is required to provide accurate kerning data when
native TrueType hinting is enabled.

* src/type1/t1load.c: the Type 1 loader now accepts more general names
according to the Postscript spec (the previous one was too restrictive)
/external/freetype/src/base/ftobjs.c
66cbc209785593cc6080389fac3f0ae5f7b46b6b 20-Mar-2003 David Turner <david@freetype.org> * docs/*: serious rewriting of the documentation

* include/freetype/internal/ftobjs.h, src/base/ftobjs.c, src/bdf/bdfdrivr.c,
src/pcf/pcfdriver.c, src/pfr/pfrsbit.c, src/sfnt/ttsbit.c,
src/type42/t42objs.c, src/winfonts/winfnt.c: introduced three new functions
to deal with glyph bitmaps within FT_GlyphSlot objects. these are:

ft_glyphslot_free_bitmap
ft_glyphslot_alloc_bitmap
ft_glyphslot_set_bitmap

these are much more convenient to use than managing the FT_GLYPH_OWN_BITMAP
flag manually. the font drivers have been modified to use them as well.

* src/cache/ftlru.c: fixed an invalid assertion check
/external/freetype/src/base/ftobjs.c
ae26c684db915db4f2dbb7892b03287ebad141b9 25-Feb-2003 David Turner <david@freetype.org> * src/cache/ftccmap.c: the cmap cache now supports UCS-4 charmaps
when available in Asian fonts

* src/sfnt/ttload.c, src/base/ftobjs.c: changed "asian" to "Asian" in
comments

* src/truetype/ttdriver.c (Set_Char_Sizes): fixed a rounding bug when
computing the scale factors for a given character size in points with
resolution.
/external/freetype/src/base/ftobjs.c
ba4511b807de4c55b6c77281160f9ad30a49e540 18-Feb-2003 David Turner <david@freetype.org> * src/truetype/ttdriver.c, src/truetype/ttobjs.h, src/truetype/ttobjs.c,
src/truetype/ttinterp.c, src/base/ftobjs.c: fixing the slight distortion
problem that occured due to the latest auto-hinter changes
/external/freetype/src/base/ftobjs.c
4bdf4350f258c1de66e4afccdc746c18f896ba16 31-Jan-2003 David Turner <david@freetype.org> various improvements for 2.1.4. see ChangeLog, I've got problems with
copy & paste on my desktop !!
/external/freetype/src/base/ftobjs.c
6453a819e89b8c3378b037f92b6801d0ec32c5c3 08-Jan-2003 David Turner <david@freetype.org> * src/base/ftobjs.c (find_unicode_charmap): fixed the error code
returned when the font doesn't contain a Unicode charmap. This
allows FT2 to load "symbol.ttf" and a few others correctly since
the last release
/external/freetype/src/base/ftobjs.c
c528f6fa4100c13a662e2d2a6d6951e24daf14cf 18-Dec-2002 David Turner <david@freetype.org> * src/base/ftobjs.c (find_unicode_charmap): added some comments to
better explain what's happening there

* src/base/ftobjs.c (open_face): included Graham Asher's fix to
prevent faces without Unicode charmaps from loading
/external/freetype/src/base/ftobjs.c
621e4886223a6528fee553f6618ed1c22297ad19 16-Dec-2002 David Turner <david@freetype.org> 2002-12-16 David Turner <david@freetype.org>

* docs/VERSION.DLL: updating document to better explain the differences between
the three version numbers being used on Unix, as well as provide the AutoConf
fragment provided by Lars Clausen

* src/smooth/ftgrays.c (gray_render_conic): fixed small bug that
prevented bezier arcs with negative vertical coordinates to be rendered
appropriately


2002-11-27 Vincent Caron <v.caron@zerodeux.net>

* builds/unix/unix-def.in, builds/unix/freetype-config.in,
builds/unix/configure.ac, src/gzip/rules.mk, src/gzip/ftgzip.c:
adding support for system zlib installations when available on the
target platform (Unix only)
/external/freetype/src/base/ftobjs.c
c96f69dfaa57af0bd3e5d1f5dd030af69779f820 03-Dec-2002 Antoine Leca <antoine-freetype@leca-marti.org> * src/base/ftobjs.c: modified the logic to get Unicode charmaps.
Now it loads UCS-4 charmaps when there is one.
* src/base/ftobjs.c (find_unicode_charmap): new function.
* src/base/ftobjs.c (open_face): refer to the above one.
* src/base/ftobjs.c (FT_Select_Charmap): idem.
/external/freetype/src/base/ftobjs.c
3249c62523c167e83074cf53bccac4edfd8d8511 31-Oct-2002 David Turner <david@freetype.org> * include/freetype/internal/internal.h, include/freetype/ftpfr.h,
src/base/ftpfr.c, src/base/Jamfile, src/descrip.mms, src/rules.mk,
src/pfr/pfrdrivr.c, src/pfr/pfrobjs.c, src/pfr/pfsobjs.h:

added PFR-specific public API. Fixed the kerning retrievel routine
(it returned invalid values when the outline and metrics resolution
differ)

* src/base/ftsynth.c: fixed the synthetic emboldener. at last.

* src/base/ftobjs.c: small internal fix to better support
bitmap-based font formats
/external/freetype/src/base/ftobjs.c
eacb9306c03ad97053865eadb07fb9ae709951c0 07-Oct-2002 Werner Lemberg <wl@gnu.org> Formatting; adding file headers.
/external/freetype/src/base/ftobjs.c
c4c373cee51dd2b81cc3a2fcf923e2a029197b5a 07-Oct-2002 Werner Lemberg <wl@gnu.org> * include/freetype/freetype.h (FT_Open_Face): Use `const' for `args'
(suggested by Graham).
* src/base/ftobjs.c (FT_Open_Face): Updated.
(ft_input_stream_new): Ditto.
/external/freetype/src/base/ftobjs.c
80171e06dd1ee8790c0a37874e671eeeb1395a91 05-Oct-2002 David Turner <david@freetype.org> * src/pfr/pfrsbit.h, src/pfr/pfrsbit.c, src/pfr/pfrload.c,
src/pfr/pfrgload.c, src/pfr/pfrobjs.c, src/pfr/pfrtypes.h,
Jamfile, src/base/ftobjs.c: adding support for embedded bitmaps to
the PFR driver, and rewriting its kerning loader / handler to use all
kerning pairs in a physical font (and not just the first item).

* src/tools/docmaker/content.py, src/tools/docmaker/sources.py,
src/tools/docmaker/tohtml.py: fixing a few nasty bugs

* src/sfnt/ttcmap0.c: the validator for format 4 sub-tables is
now capable of dealing with invalid "length" fields at the start
of the sub-table. This allows fonts like "mg______.ttf" (i.e.
Marriage) to return accurate charmaps.
/external/freetype/src/base/ftobjs.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/base/ftobjs.c
d48575ee3a2b04f75a92f4f4b79f977490fb6ac4 19-Sep-2002 David Turner <david@freetype.org> * src/base/ftobjs.c (FT_Library_Version): bugfix
/external/freetype/src/base/ftobjs.c
00d9f40cf7ec068286792eb352971cd7ed53fc73 08-Sep-2002 David Turner <david@freetype.org> * src/smooth/ftsmooth.c, src/base/ftobjs.c,
include/freetype/config/ftmodule.h: updated to correctly support
sub-pixel rendering

* include/freetype/cache/ftcimage.h, include/freetype/cache/ftcsbits.h,
src/cache/ftcimage.c, src/cache/ftcsbit.c: updated to support sub-pixel
rendering correctly. Definition of FTC_ImageTypeRec that replaces the
obsolete FTC_ImageDesc, and has slightly different fields. The
image type is now determined directly by "load_flags" values.

* src/autohint/ahtypes.h, src/autohint/ahhint.c,
src/pshinter/pshalgo3.c, src/pshinter/pshalgo3.h: various enhancements
to the automatic and Postscript hinters !! and sub-pixel hinting now
works correctly (see demo programs)
/external/freetype/src/base/ftobjs.c
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/src/base/ftobjs.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/base/ftobjs.c
21f433cec9c148300db7c1665531320f30eac510 22-Aug-2002 David Turner <david@freetype.org> * src/pshinter/pshalgo3.c, src/base/ftobjs.c, src/base/ftobject.c,
src/autohint/ahglyph.c, include/freetype/freetype.h: fixing typos
and removing compiler warnings
/external/freetype/src/base/ftobjs.c
f467e6a93f8caa6c7ef997ef328ba92d7c7ac009 21-Aug-2002 David Turner <david@freetype.org> * include/freetype/freetype.h, src/base/ftobjs.c: changing the type
of the "load_flags" parameter of FT_Load_Glyph and FT_Load_Char from
"FT_Int" to "FT_Int32", this in order to support more options.

this should only break binary and/or source compatibility on
16-bit platforms (Atari?)
/external/freetype/src/base/ftobjs.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/base/ftobjs.c
ce12182cfc612a5de6b073197f3f3fa60ca98fa8 01-Aug-2002 Graham Asher <graham.asher@btinternet.com> Modified incremental loading interface to be closer to David Turner's
preferences. The header freetype.h is not now affected, the interface is
specified via an FT_Parameter, the pointer to the interface is hidden in an
internal part of the face record, and all the definitions are in ftincrem.h.
/external/freetype/src/base/ftobjs.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/base/ftobjs.c
7f74a52a210fc20a8fcc0f8160ce92dfe0f84c48 26-Jul-2002 Werner Lemberg <wl@gnu.org> Fixing ChangeLog entries.
Some formatting.

* src/truetype/ttgload.c (load_truetype_glyph)
[FT_CONFIG_OPTION_INCREMENTAL]: s/memset/ft_memset/.

* src/autohint/ahhint.c (ah_hint_edges_3): Fix compiler warning.
* src/cff/cffload.c (cff_encoding_load): Remove `memory' variable.
* src/cff/cffcmap.c (cff_cmap_encoding_init): Remove `psnames'
variable.
* src/truetype/ttgload.c (load_truetype_glyph): Remove statement
without effect.
* src/truetype/ttdriver (Get_Char_Index, Get_Next_Char): Removed.
/external/freetype/src/base/ftobjs.c
d53cf1df31fa7ca41f87645d25517b05a1111eb3 18-Jul-2002 Graham Asher <graham.asher@btinternet.com> Added incremental loading capability to FT_Open_Face.
Not implemented for any drivers yet.
/external/freetype/src/base/ftobjs.c
fed59b7cc2294cb4020993a9761d1abc9bfdd6f2 18-Jul-2002 David Turner <david@freetype.org> * src/sfnt/ttload.c (TT_Load_SFNT_Header): fixed a recent bug that prevented
OpenType fonts to be recognized by FreeType
/external/freetype/src/base/ftobjs.c
3e19d85dd46eed324791e4aa6fb4c97d76385c0e 17-Jul-2002 David Turner <david@freetype.org> * include/freetype/config/ftoption.h, include/freetype/internal/tttypes.h,
src/base/ftobjs.c, src/bdf/bdfdrivr.c, src/cff/cffobjs.c,
src/pcf/pcfdrivr.c, src/sfnt/sfobjs.c, src/sfnt/ttcmap0.c,
src/sfnt/ttcmap0.h, src/sfnt/ttload.c, src/type1/t1objs.c,
src/type42/t42objs.c, src/winfonts/winfnt.c: code cleanup,
FT_CONFIG_OPTION_USE_CMAPS is now the default
/external/freetype/src/base/ftobjs.c
27c322e9835b8fec7e5f65a012f56e1c64fc9879 09-Jul-2002 David Turner <david@freetype.org> * include/freetype/freetype.h, src/base/ftobjs.h,
freetype/internal/ftobjs.h, freetype/internal/psaux.h,
freetype/internal/pshints.h, src/psaux/t1decode.c, src/cff/cffgload.h,
src/cff/cffgload.c, src/pshinter/pshalgo1.h, src/pshinter/pshalgo1.c,
src/pshinter/pshalgo2.h, src/pshinter/pshalgo2.c, src/pshinter/pshalgo3.h,
src/pshinter/pshalgo3.c: Adding support for hinter-specific bit flags,
and the new FT_Set_Hint_Flags high-level API
/external/freetype/src/base/ftobjs.c
fd97d137e0eb0992ca8145edf21d852548573f92 16-Jun-2002 Werner Lemberg <wl@gnu.org> Fix glyph indices to make index zero always the undefined glyph.

* src/bdf/bdfdrivr.c (bdf_cmap_init): Don't decrease
cmap->num_encodings.
(bdf_cmap_char_index, bdf_cmap_char_next, BDF_Get_Char_Index):
Increase result by 1 for normal cases.
(BDF_Glyph_Load): Decrease index by 1.

* src/pcf/pcfdriver.c (pcf_cmap_char_index, pcf_cmap_char_next,
PCF_Char_Get_Index): Increase result by 1 for normal cases.
(PCF_Glyph_Load): Decrease index by 1.
* src/pcf/pcfread.c (pcf_get_encodings): Don't decrease j for
allocating `encoding'.

* src/base/ftobjs.c (FT_Load_Glyph, FT_Get_Glyph_Name): Fix
bounding tests.
/external/freetype/src/base/ftobjs.c
25a6e3a1677aadd56b8c000f0b9d00f22d3c95f1 11-Jun-2002 David Turner <david@freetype.org> * include/freetype/internal/ftobjs.h, src/autohint/ahglyph.c,
src/base/ftobjs.c, src/objs/fttype1.c, src/sfnt/ttcmap0.c,
src/smooth/ftgrays.c: changed uses of "setjmp" and "longjmp"
to "ft_setjmp" and "ft_lonjmp". Removed direct references to
<stdio.h> and <setjmp.h> when appropriate, to eventually replace
them with a FT_CONFIG_STANDARD_LIBRARY_H. Useful for the XFree86
Font Server backend based on FT2.
/external/freetype/src/base/ftobjs.c
7504e48eaa5ceb61159d10d0c2ebbb64986c0a3f 07-Jun-2002 David Turner <david@freetype.org> * src/base/ftobjs.c (FT_Render_Glyph_Internal): changed definition
from FT_EXPORT_DEF to FT_BASE_DEF
/external/freetype/src/base/ftobjs.c
4d631e447f614a96c4114d02cad07091d0434be9 27-May-2002 Werner Lemberg <wl@gnu.org> Fix comment.
/external/freetype/src/base/ftobjs.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/base/ftobjs.c
f57496089916eb83c049091210ce3249548cce81 18-Apr-2002 David Turner <david@freetype.org> * src/base/ftobjs.c, builds/win32/ftdebug.c,
builds/amiga/src/base/ftdebug.c :

2.1.0 couldn't be linked against applications in Win32 and
Amiga builds due to changes to "src/base/ftdebug.c" that
were not properly propagated to "builds/win32" and
"builds/amiga"..

this has been fixed. We'll probably make 2.1.1 real
soon now..


* include/freetype/internal/ftobject.h,
include/freetype/internal/ftexcept.h,
include/freetype/ftsysmem.h,
include/freetype/ftsysio.h,
src/base/ftsysmem.c,
src/base/ftsysio.c:

adding new experimental files for 2.1.1 (or 2.1.2)
/external/freetype/src/base/ftobjs.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/base/ftobjs.c
f8ba2005ab6f35ad5cda250dfc6105101a10acb4 30-Mar-2002 Werner Lemberg <wl@gnu.org> * include/freetype/t1tables.h (t1_blend_max): Fix typo.
* src/base/ftstream.c: Simplify FT_ERROR calls.

formatting, copyright update
/external/freetype/src/base/ftobjs.c
2ded2c1d30f8294b1b8215013fee4112d182ebf3 22-Mar-2002 David Turner <david@freetype.org> * src/base/ftobjs.c, src/sfnt/ttcmap0.c, src/type1/t1objs.c:

various fixes to make the FT_CMaps support work correctly
(more tests are still needed)
/external/freetype/src/base/ftobjs.c
ed54f28e4ac2ff2ed0016fe8b2d0f5d7b4689ef3 22-Mar-2002 David Turner <david@freetype.org> various fixes to the FT_CMaps support
/external/freetype/src/base/ftobjs.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/base/ftobjs.c
e2f4e52ac8a8bf0f806a69e8b1081d45d027cee7 21-Mar-2002 David Turner <david@freetype.org> * src/base/ftobjs.c (FT_Get_Next_Char): updated to new FT_CMap
definitions
/external/freetype/src/base/ftobjs.c
7d3a26425b35c1b037646667c2889260cae84b21 20-Mar-2002 David Turner <david@freetype.org> * renaming stream macros. Examples:

FILE_Skip => FT_STREAM_SKIP
FILE_Read => FT_STREAM_READ
ACCESS_Frame => FT_FRAME_ENTER
FORGET_Frame => FT_FRAME_EXIT
etc...
/external/freetype/src/base/ftobjs.c
b93b0f5f7d396746b9a9e2b9916d9a0289974ebc 14-Mar-2002 David Turner <david@freetype.org> * include/freetype/internal/ftobjs.h,
src/base/ftapi.c, src/base/ftobjs.c: updated a few face method
definitions:

FT_PSName_Requester => FT_Face_GetPostscriptNameFunc
FT_Glyph_Name_Requester => FT_Face_GetGlyphNameFunc
FT_Name_Index_Requester => FT_Face_GetGlyphNameIndexFunc
/external/freetype/src/base/ftobjs.c
ef3c12650edd2dfa462f661596f3f62843846c1c 14-Mar-2002 David Turner <david@freetype.org> * include/freetype/internal/ftdriver.h,
include/freetype/internal/ftobjs.h,
src/base/ftapi.c, src/base/ftobjs.c,
src/cff/cffdrivr.c, src/cff/cffdrivr.h,
src/cid/cidriver.c, src/cid/cidriver.h,
src/pcf/pcfdriver.c, src/pcf/pcfdriver.h,
src/truetype/ttdriver.c, src/truetype/ttdriver.h,
src/type1/t1driver.c, src/type1/t1driver.h,
src/winfonts/winfnt.c, src/winfonts/winfnt.h:
updating the type definitions for font font drivers
/external/freetype/src/base/ftobjs.c
9657ef0598f29d50344956e6c7e2923ad9137bd3 14-Mar-2002 David Turner <david@freetype.org> * include/freetype/internal/autohint.h, src/autohint/ahmodule.c,
src/base/ftapi.c, src/base/ftobjs.c: updating the type definitions for
the auto-hinter module.

(i.e. FT_AutoHinter_Interface => FT_AutoHinter_ServiceRec,
FT_AutoHinter_Interface* => FT_AutoHinter_Service, etc..)
/external/freetype/src/base/ftobjs.c
83b4a4b5157089bc293d512a19013ab43c0b27bc 06-Mar-2002 David Turner <david@freetype.org> * include/freetype/freetype.h, include/freetype/internal/ftobjs.h,
src/base/ftobjs.c, src/base/ftinit.c: adding the new FT_Library_Version
API to return the library's current version in dynamic links.
/external/freetype/src/base/ftobjs.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/base/ftobjs.c
041889e763fa84eee20f15ef850fccc790294b67 28-Feb-2002 David Turner <david@freetype.org> * include/freetype/freetype.h: changing version to 2.1.0 to indicate
an unstable branch. Added the declarations of FT_Get_First_Char and
FT_Get_Next_Char

* src/base/ftobjs.c: implemented FT_Get_First_Char and FT_Get_Next_Char
/external/freetype/src/base/ftobjs.c
4e7eeeec7b24ac1b9f6f84e2f4a5b2ea3bce5fe7 28-Feb-2002 David Turner <david@freetype.org> yet another logical transformation of the internals to make them
more consistent and understandable..

mainly, changing things like PS_Table => PS_TableRec + *PS_Table
/external/freetype/src/base/ftobjs.c
53b3fa1da5e3397388f3483ccc95910eca4a419d 24-Feb-2002 David Turner <david@freetype.org> * renaming stream functions to the FT_Subject_Action scheme:

FT_Seek_Stream => FT_Stream_Seek
FT_Skip_Stream => FT_Stream_Skip
FT_Read_Stream => FT_Stream_Read
FT_Read_Stream_At => FT_Stream_Read_At
FT_Access_Frame => FT_Stream_Enter_Frame
FT_Forget_Frame => FT_Stream_Exit_Frame
FT_Extract_Frame => FT_Stream_Extract_Frame
FT_Release_Frame => FT_Stream_Release_Frame
FT_Get_XXXX => FT_Stream_Get_XXXX
FT_Read_XXXX => FT_Stream_Read_XXXX

note also that:

FT_New_Stream( filename, stream ) =>
FT_Stream_Open( stream, filename )

(the function doesn't create the FT_Stream structure, it simply
initializes it for reading)

FT_New_Memory_Stream( library, FT_Byte* base, size, stream ) =>
FT_Stream_Open_Memory( stream, const FT_Byte* base, size )

FT_Done_Stream => FT_Stream_Close

note that the name of the stream methods, defined in
"include/freetype/ftsystem.h" have also been changed without
problems:

FT_Stream_IO => FT_Stream_IOFunc
FT_Stream_Close => FT_Stream_CloseFunc
/external/freetype/src/base/ftobjs.c
4d57024d1c861443a981de6d7388548928349eee 24-Feb-2002 David Turner <david@freetype.org> * moving all code related to glyph loaders to "internal/ftgloadr.h"
and "src/base/ftgloadr.c".

Note also that the type "FT_GlyphLoader" is now a pointer to the
structure "FT_GlyphLoaderRec"..
/external/freetype/src/base/ftobjs.c
4a23351091dd3a445e9cf208f4a8644e0a0b7fcd 24-Feb-2002 David Turner <david@freetype.org> renaming "ft_glyph_own_bitmap" into "FT_GLYPH_OWN_BITMAP"
/external/freetype/src/base/ftobjs.c
222cec8c201dfb93aae9e167ead620ea5065cd7b 21-Feb-2002 David Turner <david@freetype.org> * include/freetype/internal/ftdebug.h, src/base/ftdebug.c: modified
the debug sub-system initialization. trace levels can now be specified
within the "FT2_DEBUG" environment variable. See the comments within
"ftdebug.c" for more details

* include/freetype/internal/fttrace.h: new file to define the trace
levels used for debugging. it is used both to define enums and
toggle names for FT2_DEBUG

* src/base/ftobjs.c, src/base/ftstream.c: FT_Assert renamed to
FT_ASSERT

* include/freetype/internal/ftextend.h, src/base/ftextend.c,
src/base/Jamfile, src/base/rules.mk: removing "ftextend" from the
library, since it is now completely obsolete..
/external/freetype/src/base/ftobjs.c
0f7c2f1aa58c2251d6c1a3f388a50bfa97cb097f 04-Feb-2002 Werner Lemberg <wl@gnu.org> Adding the function `FT_Get_Next_Char', doing the obvious thing
w.r.t. the selected charmap.

* include/freetype/freetype.h: Add prototype.
* include/freetype/internal/ftdriver.h: Add `FTDriver_getNextChar'
typedef.
(FT_Driver_Class): Use it.
* include/freetype/internal/psnames.h: Add `PS_Next_Unicode_Func'
typedef.
(PSNames_Interface): Use it.
* include/freetype/internal/tttypes.h: Add `TT_CharNext_Func'
typedef.
(TT_CMapTable): Use it.

* src/base/ftobjs.c (FT_Get_Next_Char): New function, implementing
high-level API.
* src/cff/cffdrivr.c (cff_get_next_char): New function.
(cff_driver_class): Add it.
* src/cid/cidriver.c (Cid_Get_Next_Char): New function.
(t1cid_driver_class): Add it.
* src/pcf/pcfdriver.c (PCF_Get_Next_Char): New function.
(pcf_driver_class): Add it.
* src/psnames/psmodule.c (PS_Next_Unicode): New function.
(psnames_interface): Add it.
* src/sfnt/ttcmap.c (code_to_next0, code_to_next2, code_to_next4,
code_to_next6, code_to_next_8_12, code_to_next_10): New auxiliary
functions.
(TT_CharMap_Load): Use them.
* src/truetype/ttdriver.c (Get_Next_Char): New function.
(tt_driver_class): Add it.
* src/type1/t1driver.c (Get_Next_Char): New function.
(t1_driver_class): Add it.
* src/winfnt/winfnt.c (FNT_Get_Next_Char): New function.
(winfnt_driver_class): Add it.

* src/pcf/pcfread.c (pcf_load_font): For now, report Unicode for
Unicode and Latin 1 encodings.
/external/freetype/src/base/ftobjs.c
f86709a15b61ab6049d6ee3d2526d5880818a868 07-Jan-2002 David Turner <david@freetype.org> * src/base/ftobjs.c, src/base/ftoutln.c, src/cache/ftccmap.c,
src/cff/cffload.c, src/cff/cffobjs.c, src/pshinter/pshalgo2.c,
src/sfnt/ttload.c, src/sfnt/ttsbit.c: removing small compiler
warnings (in pedantic compilation modes)
/external/freetype/src/base/ftobjs.c
7fe38a5124a00ed262c8388488332c611cefe156 04-Jan-2002 David Turner <david@freetype.org> remove compiler warnings and a typo in builds/unix/ftsystem.c
/external/freetype/src/base/ftobjs.c
1a0a97938a5d816ef492f8b6de14f2c7add54ef1 03-Jan-2002 Werner Lemberg <wl@gnu.org> * src/type1/t1objs.c (T1_Face_Init): Add cast to avoid compiler
warning.
/external/freetype/src/base/ftobjs.c
662b344c23125a19abcd503c267699afeeabdf7d 03-Jan-2002 David Turner <david@freetype.org> * src/type1/t1objs.c (T1_Face_Init): fixed a bug that crashed the
library when dealing with certain weird fonts (like "Stalingrad",
in "sadn.pfb". This font has no full font name entry.. )

* src/base/ftoutln.c, include/freetype/ftoutln.h: added the
FT_Outline_Check API to check the consistency of outline data

* src/base/ftobjs.c (FT_Load_Glyph): added a call to the new
FT_Outline_Check to ensure that loaded glyphs are valid. This
allows certain fonts like "tt1095m_.ttf" to be loaded even though
it appears they contain really funky glyphs..

there still is a bug there though.. !!
/external/freetype/src/base/ftobjs.c
f41e71a199011bb01a42c83fb29429d77167b969 20-Dec-2001 Werner Lemberg <wl@gnu.org> * src/base/ftobjs.c (FT_Done_Library): Remove compiler warning.

Formatting.
/external/freetype/src/base/ftobjs.c
c8087481dffcffc4a09e28d106aa16190f7cee90 20-Dec-2001 David Turner <david@freetype.org> * docs/TODO: added "stem3 and counter hints support" to the TODO list
for the Postscript hinter

* docs/BUGS: closed the AUTOHINT-NO-SBITS bug.

* src/pshinter/pshrec.c (t2_hint_stems), src/cff/cffobjs.h,
src/cff/cffobjs.c, src/cff/cffload.c, src/cff/cffload.h,
src/cff/cffgload.c, src/cff/cffgload.h, src/cff/cffdriver.c,
include/freetype/internal/cfftypes.h: added Postscript hinter support
to the CFF driver

* src/base/ftobjs.c (FT_Done_Library): fixed a stupid bug that crashed
the library on exit
/external/freetype/src/base/ftobjs.c
0d535112fdc7d425a3b8562fd2574246a69cc35f 19-Dec-2001 Werner Lemberg <wl@gnu.org> Formatting.
CFF encoding tables moved back from cffload.c to cffload.h.
/external/freetype/src/base/ftobjs.c
4937a3ebd2c77ece7796b312eb3814ce1b18b03b 19-Dec-2001 David Turner <david@freetype.org> * src/truetype/ttgload.c (TT_Load_Glyph), src/base/ftobjs.c
(FT_Load_Glyph): "fixed" the bug that prevented embedded bitmaps from
begin loaded when the auto-hinter is used.. This actually is a hack
but will be enough until the internal re-design scheduled for
FreeType 2.1
/external/freetype/src/base/ftobjs.c
aef3fc816b4900a2cb9119e1dcbed339ef5c1590 17-Dec-2001 Werner Lemberg <wl@gnu.org> * src/truetype/ttgload.c (load_truetype_glyph): Fix test for invalid
glyph header.
/external/freetype/src/base/ftobjs.c
c8ad30a7a020966e2b4ea22465b00817330b607e 05-Dec-2001 David Turner <david@freetype.org> * src/base/ftglyph.c (FT_Glyph_To_Bitmap): re-ordered code for debugging
purposes..


* src/smooth/ftsmooth.c (ft_smooth_render): fixed a nasty hidden bug where
outline shifting wasn't correctly undone after bitmap rasterization. this
created problems with certain glyphs (like '"' of certain fonts..) and
the cache system..
/external/freetype/src/base/ftobjs.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/base/ftobjs.c
a1471038bd7ce7d35108777a1e32ac1a0e99b5b9 18-Oct-2001 David Turner <david@freetype.org> fixing a "bug" that affected the Postscript hinter: growing a memory block
though "realloc" didn't clear the new bytes of memory..
/external/freetype/src/base/ftobjs.c
23bcde193e64dfae54a1c51dacad2a86d7a5f028 17-Oct-2001 David Turner <david@freetype.org> implementing a new function named "FT_Get_Postscript_Name" to
retrieve a face's "unique" Postscript name
/external/freetype/src/base/ftobjs.c
80b8d77024768b6cc5921173d963c01207818106 10-Oct-2001 Werner Lemberg <wl@gnu.org> Fixed a bug in `glnames.py' that prevented it from generating
correct glyph names tables. This resulted in the unavailability of
certain glyphs like `Cacute', `cacute' and `lslash' in Unicode
charmaps, even if these were present in the font (causing problems
for Polish users).

* src/tools/glnames.py (mac_standard_names): Fixed.
(t1_standard_strings): Some fixes and renamed to ...
(sid_standard_names): This.
(t1_expert_encoding): Fixed.
(the_adobe_glyph_list): Renamed to ...
(adobe_glyph_names): This.
(the_adobe_glyphs): Renamed to ...
(adobe_glyph_values): This.
(dump_mac_indices, dump_glyph_list, dump_unicode_values, main):
Updated.
* src/psnames/pstables.h: Regenerated.
* src/psnames/psmodule.c (PS_Unicode_Value): Fix offset.
Fix return value.
Use `sid_standard_table' and `ps_names_to_unicode' instead of
`t1_standard_glyphs' and `names_to_unicode'.
(PS_Macintosh_Name): Use `ps_glyph_names' instead of
`standard_glyph_names'.
(PS_Standard_Strings): Use `sid_standard_names' instead of
`t1_standard_glyphs'.
* doc/BUGS, doc/TODO: New documents.
* src/cache/ftlru.c (FT_Lru_Lookup_Node): Fixed a bug that prevented
correct LRU behaviour.
setjmp() and longjmp() are now used for rollback (i.e. when memory
pool overflow occurs).
Function names are now all uniformly prefixed with `gray_'.

* src/smooth/ftgrays.c: Include <setjmp.h>.
(ErrRaster_MemoryOverflow): New macro.
(TArea): New type to store area values in each cell (using `int' was
too small on 16-bit systems). <limits.h> is included to properly
get the needed data type.
(TCell, TRaster): Use it.
(TRaster): New element `jump_buffer'.
(gray_compute_cbox): Use `RAS_ARG' as the only parameter and get
`outline' from it.
(gray_record_cell): Use longjmp().
(gray_set_cell): Use gray_record_cell() for error handling.
(gray_render_line, gray_render_conic, gray_render_cubic): Simplify.
(gray_convert_glyph_inner): New function, using setjmp().
(gray_convert_glyph): Use it.


Provide a public API to manage multiple size objects for a given
FT_Face in the new header file `ftsizes.h'.

* include/freetype/ftsizes.h: New header file,
* include/freetype/internal/ftobjs.h: Use it.
Remove declarations of FT_New_Size and FT_Done_Size (moved to
ftsizes.h).
* include/freetype/config/ftheader.h (FT_SIZES_H): New macro.
* src/base/ftobjs.c (FT_Activate_Size): New function.
* src/cache/ftcmanag.c: Include ftsizes.h.
(ftc_manager_init_size, ftc_manager_flush_size): Use
FT_Activate_Size.
/external/freetype/src/base/ftobjs.c
b3ba40ddfdcbce66a95e93257b07d4a991c556c2 07-Oct-2001 David Turner <david@freetype.org> * include/freetype/ftsizes.h, src/base/ftobjs.c, src/cache/ftcmanag.c:
added a new header, named "ftsizes.h" (FT_SIZES_H) to provide a public
API to manage multiple size objects for a given FT_Face.
/external/freetype/src/base/ftobjs.c
5dea44438f74324403cb2974a5701cac7ceab32a 13-Aug-2001 Werner Lemberg <wl@gnu.org> Updating to OpenType 1.3.

* include/freetype/internal/tttypes.h (TT_CMap0, TT_CMap2, TT_CMap4,
TT_CMap6): Adding field `language'.
(TT_CMapTable): Removing field `language'.
Type of `length' field changed to FT_ULong.
Adding fields for cmaps format 8, 10, and 12.
(TT_CMapGroup): New auxiliary structure.
(TT_CMap8_12, TT_CMap10): New structures.
* include/freetype/tttables.h (TT_HoriHeader, TT_VertHeader):
Removed last element of `Reserved' array.
* include/freetype/ttnameid.h (TT_PLATFORM_CUSTOM, TT_MS_ID_UCS_4,
TT_NAME_ID_CID_FINDFONT_NAME): New macros.

* src/sfnt/ttcmap.c (TT_CharMap_Load): Updated loading of `language'
field to the new structures.
Fixed freeing of arrays in case of unsuccessful loads.
Added support for loading format 8, 10, and 12 cmaps.
(TT_CharMap_Free): Added support for freeing format 8, 10, and 12
cmaps.
(code_to_index4): Small improvement.
(code_to_index6): Ditto.
(code_to_index8_12, code_to_index10): New functions.
* src/sfnt/ttload.c (TT_Load_Metrics_Header): Updated to new
structure.
(TT_Load_CMap): Ditto.

* src/sfnt/sfobjs.c (tt_encodings): Add MS UCS4 table (before MS
Unicode).


* src/type1/t1driver.c (t1_get_name_index): Fix compiler warning.
/external/freetype/src/base/ftobjs.c
ff2714feca7e31b4ced901ad1eebc655dc64b67f 08-Aug-2001 Tom Kacvinsky <tom.kacvinsky@3ds.com> Added function FT_Get_Name_Index, used to return a glyph index for a
given glyph name only if the driver supports glyph names.
/external/freetype/src/base/ftobjs.c
415235df1b955940ce85401a076f882e8717ef7b 28-Jun-2001 Werner Lemberg <wl@gnu.org> finishing function header formatting

updating copyrights
/external/freetype/src/base/ftobjs.c
f814d0fafe344f1454b52e2d455c14b5fcea5b67 27-Jun-2001 Werner Lemberg <wl@gnu.org> First round in converting

type foo ( ... )

to

type
foo ( ... )

Other minor formatting issues.
/external/freetype/src/base/ftobjs.c
8eb0353fec1494ab7d9fe9bb91a5954449ab30c1 20-Jun-2001 Werner Lemberg <wl@gnu.org> Formatting.
/external/freetype/src/base/ftobjs.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/base/ftobjs.c
cf24d51531d41b1675753d39533c6ae562f8104b 18-Jun-2001 Werner Lemberg <wl@gnu.org> Minor cleanups to remove compiler warnings.

* include/freetype/cache/ftcmanag.h (FTC_MAX_BYTES_DEFAULT): Use
`L' for constant.
* include/freetype/config/ftoption.h (FT_RENDER_POOL_SIZE): Ditto.
* src/base/ftcalc.c (FT_MulDiv): Use `L' for constant.
* src/base/ftglyph.c (FT_Glyph_Get_CBox): Remove `error' variable.
* src/base/fttrigon.c (ft_trig_arctan_table): Use `L' for constants.
* src/base/ftobjs.c (FT_Done_Size): Fix return value.
(FT_Set_Char_Size, FT_Set_Pixel_Sizes, FT_Get_Kerning): Remove
unused `memory' variable.
* src/autohint/ahglyph.c (ah_get_orientation): Use `L' for constant.
* src/autohint/ahhint.c (ah_hint_edges_3,
ah_hinter_align_edge_points): Remove unused `before' and `after'
variables.
(ah_hinter_align_weak_points): Remove unused `edge_limit' variable.
(ah_hinter_load): Remove unused `new_advance', `start_contour',
and `metrics' variables.
* src/cff/cffload.c (CFF_Load_Encoding): Remove dead code to avoid
compiler warning.
* src/cff/cffobjs.c (CFF_Init_Face): Remove unused `base_offset'
variable.
* src/cff/cffgload.c (CFF_Parse_CharStrings): Remove unused
`outline' variable.
(cff_compute_bias): Use `U' for constant.
* src/cid/cidload.c (cid_decrypt): Ditto.
* src/psaux/psobjs.c (T1_Decrypt): Ditto.
* src/psaux/t1decode.c (T1_Decoder_Parse_CharStrings): Ditto.
* src/sfnt/ttload.c (TT_Load_Kern): Remove unused `version'
variable.
* src/sfnt/ttsbit.c (TT_Load_SBit_Image): Remove unused `top'
variable.
* src/truetype/ttgload.c (load_truetype_glyph): Remove unused
`num_contours' and `ins_offset' variables.
(compute_glyph_metrics): Remove unused `Top' and `x_scale'
variables.
(TT_Load_Glyph): Remove unused `memory' variable.
* src/smooth/ftgrays.c (grays_raster_render): Use `L' for constants.
/external/freetype/src/base/ftobjs.c
79860707146ac0d9ae0a9656d85fb9bfd4540b1e 08-Jun-2001 Werner Lemberg <wl@gnu.org> Increase `version_info' to 7:0:1.
Fixed a bug that returned an invalid linear width for composite
TrueType glyphs.
* include/internal/tttypes.h (TT_Loader_): Two new elements `linear'
and `linear_def'.
* src/truetype/ttgload.c (load_truetype_glyph,
compute_glyph_metrics): Use it.
* include/fttypes.h (FT_ERROR_BASE): New macro.
* src/base/ftobjs.c (FT_Open_Face, FT_Render_Glyph_Internal): Use it
to make source code work with the new error scheme implemented by
Werner.
* src/base/ftoutln.c (FT_Outline_Render): Ditto.
/external/freetype/src/base/ftobjs.c
57d4de0e51fd327d118bf8e23164f30ba5e31392 08-Jun-2001 David Turner <david@freetype.org> fixed a bug that returned an invalid linear width for composite
TrueType glyphs

fixed source code to work with the new error scheme implemented
by Werner
/external/freetype/src/base/ftobjs.c
557981262255d408ae790107d9ee3f8012651821 17-May-2001 Werner Lemberg <wl@gnu.org> formatting
/external/freetype/src/base/ftobjs.c
61d6b2b9aa6f639dac8cd75e1c1bc7dc9702b0bb 16-May-2001 David Turner <david@freetype.org> * src/truetype/ttgload.c (load_truetype_glyph): fixed a bug in the
composite loader spotted by Keith Packard.
/external/freetype/src/base/ftobjs.c
ebe85f59c9540a37ff72ffe8aba9c08b9d8b28ef 11-May-2001 David Turner <david@freetype.org> * include/freetype/fttrigon.h, src/base/fttrigon.c, src/base/ftbase.c,
src/base/Jamfile, src/base/rules.mk: adding trigonometric functions
to the core API (using Cordic algorithms).

* builds/top_level.mk, builds/newline, builds/detect.mk: fixed problems
with Make on Windows 2000, as well as problems when "make distclean" is
invoked on a non-Unix platform when there is no "config.mk" in the
current directory..

* builds/freetype.mk: fixed a problem with object deletions under
Dos/Windows/OS/2 systems

* src/tools: added new directory to hold tools and test programs
moved docmaker.py, glnames.py to it..

* src/tools/docmaker.py: improved the script to add the current date
at the footer of each web page (useful to distinguish between versions)

* Jamfile: fixed incorrect HDRMACRO argument.

* TODO: removed the cubic arc bbox computation note, since it has been
fixed recently..

* include/freetype/t1tables.h, include/freetype/config/ftoption.h:
formatting
/external/freetype/src/base/ftobjs.c
521a2d7a13afd210283a8e071b44a881ed9bc38f 20-Mar-2001 Werner Lemberg <wl@gnu.org> * builds/win32/detekt.mk: Fix .PHONY target for Intel compiler.

Renamed "ftnames.h" to "ftsnames.h", and FT_NAMES_H to
FT_SFNT_NAMES_H.
* docs/docmaker.py: Added generation of INDEX link in table of
contents.
* INSTALL, docs/BUILD: Updated documentation to indicate that the
compilation process has changed slightly (no more `src' required in
* 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 add its own directory to the include path at
compile time. Modified all "rules.mk" and "descrip.mms"
accordingly.

* src/cid/cidobjs.c, src/cid/cidload.c, src/pcf/pcfread.c,
src/type1/t1load.c, src/type1/t1objs.c: Added a few casts to remove
compiler warnings in pedantic modes.
* include/config/ft2build.h, include/config/ftheader.h: The file
top-level <ft2build.h>.

* include/config/ftheader.h: Added new section describing the #include
macros.


the Type 2 glyph charstring (used by conversion programs).
* docs/docmaker.py: Added cross-references generation as well as


seac emulation provided by the Type 2 endchar operator.


* src/cid/cidafm.c, src/cid/cidafm.h: removed un-needed files,
Added support for clipped direct rendering in the smooth renderer.


* src/cff/t2objs.c (T2_Init_Face): For pure CFF fonts, set
/external/freetype/src/base/ftobjs.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/base/ftobjs.c
cc069beb2d2b6b1cb9f9b9f2af2a7ea12780f634 08-Dec-2000 Werner Lemberg <wl@gnu.org> cleanups
/external/freetype/src/base/ftobjs.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/base/ftobjs.c
ada9503d2223cdc2c700e83d0fe92f5a1d21d652 29-Nov-2000 Werner Lemberg <wl@gnu.org> * src/base/ftcalc.c (FT_SqrtFixed), src/base/ftobjs.c
(FT_Set_Renderer): Use FT_EXPORT_DEF.
* src/cache/ftcimage.c (FTC_Image_Cache_Lookup),
src/cache/ftcmanag.c (FTC_Manager_Done, FTC_Manager_Reset,
FTC_Manager_Lookup_Face, FTC_Manager_Lookup_Size,
FTC_Manager_Register_Cache), src/cache/ftcsbits.c
(FTC_SBit_Cache_Lookup): Ditto.

* src/include/freetype/cache/ftcglyph.h (FTC_GlyphNode_Init),
src/include/freetype/ftmac.h (FT_New_Face_From_FOND): Use FT_EXPORT.
/external/freetype/src/base/ftobjs.c
23a0670b9891535765ebd2e7ac51fb02e1e2b9a8 08-Nov-2000 David Turner <david@freetype.org> removed the file <freetype/internal/ftlist.h> and corrected
files that depended on it.

the ftlist.c function definitions are now FT_EXPORT_DEF
instead of FT_BASE_DEF
/external/freetype/src/base/ftobjs.c
8ec9dfd99185fce2b397bce7cfae2106f8ba0295 08-Nov-2000 Werner Lemberg <wl@gnu.org> Moving doc comments for BASE functions from source to header files.
/external/freetype/src/base/ftobjs.c
90a03301421ee470aea404955c4069ebac324173 07-Nov-2000 Werner Lemberg <wl@gnu.org> All function comments are now removed from source files (and moved to the
header files if necessary).

Some minor fixes to have `make multi' run successfully (with gcc and g++).

Fixing compiler warnings.
/external/freetype/src/base/ftobjs.c
4b68007b4f5581a13a5d117e15dac377f8b2a37f 07-Nov-2000 Werner Lemberg <wl@gnu.org> Complementing David's changes with formatting, adding documentation, etc.

More `*'-convention formatting, adding the `a' resp. `an' prefix to
variables.
/external/freetype/src/base/ftobjs.c
dc72aff43d036b7f3fb3a448eece15c95353b4e6 04-Nov-2000 Werner Lemberg <wl@gnu.org> Finishing David's latest changes (there were some errors in it).
/external/freetype/src/base/ftobjs.c
54e75749465821066fe3ed533f00d6a2c67fbb37 04-Nov-2000 David Turner <david@freetype.org> defining new types to hold "internal" fields of public
objects:

FT_Face_Internal, FT_Size_Internal, FT_Slot_Internal

these contain some fields that may change between releases
of FreeType, without affecting the size of FT_FaceRec,
FT_SizeRec, FT_GlyphSlotRec, etc.., which means that
drivers wouldn't need to be recompiled if we only add new
fields to an internal structure..

I plan to hack a few things related to the auto-hinter and
I need this move to ensure that we will not break binary
compatibility between 2.0 and 2.1 :-)

- David
/external/freetype/src/base/ftobjs.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/base/ftobjs.c
e67e349a0bb0bb0514f1c90baecc44022c73a12b 13-Oct-2000 Werner Lemberg <wl@gnu.org> More fixes to the tutorial.

Added artificial Type 1 pid/eid paors to ttnameid.h.
/external/freetype/src/base/ftobjs.c
eddd9909e275b997629996d85ccf6abd10fbb493 12-Oct-2000 Werner Lemberg <wl@gnu.org> formatting

small fixes
/external/freetype/src/base/ftobjs.c
a0be99f131d07fdfddaf4904cd6fbbc6e192b5e9 03-Oct-2000 David Turner <david@freetype.org> changing the linkage type of
FT_New_GlyphSlot and FT_Done_GlyphSlot to
BASE_DEF instead of FT_EXPORT_DEF
/external/freetype/src/base/ftobjs.c
c9ce9e4e3fcb90a58c3dd7c2d53b03c71482c678 15-Sep-2000 David Turner <david@freetype.org> small bug-fix
/external/freetype/src/base/ftobjs.c
f9b0375002872fc8502cc87a65c8b16f6d48508c 12-Sep-2000 Werner Lemberg <wl@gnu.org> small formatting issues.
/external/freetype/src/base/ftobjs.c
d1b7475be1da031a6f60c229cc0c96a37e6da37e 24-Aug-2000 Werner Lemberg <wl@gnu.org> Formatting, small fixes.

Adding basic input parameter checking for exported functions.
/external/freetype/src/base/ftobjs.c
35db73220cc614150f56c2777ed611a0a2524665 24-Aug-2000 David Turner <david@freetype.org> - fixed an horrible FT_LOAD_RENDER bug that returned empty
bitmaps !!

- tested and fixed the image cache object. I'm performing a
few more checks though, and we'll call the cache sub-system
completed !!
/external/freetype/src/base/ftobjs.c
b1c8bf0683d2892bb9cb061b71add4b61da017f0 17-Aug-2000 Werner Lemberg <wl@gnu.org> Minor formatting.

Adding copyright/C++ guards to psaux files.
/external/freetype/src/base/ftobjs.c
24d7024c4468b526996ec9f4ad83c08bb3347566 17-Aug-2000 David Turner <david@freetype.org> added draft "psaux" code

the t1 driver now reads the complete font matrix

and applies it (some fonts do not work properly without
hinting though...)
/external/freetype/src/base/ftobjs.c
710354b8e9f7c7c44bdf1cb087625f7a16e3922a 16-Aug-2000 David Turner <david@freetype.org> fixed the bug that prevented bitmap formats to be loaded
correctly when the auto-hinter is used (symptom: "winfonts"
driver didn't load bitmaps correctly).
/external/freetype/src/base/ftobjs.c
05c21b8f3dfc5f8c2410610f112a0bbdcf0e8cec 29-Jul-2000 Werner Lemberg <wl@gnu.org> Formatting.
/external/freetype/src/base/ftobjs.c
e97cb9127dbc8a10d07209aee679a0717346f1f6 28-Jul-2000 Just van Rossum <just@letterror.com> FT_Done_Stream(): do stream->close = 0 after calling stream->close(); this makes it safe to call FT_Done_Stream() more than once.

David: please review this; I hope you agree with this minor change.
/external/freetype/src/base/ftobjs.c
9e830c5d3fbcb6038efb1ecb9dc8de8068f97582 28-Jul-2000 Just van Rossum <just@letterror.com> Put FT_New_Face() in an #ifndef macintosh switch; ftmac.c provides an extended implementation.
/external/freetype/src/base/ftobjs.c
58b17f9647d8b1ecc17f4d8dceceeed8baff123f 28-Jul-2000 Werner Lemberg <wl@gnu.org> Formatting.
/external/freetype/src/base/ftobjs.c
c5cdf8bcf1bded63fbd57853ded641a42292a91c 27-Jul-2000 David Turner <david@freetype.org> re-adding a "unix-dev.mk". Debugging libtool output
is just too much of a pain for me, I prefer a good old
static lib without optimizations :-)

"make devel" is back on Unix then..
/external/freetype/src/base/ftobjs.c
d060a75b0d100780118cb2f0adc1bd0c6c016f17 20-Jul-2000 Werner Lemberg <wl@gnu.org> Formatting.

Rudimentary support for autoconf (still using GNU make)

Say `make unix'.
/external/freetype/src/base/ftobjs.c
c49f69cb8c9d9b38179f760bf0cbbe4c78a3e296 20-Jul-2000 David Turner <david@freetype.org> some welcome fixes related to the auto-hinter:

- removed a stupid memory leak

- fixed the weird metrics hinting (the horizontal edges were used,
instead of the vertical one, to compute the metrics adjustments,
silly, silly, silly).

there is still some bugs that I'm looking at though, but we're
very near the release..
/external/freetype/src/base/ftobjs.c
6930b45f78abc193e84544f804cead9436b86ad5 19-Jul-2000 David Turner <david@freetype.org> - introduced FT_Get_Glyph_Name (see freetype.h)
to access individual glyph names. Changed some
drivers to support it through a new interface named
"glyph_name".

- introduced FT_Get_Sfnt_Name (see ftnames.h)
to access the SFNT name table in a TrueType/OpenType
file..
/external/freetype/src/base/ftobjs.c
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/src/base/ftobjs.c
2405d14f779a6d4837b146010c6e415ea62c7859 11-Jul-2000 Werner Lemberg <wl@gnu.org> Formatting/Synchronizing.

Updating OS/2 bits in ttnameid.h to latest version (as posted on the
opentype@ list).
/external/freetype/src/base/ftobjs.c
93ac3e398587c1a1e728e960588bce4378833835 10-Jul-2000 Werner Lemberg <wl@gnu.org> Formatting.

Synchronizing docs.
/external/freetype/src/base/ftobjs.c
b48a6094b2e7b82eae118549571028c50e0d4ca8 09-Jul-2000 Werner Lemberg <wl@gnu.org> Formatting.

Moving some internal structures and constants from freetype.h to ftobjs.h.

Finally removing FT_LOAD_ANTI_ALIAS.

Cleaning up all error codes. Only the used ones have survived :-)

Removed unused FT_MAX_GLYPH_FORMATS constant.

T2 error codes are now in the range 0x500-0x5FF (instead of `TrueDoc').

Some minor improvements of error return values.

Finally fixing error code values in ftraster and ftgrays to be compliant
with all other FT error codes.
/external/freetype/src/base/ftobjs.c
7fa51b5535dc05a91b96aac57835bf1473a24339 08-Jul-2000 Werner Lemberg <wl@gnu.org> Formatting.

Adding some trivial error checking.

Adding/Fixing tracing levels.
/external/freetype/src/base/ftobjs.c
9b3d1c75ad150b7964b7e8cc5619c0f5b49ec72f 07-Jul-2000 David Turner <david@freetype.org> - fixed a leak in the Type 1 driver
- updated the CFF driver to support flex opcodes
/external/freetype/src/base/ftobjs.c
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/src/base/ftobjs.c
fbeb41d93d84b6f6dfa2ec8a8b43bafe0fe7696c 02-Jul-2000 Werner Lemberg <wl@gnu.org> Formatting.

Adding copyright notices.

Removing an unnecessary file (smooth.h).
/external/freetype/src/base/ftobjs.c
a8bbc267a20c62806a87c8755e2c4bf58acfc7b5 01-Jul-2000 Werner Lemberg <wl@gnu.org> Formatting as usual...

Adding trivial argument checking to some functions.

Added dynamic driver interface to cidriver.

Minor `version' fixes for macfont and psnames modules.

Removed unnecessary files
/external/freetype/src/base/ftobjs.c
f9ca2bb58a3c8e70cf5e0e0d2580c50385c48df0 01-Jul-2000 David Turner <david@freetype.org> managed to re-design entirely the API in <freetype/ftglyph.h>
It is now really the "glyph factory" that Stefan was probably
dreaming about..

fixed some recent formatting errors from Werner ;-)

cleaned up the demonstration programs from most of the
rust that they had, though I'm sure someone is going to
re-format them really soon !!

"ftstring" now uses the new ftglyph.h API, and is now
faster and smaller.. yep..
/external/freetype/src/base/ftobjs.c
cc9fc49c907c7d4c3c41a845cfaba7eaf85418c3 30-Jun-2000 Werner Lemberg <wl@gnu.org> Formatting...

Applying some fixes from Tom.
/external/freetype/src/base/ftobjs.c
5ae831c10181954cd56e9b170da1133291383bc9 30-Jun-2000 David Turner <david@freetype.org> changes used to implement the auto-hinting support
/external/freetype/src/base/ftobjs.c
deb4e9839608a996ff7bb54fcddba93ff1ec0544 29-Jun-2000 Werner Lemberg <wl@gnu.org> Formatting...

Preprocessor lines now always start the line.

Improved error handling in `base' module.

Fixed a out-of-bounds error in ttgload.
/external/freetype/src/base/ftobjs.c
81bb4ad937f21e5fe64b2bdfef98250984e37eff 28-Jun-2000 David Turner <david@freetype.org> latest clean-ups..

The code compiles with NO WARNINGS with GCC and
Visual C++ (also with LCC minus debugging options)
/external/freetype/src/base/ftobjs.c
74abee8e2ea269b983916b8eb55bef385b98f2e2 28-Jun-2000 David Turner <david@freetype.org> various cleanups to reduce compiler warnings
/external/freetype/src/base/ftobjs.c
dcd2e14c58d0e454c05f9e24cf12f415b3c3c4df 25-Jun-2000 Werner Lemberg <wl@gnu.org> forgotten fixes.
/external/freetype/src/base/ftobjs.c
a929ba9b205c9756f1c0d3c261185e3bacf7fdad 25-Jun-2000 Werner Lemberg <wl@gnu.org> applying formatting again
/external/freetype/src/base/ftobjs.c
2a98b3c431091de7434f9bde087a4f5c47f463ba 23-Jun-2000 David Turner <david@freetype.org> reduced some nasty memory leaks
/external/freetype/src/base/ftobjs.c
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/src/base/ftobjs.c
e35cac66c652480b0d682647e92c2e7ef5cf7081 11-Jun-2000 Werner Lemberg <wl@gnu.org> A complete revision of FreeType 2's GNU makefiles (of the library):

Tons of unnecessary stuff have been removed; only the essential rules
have been retained.

The source files now depend on all header files in include/freetype,
include/freetype/config, and include/freetype/internal. This is not
optimal, I know, and I'll try to improve this, but it is better than
before (namely no dependencies on `internal').

FTDEBUG_SRC has been added (similar to FTSYS_SRC) -- I don't know
exactly whether this is really useful, but it doesn't harm.

There is now more documentation in the makefiles itself.

io-frames.html: Use of <th>, <code>, and <var> for better tagging.

Reactivating of FT_DEBUG_LEVEL_xxx macros.

Added a lot of #include directives to make `multi' builds possible -- note
that currently the modules cid, t1, and t1z have clashing structures and
functions which means that you can only use one of these three modules for a
multi build.

Added some missing function declarations to (local) header files.

Renamed some T1_Open_Face() to CID_Open_Face() in the cid module -- a lot
of other functions should be renamed also...

Replaced many FT_xxx stuff with T1_xxx in t1z driver -- this isn't finished
yet...

Fixed FT_Free() to allow a NULL pointer without an assertion (this has
always been a valid assumption in FreeType, at least in FT 1.x).

A lot of other, minor fixes (mostly documentation).
/external/freetype/src/base/ftobjs.c
4e6dd8587e07137d24a3641f69b0654b0fd72e97 05-Jun-2000 Werner Lemberg <wl@gnu.org> freetype.h: Adding ft_encoding_xxx values for some CJK encodings.

Fixing copyright notice on many files.

Changed some tracing levels.

A lot of formatting, fixing documentation etc. as usual.
/external/freetype/src/base/ftobjs.c
56177261080a288a05fd305e31268c3644777d74 03-Jun-2000 Werner Lemberg <wl@gnu.org> ftview now has two new options: -d activates debugging, and -l sets the
trace level.

Since FT2 is still beta, I've activated the FT_DEBUG_xxx macros by default.

To make reasonable output, I've changed some TRACEx macros to other levels.
/external/freetype/src/base/ftobjs.c
eb81e37825b8a5a62709f9505d1419e759123b1b 03-Jun-2000 Werner Lemberg <wl@gnu.org> More preparation for tracing. Formatting.
/external/freetype/src/base/ftobjs.c
91e52d416aedfdfcf5b4331c2156a3866898738e 02-Jun-2000 Werner Lemberg <wl@gnu.org> Finishing first formatting/documenting etc. of the `base' dir. Some modules
are still badly documented, though...
/external/freetype/src/base/ftobjs.c
2fbf7e439f06416d195435baa89c403f2044c2dd 02-Jun-2000 Werner Lemberg <wl@gnu.org> Added a lot of error checking code to the exported functions in the `base'
subdir (not complete yet).
/external/freetype/src/base/ftobjs.c
a3b6c6c2906c04b73a80674b3f75c3e21e7f21c6 31-May-2000 Werner Lemberg <wl@gnu.org> Formatting, fixing and adding documentation.
/external/freetype/src/base/ftobjs.c
11187206791326f7e851b62e13107723ce2c6505 26-May-2000 David Turner <david@freetype.org> finalised the multiple masters support
fixed some nasty little bugs too
/external/freetype/src/base/ftobjs.c
fea68c680017286953caccd14ecb5188a732d0e6 26-May-2000 David Turner <david@freetype.org> fixed two minor bugs:
- the glyph index was not checked in FT_Load_Glyph
- the "type1" driver didn't read the FontBBox and FontMatrix
correctly..
/external/freetype/src/base/ftobjs.c
1fb6eea7d12ca6fe6649cfee191dc56240f8cc89 24-May-2000 David Turner <david@freetype.org> EXPORT_DEF renamed to FT_EXPORT_DEF +
reformating/spacing
/external/freetype/src/base/ftobjs.c
51179f0ae3a7bcb0d45c736df1189942e9fc99be 18-May-2000 David Turner <david@freetype.org> some fixes for 64-bit systems. Mainly changed some
FT_TRACE calls to use %p instead of %lx when dumping
a pointer address
/external/freetype/src/base/ftobjs.c
e49ab25c0822e1043be29e836944c7886f4e8990 17-May-2000 David Turner <david@freetype.org> formatting - removed trailing spaces
/external/freetype/src/base/ftobjs.c
0a29c6979de1e9aca582407c470d505fc7232a4c 12-May-2000 David Turner <david@freetype.org> implemented FT_Select_Charmap and FT_Set_Charmap
(at last :-)
/external/freetype/src/base/ftobjs.c
bfe2f98f1f352135da49f19dc0819607af27b8a0 12-May-2000 David Turner <david@freetype.org> a new massive grunt work. Redefined the EXPORT_DEF,
EXPORT_FUNC, BASE_DEF and BASE_FUNC macros to
let them take an argument..

This is needed to compile the library as a DLL on some platforms
that have different compiler conventions..
/external/freetype/src/base/ftobjs.c
4f2c5544bbbe663483544da8d15675dfce9c0f89 12-May-2000 David Turner <david@freetype.org> additional changes, this time in order to pass extra parameters
to font drivers when creating a new face object.

The FT_Open_Args structure has been changed to simplify
its use and allow generic parameters too..
/external/freetype/src/base/ftobjs.c
efce08d67c1c2a8bf0d0d58463e754c746433d23 11-May-2000 David Turner <david@freetype.org> major re-organisation of the FreeType 2 directory hierarchy
/external/freetype/src/base/ftobjs.c
c1205799f5bfab9e9b9187fdd8094dd347c65b13 05-May-2000 David Turner <david@freetype.org> changes the type of the "mode" parameter in FT_Set_Raster_Mode
to unsigned long (easier than string to compare)
/external/freetype/src/base/ftobjs.c
a8bcdf8ef6ecd1e6c8da655f9742f687e0892f49 02-May-2000 David Turner <david@freetype.org> added FT_Done_Stream
/external/freetype/src/base/ftobjs.c
99a4d93b2d05ef1817ca4ac68956178b86606c02 25-Apr-2000 David Turner <david@freetype.org> added FT_Get_Sfnt_Table from "include/tttables.h"
/external/freetype/src/base/ftobjs.c
37379e2170f4e8c28bb9271929dcca76eab22a07 28-Mar-2000 David Turner <david@freetype.org> major changes to the library:

- there is now a "convenience" API to manage glyphs in
"include/ftglyph.h". See the demo program "ftstring" for
an example..

- the raster interface has been changed in order to allow
direct composition through user-provided callbacks. This
has been tested but isn't demonstrated for now in "demos"

- the FT_LOAD_NO_RECURSE flag is supported, as this is
required by some new code in the auto-hinting engine

- some bug fixed in FT_MulFix which made FT_xxx_Transform
return incorrect results..
/external/freetype/src/base/ftobjs.c
7f615aef5ea990337d15c4cb3411737a0c63d583 13-Mar-2000 David Turner <david@freetype.org> renamed all outlines functions to the
FT_Outline_<action> syntax..
/external/freetype/src/base/ftobjs.c
41dbcbf6285901c9e1fcc7605cf996341af2ac3e 09-Mar-2000 David Turner <david@freetype.org> reformatting, changing the FT_Outline structure:

- "flags" have been renamed to "tags"
- "outline_flags" have been renamed to "flags"

Look for more re-formatting today..
/external/freetype/src/base/ftobjs.c
0f99ddda5f236479edd55f9233dd4ade1d76f646 06-Mar-2000 David Turner <david@freetype.org> changed the structure of FT_Outline in order to pack
all outline flags in a single integer..

Changed the rest of the library and demo programs
accordingly..
/external/freetype/src/base/ftobjs.c
7eef5364b88b5884310d053a614c10bcc7cf0ded 05-Mar-2000 Just van Rossum <just@letterror.com> - ft_new_input_stream: don't make a new copy of the pathname
- ft_done_stream: remove the FREE(pathname) call, which wasn't
kosher
- FT_Open_Face: after calling open_face, don't assume driver is
the same as face->driver, use face->driver instead
/external/freetype/src/base/ftobjs.c
1e5754f2d6f3999f609bd3897883f69ef0285e96 02-Mar-2000 Just van Rossum <just@letterror.com> added missing "else": without it FT_Open_Face() would still scan the list of drivers when specifying an explicit driver
/external/freetype/src/base/ftobjs.c
d35aea7090c3a824a3a65a4a912d805b9c9252f5 02-Mar-2000 Just van Rossum <just@letterror.com> ft_new_input_stream(): set the pathname field of the stream to args->pathname. Needed for the Mac fond driver.
ft_done_stream(): free the pathname field, if not null
/external/freetype/src/base/ftobjs.c
cbfaedcefa88cc7cbaff9e6fcaa451f7598d2052 21-Feb-2000 David Turner <david@freetype.org> added glyph zone objects
/external/freetype/src/base/ftobjs.c
547a252af18469d72f8da9b6593309d6d014b1c4 16-Feb-2000 Werner Lemberg <wl@gnu.org> Formatting. Adding/Fixing documentation.
/external/freetype/src/base/ftobjs.c
24ea09fcbdaa66ab3ca5bfce1ba4cce2af9a7a98 15-Feb-2000 David Turner <david@freetype.org> small fix
/external/freetype/src/base/ftobjs.c
7663f22288c2d71982ea9e832a1592d4bb63bcda 13-Feb-2000 David Turner <david@freetype.org> Added support for the "attach_file" format-specific driver
interface, used to implement FT_Attach_File.

Note, this is currently very lightly tested..
/external/freetype/src/base/ftobjs.c
cda32b71ba25d313264ad52021106e42acfae573 10-Feb-2000 David Turner <david@freetype.org> added the FT_Attach_File function to enable AFM
parsing.

Also, changed the API for FT_Open_Face to allow
broader stream descriptions..
/external/freetype/src/base/ftobjs.c
d42c68e85593db7dc925c5cc6f831a1f94e9a48a 27-Jan-2000 David Turner <david@freetype.org> many new small, but important, changes there:

- modified the interface of the "sfnt" module. There is now a function
called "load_format_tag", and another called "load_directory".

The first one is in charge of returning the 4-byte tag located at
the beginning of a given font file. It understand TrueType collections
and parses them automatically

The second loads the table directory that is located just after
the format tag.

This is useful, because the "SFNT" storage scheme can be used by
several distinct formats, each with its own format tag.

The TrueType driver now checks the format tag in "src/truetype/ttobjs.c"

- made some changes to "src/shared/t1types.h" to clearly separate the
Type 1 font content from the rest of the T1_Face structure. This
will be useful when adding the CFF/Type2 driver that will be able
to reuse the "T1_Font" structure within a "TT_Font" one (which
really describes a SFNT-based font file).

Some changes in "src/type1" were thus performed to reflect this.
Note that the current type1 driver will be discontinued in a
distant future. More on this later..
/external/freetype/src/base/ftobjs.c
7880dd6630a77a1465681473ff00b3735d466e3f 10-Jan-2000 Werner Lemberg <wl@gnu.org> ftcalc.c, ftextend.c, ftoutln.c, ftraster.c, ftstream.c:
Removing trailing spaces.

ftlist.h:
Removing duplicated documentation (which is in ftlist.c also).

ftinit.c, ftlist.c, ftobjs.c:
Formatting, adding documentation.
/external/freetype/src/base/ftobjs.c
d2b1f357049f6b5e6766af9f3dfa134d2527feec 17-Dec-1999 David Turner <david@freetype.org> Initial revision
/external/freetype/src/base/ftobjs.c