2006-01-14 06:09:30 +01:00
|
|
|
|
2006-01-14 Chia-I Wu <b90201047@ntu.edu.tw>
|
|
|
|
|
|
|
|
|
|
* 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
|
2006-01-14 08:10:45 +01:00
|
|
|
|
matching for requests of type NOMINAL and REAL_DIM.
|
2006-01-14 06:09:30 +01:00
|
|
|
|
|
|
|
|
|
* 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.
|
|
|
|
|
|
* 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.
2006-01-13 13:21:31 +01:00
|
|
|
|
2006-01-13 Chia-I Wu <b90201047@ntu.edu.tw>
|
|
|
|
|
|
|
|
|
|
Introduce new size selection interface.
|
|
|
|
|
|
2006-01-13 15:53:28 +01:00
|
|
|
|
* include/freetype/internal/ftdriver.h (struct FT_Driver_ClassRec):
|
* 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.
2006-01-13 13:21:31 +01:00
|
|
|
|
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.
|
|
|
|
|
|
|
|
|
|
2006-01-13 Chia-I Wu <b90201047@ntu.edu.tw>
|
|
|
|
|
|
|
|
|
|
* 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.
|
|
|
|
|
|
2006-01-12 09:12:27 +01:00
|
|
|
|
2006-01-12 Werner Lemberg <wl@gnu.org>
|
|
|
|
|
|
|
|
|
|
Prepare use of pscmap service within CFF module.
|
|
|
|
|
|
|
|
|
|
* include/freetype/internal/services/svpscmap.h: Include
|
|
|
|
|
FT_INTERNAL_OBJECTS_H.
|
|
|
|
|
(PS_Unicode_Index_Func): Removed. Unused.
|
|
|
|
|
(PS_Macintosh_Name_Func): Renamed to...
|
|
|
|
|
(PS_Macintosh_NameFunc): This.
|
|
|
|
|
Update all callers.
|
|
|
|
|
(PS_Adobe_Std_Strings_Func): Renamed to...
|
|
|
|
|
(PS_Adobe_Std_StringsFunc): This.
|
|
|
|
|
Update all callers.
|
|
|
|
|
(PS_UnicodesRec): This is the former `PS_Unicodes' structure.
|
|
|
|
|
Add `cmap' member.
|
|
|
|
|
Update all callers.
|
|
|
|
|
(PS_Unicodes): This is now a typedef'd pointer to PS_UnicodesRec.
|
|
|
|
|
Update all callers.
|
|
|
|
|
(PS_Glyph_NameFunc): New typedef.
|
|
|
|
|
(PS_Unicodes_InitFunc): Change arguments to expect a function
|
|
|
|
|
and generic data pointer which returns a glyph name from a given
|
|
|
|
|
index.
|
|
|
|
|
|
|
|
|
|
* src/psnames/psmodule.c (ps_unicodes_init, ps_unicodes_char_index,
|
|
|
|
|
ps_unicodes_char_next, pscmaps_interface): Updated.
|
|
|
|
|
|
|
|
|
|
* include/freetype/internal/t1types.h (T1_FaceRec): Updated.
|
|
|
|
|
|
|
|
|
|
* src/psaux/t1cmap.h (T1_CmapStdRec): Updated.
|
|
|
|
|
(T1_CmapUnicode, T1_CmapUnicodeRec): Removed.
|
|
|
|
|
|
|
|
|
|
* src/psaux/t1cmap.c (t1_get_glyph_name): New callback function.
|
|
|
|
|
(t1_cmap_unicode_init, t1_cmap_unicode_done,
|
|
|
|
|
t1_cmap_unicode_char_index, t1_cmap_unicode_char_next,
|
|
|
|
|
t1_cmap_unicode_class_rec): Updated.
|
|
|
|
|
|
|
|
|
|
* src/type42/t42types.h (T42_FaceRec): Updated.
|
|
|
|
|
|
|
|
|
|
2006-01-11 suzuki toshiya <mpsuzuki@hiroshima-u.ac.jp>
|
2006-01-12 04:33:16 +01:00
|
|
|
|
|
|
|
|
|
* include/freetype/ftmac.h: Add declaration of new functions
|
|
|
|
|
FT_New_Face_From_FSRef and FT_GetFile_From_Mac_ATS_Name that
|
|
|
|
|
were introduced by the jumbo patch on 2006-01-11.
|
|
|
|
|
|
2006-01-12 09:12:27 +01:00
|
|
|
|
2006-01-11 Werner Lemberg <wl@gnu.org>
|
2006-01-11 10:28:38 +01:00
|
|
|
|
|
2006-01-11 11:08:49 +01:00
|
|
|
|
Fix Savannah bug #15056 and use pscmap service in psaux module.
|
2006-01-11 10:28:38 +01:00
|
|
|
|
|
2006-01-11 11:08:49 +01:00
|
|
|
|
* include/freetype/internal/services/svpscmap.h (PS_UniMap): Use
|
|
|
|
|
FT_UInt32 for `glyph_index'.
|
|
|
|
|
(PS_Unicodes_InitFunc): Use FT_String for `glyph_names'.
|
|
|
|
|
(PS_Unicodes_CharIndexFunc): Use FT_UInt32 for `unicode'.
|
|
|
|
|
(PS_Unicodes_CharNextFunc): Make second argument a pointer to
|
|
|
|
|
FT_UInt32.
|
2006-01-11 10:28:38 +01:00
|
|
|
|
|
2006-01-11 11:08:49 +01:00
|
|
|
|
* src/psnames/psmodule.c (VARIANT_BIT, BASE_GLYPH): New macros.
|
|
|
|
|
(ps_unicode_value): Set VARIANT_BIT in return value if glyph is a
|
|
|
|
|
variant glyph (this is, it has non-leading `.' in its name).
|
|
|
|
|
(compare_uni_maps): Sort base glyphs before variant glyphs.
|
|
|
|
|
(ps_unicodes_init): Use FT_String for `glyph_names' argument.
|
|
|
|
|
Reallocate only if number of used entries is much smaller.
|
|
|
|
|
Updated to handle variant glyphs.
|
|
|
|
|
(ps_unicodes_char_index, ps_unicodes_char_next): Prefer base glyphs
|
|
|
|
|
over variant glyphs.
|
|
|
|
|
Simplify code.
|
2006-01-11 10:28:38 +01:00
|
|
|
|
|
2006-01-11 11:08:49 +01:00
|
|
|
|
* src/psaux/t1cmap.c (t1_cmap_uni_pair_compare): Removed.
|
|
|
|
|
(t1_cmap_unicode_init, t1_cmap_unicode_char_index,
|
|
|
|
|
t1_cmap_unicode_char_next): Use pscmap service.
|
|
|
|
|
(t1_cmap_unicode_done): Updated.
|
|
|
|
|
|
|
|
|
|
* src/psaux/t1cmap.h (T1_CMapUniPair): Removed.
|
|
|
|
|
(T1_CMapUnicode): Use PS_Unicodes structure.
|
|
|
|
|
|
|
|
|
|
2006-01-11 suzuki toshiya <mpsuzuki@hiroshima-u.ac.jp>
|
|
|
|
|
|
|
|
|
|
Jumbo patch to fix `deprecated' warning of cross-build for Tiger on
|
|
|
|
|
Intel, as reported by Sean McBride <sean@rogue-research.com> on
|
|
|
|
|
2005-08-24.
|
|
|
|
|
|
|
|
|
|
* src/base/ftmac.c: Heavy change to build without deprecated Carbon
|
|
|
|
|
functions on Tiger.
|
|
|
|
|
|
|
|
|
|
* builds/unix/configure.ac: Add options and autochecks for Carbon
|
|
|
|
|
functions availabilities, for MacOS X.
|
|
|
|
|
|
|
|
|
|
* builds/mac/ascii2mpw.py: Add converter for character `\305'.
|
2006-01-11 10:28:38 +01:00
|
|
|
|
* builds/mac/FreeType.m68k_{far|cfm}.make.txt: Add conditional
|
2006-01-11 11:08:49 +01:00
|
|
|
|
macros to avoid unavailable functions.
|
|
|
|
|
ftmac.c must be compiled without `-strict ansi', because it disables
|
|
|
|
|
cpp macro to use ToolBox system call.
|
|
|
|
|
|
|
|
|
|
* builds/mac/FreeType.ppc_{classic|carbon}.make.txt: Add conditional
|
|
|
|
|
macros to avoid unavailable functions.
|
2006-01-11 10:28:38 +01:00
|
|
|
|
|
|
|
|
|
* builds/mac/README: Detailed notes on function availabilities.
|
|
|
|
|
|
|
|
|
|
* docs/CHANGES: Notes about (possible) incompatibilities.
|
|
|
|
|
|
2006-01-08 14:43:30 +01:00
|
|
|
|
2006-01-08 Werner Lemberg <wl@gnu.org>
|
|
|
|
|
|
2006-01-08 23:34:01 +01:00
|
|
|
|
* docs/CHANGES: Updated.
|
|
|
|
|
|
|
|
|
|
2006-01-08 Huw D M Davies <h.davies1@physics.ox.ac.uk>
|
|
|
|
|
|
|
|
|
|
* include/freetype/ftmodapi.h (FT_Module_Get_Flags): New
|
|
|
|
|
declaration.
|
|
|
|
|
|
|
|
|
|
* src/base/ftobjs.c (FT_Module_Get_Flags): New function.
|
|
|
|
|
|
|
|
|
|
2006-01-07 Werner Lemberg <wl@gnu.org>
|
|
|
|
|
|
2006-01-08 14:43:30 +01:00
|
|
|
|
* src/pcf/pcfread.c (pcf_get_bitmaps): Remove unused variable
|
2006-01-08 20:38:42 +01:00
|
|
|
|
`bitmaps'. Reported by Yu Lei <yulei0@gmail.com>.
|
|
|
|
|
|
|
|
|
|
* src/base/ftutil.c (ft_highpow2): s/FT_BASE/FT_BASE_DEF/.
|
|
|
|
|
Reported by Niels Boldt <nielsboldt@gmail.com>.
|
2006-01-08 14:43:30 +01:00
|
|
|
|
|
|
|
|
|
2005-12-28 suzuki toshiya <mpsuzuki@hiroshima-u.ac.jp>
|
2005-12-28 07:47:12 +01:00
|
|
|
|
|
2006-01-08 14:37:15 +01:00
|
|
|
|
* src/sfnt/sfnt/ttbdf.c: Add newline '\n' to the end of file, for
|
|
|
|
|
MPW compiler.
|
2005-12-28 07:47:12 +01:00
|
|
|
|
|
2005-12-23 14:32:06 +01:00
|
|
|
|
2005-12-23 David Turner <david@freetype.org>
|
|
|
|
|
|
2005-12-23 16:10:54 +01:00
|
|
|
|
* Jamfile (RefDoc), docs/reference/README: Fix it so that `jam
|
|
|
|
|
refdoc' works correctly to generate the API reference in
|
|
|
|
|
`docs/reference'.
|
2005-12-23 14:32:06 +01:00
|
|
|
|
|
2005-12-23 16:10:54 +01:00
|
|
|
|
* src/tools/docmaker/tohtml.py (print_html_field,
|
|
|
|
|
print_html_field_list): Update to output nicer fields lists in the
|
|
|
|
|
API reference.
|
2005-12-23 14:32:06 +01:00
|
|
|
|
|
|
|
|
|
* src/base/ftobjs.c (FT_Load_Glyph): FT_LOAD_TARGET_LIGHT now
|
2005-12-23 16:10:54 +01:00
|
|
|
|
forces auto-hinting.
|
2005-12-23 14:32:06 +01:00
|
|
|
|
|
2005-12-23 16:10:54 +01:00
|
|
|
|
* freetype/freetype.h: Updating the documentation for
|
|
|
|
|
FT_LOAD_TARGET_XXX and FT_Render_Mode values.
|
2005-12-23 14:32:06 +01:00
|
|
|
|
|
2005-12-23 13:22:46 +01:00
|
|
|
|
2005-12-23 suzuki toshiya <mpsuzuki@hiroshima-u.ac.jp>
|
|
|
|
|
|
2005-12-23 16:10:54 +01:00
|
|
|
|
* src/base/ftmac.c (FT_New_Face_From_Suitcase): Count scalable faces
|
|
|
|
|
in supported formats (sfnt, LWFN) only, and ignore bitmap faces in
|
|
|
|
|
unsupported formats (fbit, NFNT). The number of available faces are
|
|
|
|
|
passed via face->num_faces. If bitmap faces are embedded in sfnt
|
|
|
|
|
resource, face->num_fixed_size is correctly set. In public API,
|
|
|
|
|
FT_New_Face() and FT_New_Face_From_FSSpec() count the faces as
|
|
|
|
|
FT_GetFile_From_Mac_Name(), which ignores NFNT resources.
|
2005-12-23 13:22:46 +01:00
|
|
|
|
|
|
|
|
|
* doc/CHANGES: Mention the changes.
|
|
|
|
|
|
2005-12-17 14:12:49 +01:00
|
|
|
|
2005-12-17 Chia-I Wu <b90201047@ntu.edu.tw>
|
|
|
|
|
|
|
|
|
|
* src/truetype/ttinterp.c (Update_Max): Set current size of buffer
|
|
|
|
|
correctly (so that memory debug system won't panic).
|
|
|
|
|
|
2005-12-16 15:27:14 +01:00
|
|
|
|
2005-12-16 Chia-I Wu <b90201047@ntu.edu.tw>
|
|
|
|
|
|
|
|
|
|
* 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.
|
|
|
|
|
|
2005-12-14 17:37:15 +01:00
|
|
|
|
2005-12-13 David Turner <david@freetype.org>
|
|
|
|
|
|
2005-12-20 13:01:58 +01:00
|
|
|
|
Change the implementation of the LIGHT hinting mode to completely
|
|
|
|
|
disable horizontal hinting. This is an experimental effort to
|
|
|
|
|
integrate David Chester's latest patch without affecting the other
|
|
|
|
|
hinting modes as well.
|
2005-12-14 17:37:15 +01:00
|
|
|
|
|
2005-12-20 13:01:58 +01:00
|
|
|
|
Note that this doesn't force auto-hinting for all fonts, however.
|
2005-12-14 17:37:15 +01:00
|
|
|
|
|
2005-12-20 13:01:58 +01:00
|
|
|
|
* src/autofit/afhints.c (af_glyph_hints_reload): Don't set
|
|
|
|
|
scaler_fiags here but...
|
|
|
|
|
(af_glyph_hints_rescale): Here.
|
2005-12-14 17:38:31 +01:00
|
|
|
|
|
2005-12-20 13:01:58 +01:00
|
|
|
|
* src/autofit/aflatin.c (af_latin_hints_init): Disable horizontal
|
|
|
|
|
hinting for `light' hinting mode.
|
2005-12-14 22:16:33 +01:00
|
|
|
|
|
|
|
|
|
|
2005-12-20 13:01:58 +01:00
|
|
|
|
* Jamfile: Small fix to ensure that ftexport.sym is placed into the
|
|
|
|
|
same location as other generated objects (i.e., within the `objs'
|
|
|
|
|
directory of the current directory).
|
2005-12-14 22:16:33 +01:00
|
|
|
|
|
2005-12-20 13:01:58 +01:00
|
|
|
|
|
|
|
|
|
Add support for an embedded `BDF ' table within SFNT-based bitmap
|
|
|
|
|
font files. This is used to store atoms & properties from the
|
|
|
|
|
original BDF fonts that were used to generate the font file.
|
|
|
|
|
|
|
|
|
|
The feature is controlled by TT_CONFIG_OPTION_BDF within
|
|
|
|
|
`ftoption.h' and is used to implement FT_Get_BDF_Property for these
|
|
|
|
|
font files.
|
|
|
|
|
|
|
|
|
|
At the moment, this is still experimental, the BDF table format
|
|
|
|
|
isn't cast into stone yet.
|
|
|
|
|
|
|
|
|
|
* include/freetype/config/ftoption.h (TT_CONFIG_OPTION_BDF): New
|
|
|
|
|
macro.
|
|
|
|
|
|
|
|
|
|
* include/freetype/config/ftstdlib.h (ft_memchr): New macro.
|
|
|
|
|
|
|
|
|
|
* include/freetype/internal/tttypes.h (TT_BDFRec, TT_BDF)
|
|
|
|
|
[TT_CONFIG_OPTION_BDF]: New structure.
|
|
|
|
|
(TT_FaceRec) [TT_CONFIG_OPTION_BDF]: New member `bdf'.
|
|
|
|
|
|
|
|
|
|
* include/freetype/ttags.h (TTAG_BDF): New macro.
|
|
|
|
|
|
|
|
|
|
* src/sfnt/Jamfile (_sources): Add ttbdf.
|
|
|
|
|
|
|
|
|
|
* src/sfnt/rules.mk (SFNT_DRV_SRC): Add ttbdf.c.
|
|
|
|
|
|
|
|
|
|
* src/sfnt/sfdriver.c [TT_CONFIG_OPTION_BDF]: Include ttbdf.h and
|
|
|
|
|
FT_SERVICE_BDF_H.
|
|
|
|
|
(sfnt_get_charset_it) [TT_CONFIG_OPTION_BDF]: New function.
|
|
|
|
|
(sfnt_service_bdf) [TT_CONFIG_OPTION_BDF]: New service.
|
|
|
|
|
(sfnt_servives) [TT_CONFIG_OPTION_BDF]: Add sfnt_service_bdf.
|
|
|
|
|
|
|
|
|
|
* src/sfnt/sfnt.c [TT_CONFIG_OPTION_BDF]: Include ttbdf.c.
|
|
|
|
|
|
|
|
|
|
* src/sfnt/sfobjs.c [TT_CONFIG_OPTION_BDF]: Include ttbdf.h.
|
|
|
|
|
(sfnt_done_face) [TT_CONFIG_OPTION_BDF]: Call
|
|
|
|
|
tt_face_free_bdf_props.
|
|
|
|
|
|
|
|
|
|
* src/sfnt/ttbdf.h, src/sfnt/ttbdf.c: New files.
|
* include/freetype/config/ftoption.h,
include/freetype/config/ftstdlib.h,
include/freetype/internal/tttypes.h,
src/sfnt/Jamfile, src/sfnt/rules.mk, src/sfnt/sfdriver.c,
src/sfnt/ttbdf.h, src/sfnt/ttbdf.c, src/sfnt/sfobjs.c:
Added support for an embedded 'BDF ' table within SFNT-based
bitmap font files. This is used to store atoms & properties from
the original BDF fonts that were used to generate the font file.
the feature is controled by TT_CONFIG_OPTION_BDF within 'ftoption.h'
and is used to implement FT_Get_BDF_Property for these font files.
At the moment, this is still experimental, the BDF table format isn't
cast into stone yet.
2005-12-14 21:38:15 +01:00
|
|
|
|
|
2005-12-07 21:34:11 +01:00
|
|
|
|
2005-12-07 Werner Lemberg <wl@gnu.org>
|
|
|
|
|
|
|
|
|
|
* src/sfnt/sfobjc.c (sfnt_init_face): Move tag check to...
|
|
|
|
|
* src/sfnt/ttload.c (sfnt_init): Here, before handling TTCs.
|
|
|
|
|
|
2005-12-06 09:24:01 +01:00
|
|
|
|
2005-12-06 Chia-I Wu <b90201047@ntu.edu.tw>
|
|
|
|
|
|
|
|
|
|
* src/truetype/ttobjs.c (tt_size_init): size->ttmetrics.valid is
|
|
|
|
|
initialized twice.
|
|
|
|
|
size->strike_index is not initialized.
|
|
|
|
|
|
2005-12-03 09:13:43 +01:00
|
|
|
|
2005-12-02 Taek Kwan(TK) Lee <taeklee@gmail.com>
|
|
|
|
|
|
2005-12-06 11:47:44 +01:00
|
|
|
|
* src/type42/t42objs.c (T42_Face_Init): Replace call to
|
2005-12-03 09:13:43 +01:00
|
|
|
|
FT_New_Memory_Face with call to FT_Open_Face to pass `params'.
|
|
|
|
|
|
2005-11-30 09:48:32 +01:00
|
|
|
|
2005-11-30 Werner Lemberg <wl@gnu.org>
|
|
|
|
|
|
|
|
|
|
* docs/CHANGES: Document ftdump's `-v' option.
|
2005-11-30 09:55:51 +01:00
|
|
|
|
Document latest charmap code changes.
|
2005-11-30 09:48:32 +01:00
|
|
|
|
|
2005-11-30 19:47:49 +01:00
|
|
|
|
* src/sfnt/ttcmap.c, src/sfnt/ttcmap.h:
|
|
|
|
|
s/TT_CMAP_FLAG_OVERLAPPED/TT_CMAP_FLAG_OVERLAPPING/.
|
|
|
|
|
|
2005-11-30 03:39:10 +01:00
|
|
|
|
2005-11-30 Chia-I Wu <b90201047@ntu.edu.tw>
|
|
|
|
|
|
|
|
|
|
* src/sfnt/ttcmap.c (tt_cmap4_char_map_binary,
|
|
|
|
|
tt_cmap12_char_map_binary): Fix compiler warnings.
|
|
|
|
|
|
2005-11-29 12:32:53 +01:00
|
|
|
|
2005-11-29 Chia-I Wu <b90201047@ntu.edu.tw>
|
|
|
|
|
|
2005-11-30 19:47:49 +01:00
|
|
|
|
Major update to distinguish between unsorted and overlapping
|
|
|
|
|
segments for cmap format 4. For overlapping but sorted segments,
|
|
|
|
|
which is previously considered unsorted, we still use binary search.
|
2005-11-29 12:32:53 +01:00
|
|
|
|
|
2005-12-14 17:37:15 +01:00
|
|
|
|
* src/sfnt/ttcmap.h (TT_CMapRec_): Replace `unsorted' by `flags'.
|
2005-11-29 12:32:53 +01:00
|
|
|
|
(TT_CMAP_FLAG_UNSORTED, TT_CMAP_FLAG_OVERLAPPED): New macros.
|
|
|
|
|
|
|
|
|
|
* src/sfnt/ttcmap.c (OPT_CMAP4): Removed as it is always defined.
|
2005-12-14 17:37:15 +01:00
|
|
|
|
(TT_CMap4Rec_): Remove `old_charcode' and `table_length'.
|
2005-11-29 12:32:53 +01:00
|
|
|
|
(tt_cmap4_reset): Removed.
|
|
|
|
|
(tt_cmap4_init): Updated accordingly.
|
|
|
|
|
(tt_cmap4_next): Updated accordingly.
|
2005-11-30 19:47:49 +01:00
|
|
|
|
Take care of overlapping segments.
|
2005-11-29 12:32:53 +01:00
|
|
|
|
(tt_cmap4_validate): Make sure the subtable is large enough.
|
|
|
|
|
Do not check glyph_ids because some fonts set the length wrongly.
|
2006-01-08 14:37:15 +01:00
|
|
|
|
Also, if all segments have offset 0, glyph_ids is always invalid.
|
2005-11-30 19:47:49 +01:00
|
|
|
|
It does not cause any problem so far only because the check misses
|
2005-11-29 12:32:53 +01:00
|
|
|
|
equality.
|
2005-11-30 19:47:49 +01:00
|
|
|
|
Distinguish between unsorted and overlapping segments.
|
|
|
|
|
(tt_cmap4_char_map_linear, tt_cmap4_char_map_binary): New functions
|
|
|
|
|
to do `charcode => glyph index' by linear/binary search.
|
2005-11-29 12:32:53 +01:00
|
|
|
|
(tt_cmap4_char_index, tt_cmap4_char_next): Use
|
|
|
|
|
tt_cmap4_char_map_linear and tt_cmap4_char_map_binary.
|
|
|
|
|
(tt_face_build_cmaps): Treat the return value of validator as flags
|
|
|
|
|
for cmap.
|
|
|
|
|
|
2005-11-29 12:27:51 +01:00
|
|
|
|
2005-11-29 Chia-I Wu <b90201047@ntu.edu.tw>
|
|
|
|
|
|
2005-11-30 19:47:49 +01:00
|
|
|
|
* src/sfnt/ttcmap.c (TT_CMap12Rec_, tt_cmap12_init, tt_cmap12_next):
|
|
|
|
|
New structures and functions for fast `next char'.
|
|
|
|
|
(tt_cmap12_char_map_binary): New function to do `charcode => glyph
|
|
|
|
|
index' by binary search.
|
2005-11-29 12:27:51 +01:00
|
|
|
|
(tt_cmap12_char_index, tt_cmap12_char_next): Use
|
|
|
|
|
tt_cmap12_char_map_binary.
|
|
|
|
|
(tt_face_build_cmaps): Check table and offset correctly (equality is
|
|
|
|
|
missing).
|
|
|
|
|
|
2005-11-25 09:04:09 +01:00
|
|
|
|
2005-11-15 Detlef W<>rkner <TetiSoft@apg.lahn.de>
|
|
|
|
|
|
|
|
|
|
* builds/amiga/smakefile: Adjusted the compiler options
|
|
|
|
|
to the current sources, now really builds the gxvalid, gzip
|
|
|
|
|
and psnames modules.
|
|
|
|
|
|
|
|
|
|
* builds/amiga/src/base/ftsystem.c: The assumed Seek() position
|
|
|
|
|
in the file cache was off by one byte which could cause false
|
|
|
|
|
errors in font files.
|
|
|
|
|
|
2005-11-24 06:16:57 +01:00
|
|
|
|
2005-11-24 suzuki toshiya <mpsuzuki@hiroshima-u.ac.jp>
|
|
|
|
|
|
|
|
|
|
* builds/mac/FreeType.m68k_far.make.txt,
|
|
|
|
|
builds/mac/FreeType.m68k_cfm.make.txt,
|
|
|
|
|
builds/mac/FreeType.ppc_classic.make.txt,
|
|
|
|
|
builds/mac/FreeType.ppc_carbon.make.txt:
|
|
|
|
|
Updated for MPW to build all available modules.
|
|
|
|
|
|
2005-11-21 18:32:03 +01:00
|
|
|
|
2005-11-21 H<>vard Wall <haavardw@ifi.uio.no>
|
|
|
|
|
|
|
|
|
|
* src/bdf/bdfdrivr.c (bdf_interpret_style, BDF_Face_Done): Fix small
|
|
|
|
|
memory leak.
|
|
|
|
|
|
2005-11-21 13:36:42 +01:00
|
|
|
|
2005-11-21 Werner Lemberg <wl@gnu.org>
|
|
|
|
|
|
|
|
|
|
* src/sfnt/ttload.c (sfnt_init): Add tracing message.
|
|
|
|
|
|
2005-11-21 04:05:34 +01:00
|
|
|
|
2005-11-21 Chia-I Wu <b90201047@ntu.edu.tw>
|
|
|
|
|
|
2005-11-21 13:36:42 +01:00
|
|
|
|
* src/sfnt/ttsbit0.c (tt_sbit_decoder_load_image): Image_offset was
|
2006-01-08 14:37:15 +01:00
|
|
|
|
added twice to image_start if image_format was 2 or 5.
|
2005-11-21 04:05:34 +01:00
|
|
|
|
|
2005-11-21 04:04:03 +01:00
|
|
|
|
2005-11-21 Chia-I Wu <b90201047@ntu.edu.tw>
|
|
|
|
|
|
|
|
|
|
* src/sfnt/sfobjs.c (sfnt_init_face): Check that format_tag is known
|
|
|
|
|
before loading the table directory.
|
|
|
|
|
|
|
|
|
|
* src/sfnt/ttload.c (tt_face_load_sfnt_header,
|
|
|
|
|
tt_face_load_directory): Delay sfnt_dir_check from
|
|
|
|
|
tt_face_load_sfnt_header to tt_face_load_directory.
|
|
|
|
|
|
2005-11-20 09:24:24 +01:00
|
|
|
|
2005-11-20 Chia-I Wu <b90201047@ntu.edu.tw>
|
|
|
|
|
|
|
|
|
|
* src/sfnt/ttload.c (sfnt_dir_check): Clean up and return correct
|
|
|
|
|
error code.
|
|
|
|
|
(sfnt_init): New function to fill in face->ttc_header. A non-TTC font
|
|
|
|
|
is synthesized into a TTC font with one offset table.
|
|
|
|
|
(tt_face_load_sfnt_header): Use sfnt_init.
|
2006-01-08 14:37:15 +01:00
|
|
|
|
Fix an invalid access if the font is TTC and face_index is -1.
|
2005-11-20 09:24:24 +01:00
|
|
|
|
|
2005-11-18 09:23:06 +01:00
|
|
|
|
2005-11-18 Werner Lemberg <wl@gnu.org>
|
|
|
|
|
|
|
|
|
|
* src/sfnt/ttload.c (tt_face_load_metrics): Ignore excess number
|
|
|
|
|
of metrics instead of aborting. Patch suggested by Derek Noonburg.
|
|
|
|
|
|
2005-11-18 22:10:59 +01:00
|
|
|
|
* src/cff/cffgload.c (cff_slot_load), src/cid/cidgload.c
|
|
|
|
|
(cid_slot_load_glyph), src/type1/t1gload.c (T1_Load_Glyph): Scale
|
|
|
|
|
the glyph properly if no hinter is available.
|
|
|
|
|
|
|
|
|
|
* docs/CHANGES: Mention scaling bug.
|
|
|
|
|
|
2005-11-18 08:47:06 +01:00
|
|
|
|
2005-11-18 susuzki toshiya <mpsuzuki@hiroshima-u.ac.jp>
|
|
|
|
|
|
|
|
|
|
* include/freetype/ftgxval.h, src/base/ftgxval.c
|
|
|
|
|
(FT_TrueTypeGX_Free, FT_ClassicKern_Free): New functions to free
|
|
|
|
|
buffers allocated by gxvalid module.
|
|
|
|
|
* include/freetype/ftotval.h, src/base/ftotval.c
|
|
|
|
|
(FT_OpenType_Free): New function to free buffer allocated by
|
|
|
|
|
otvalid module.
|
|
|
|
|
|
2005-11-18 05:29:31 +01:00
|
|
|
|
2005-11-18 Chia-I Wu <b90201047@ntu.edu.tw>
|
|
|
|
|
|
|
|
|
|
* builds/unix/ftsystem.c (FT_Stream_Open, FT_New_Memory,
|
|
|
|
|
FT_Done_Memory), builds/vms/ftsystem.c (FT_Stream_Open, FT_New_Memory,
|
|
|
|
|
FT_Done_Memory), builds/win32/ftdebug.c (FT_Message, FT_Panic):
|
|
|
|
|
s/FT_EXPORT/FT_BASE/.
|
|
|
|
|
|
2005-11-17 17:54:54 +01:00
|
|
|
|
2005-11-17 Detlef W<>rkner <TetiSoft@apg.lahn.de>
|
|
|
|
|
|
|
|
|
|
* builds/amiga/src/base/ftdebug.c (FT_Trace_Get_Count,
|
|
|
|
|
FT_Trace_Get_Name, FT_Message, FT_Panic),
|
|
|
|
|
builds/amiga/src/base/ftsystem.c (FT_New_Memory, FT_Done_Memory,
|
|
|
|
|
FT_Stream_Open): s/FT_EXPORT/FT_BASE/.
|
|
|
|
|
|
2005-11-17 15:21:07 +01:00
|
|
|
|
2005-11-17 Detlef W<>rkner <TetiSoft@apg.lahn.de>
|
|
|
|
|
|
2005-11-18 09:23:06 +01:00
|
|
|
|
* builds/amiga/makefile, builds/amiga/makefile.os4,
|
2005-11-25 09:04:09 +01:00
|
|
|
|
builds/amiga/smakefile,
|
2005-11-17 15:21:07 +01:00
|
|
|
|
builds/amiga/include/freetype/config/ftmodule.h: Updated the Amiga
|
2005-11-18 09:23:06 +01:00
|
|
|
|
build files (added support for the gxvalid module).
|
2005-11-17 15:21:07 +01:00
|
|
|
|
|
2005-11-17 09:12:00 +01:00
|
|
|
|
2005-11-17 Werner Lemberg <wl@gnu.org>
|
|
|
|
|
|
|
|
|
|
Add vertical metrics support to OpenType CFF outlines. Based on a
|
2005-11-18 09:23:06 +01:00
|
|
|
|
patch from Mike Moening <MikeM@RetekSolutions.com>.
|
2005-11-17 09:12:00 +01:00
|
|
|
|
|
|
|
|
|
* src/cff/cffgload.c (cff_face_get_vertical_metrics): New function.
|
|
|
|
|
(cff_slot_load): Use cff_face_get_vertical_metrics.
|
|
|
|
|
|
|
|
|
|
* docs/CHANGES: Updated.
|
|
|
|
|
|
* src/base/ftcalc.c (FT_MulTo64): Commented out.
* include/freetype/internal/ftcalc.h (FT_SqrtFixed), src/base/ftcalc.c
(FT_SqrtFixed), include/freetype/internal/ftdebug.h
(FT_Trace_Get_Count, FT_Trace_Get_Name, FT_Message, FT_Panic),
src/base/ftdebug.c (FT_Trace_Get_Count, FT_Trace_Get_Name, FT_Message,
FT_Panic), include/freetype/internal/ftobjs.h (FT_New_Memory,
FT_Done_Memory), include/freetype/internal/ftstream.h
(FT_Stream_Open), src/base/ftsystem.c (FT_New_Memory, FT_Done_Memory,
FT_Stream_Open): s/FT_EXPORT/FT_BASE/.
* builds/exports.mk: Manually add TT_New_Context to EXPORTS_LIST too.
2005-11-17 02:53:07 +01:00
|
|
|
|
2005-11-17 Chia-I Wu <b90201047@ntu.edu.tw>
|
|
|
|
|
|
|
|
|
|
* src/base/ftcalc.c (FT_MulTo64): Commented out.
|
|
|
|
|
|
2005-11-17 09:12:00 +01:00
|
|
|
|
* include/freetype/internal/ftcalc.h (FT_SqrtFixed),
|
|
|
|
|
src/base/ftcalc.c (FT_SqrtFixed),
|
|
|
|
|
include/freetype/internal/ftdebug.h (FT_Trace_Get_Count,
|
|
|
|
|
FT_Trace_Get_Name, FT_Message, FT_Panic), src/base/ftdebug.c
|
* src/base/ftcalc.c (FT_MulTo64): Commented out.
* include/freetype/internal/ftcalc.h (FT_SqrtFixed), src/base/ftcalc.c
(FT_SqrtFixed), include/freetype/internal/ftdebug.h
(FT_Trace_Get_Count, FT_Trace_Get_Name, FT_Message, FT_Panic),
src/base/ftdebug.c (FT_Trace_Get_Count, FT_Trace_Get_Name, FT_Message,
FT_Panic), include/freetype/internal/ftobjs.h (FT_New_Memory,
FT_Done_Memory), include/freetype/internal/ftstream.h
(FT_Stream_Open), src/base/ftsystem.c (FT_New_Memory, FT_Done_Memory,
FT_Stream_Open): s/FT_EXPORT/FT_BASE/.
* builds/exports.mk: Manually add TT_New_Context to EXPORTS_LIST too.
2005-11-17 02:53:07 +01:00
|
|
|
|
(FT_Trace_Get_Count, FT_Trace_Get_Name, FT_Message, FT_Panic),
|
2005-11-17 09:12:00 +01:00
|
|
|
|
include/freetype/internal/ftobjs.h (FT_New_Memory, FT_Done_Memory),
|
|
|
|
|
include/freetype/internal/ftstream.h (FT_Stream_Open),
|
|
|
|
|
src/base/ftsystem.c (FT_New_Memory, FT_Done_Memory, FT_Stream_Open):
|
|
|
|
|
s/FT_EXPORT/FT_BASE/.
|
* src/base/ftcalc.c (FT_MulTo64): Commented out.
* include/freetype/internal/ftcalc.h (FT_SqrtFixed), src/base/ftcalc.c
(FT_SqrtFixed), include/freetype/internal/ftdebug.h
(FT_Trace_Get_Count, FT_Trace_Get_Name, FT_Message, FT_Panic),
src/base/ftdebug.c (FT_Trace_Get_Count, FT_Trace_Get_Name, FT_Message,
FT_Panic), include/freetype/internal/ftobjs.h (FT_New_Memory,
FT_Done_Memory), include/freetype/internal/ftstream.h
(FT_Stream_Open), src/base/ftsystem.c (FT_New_Memory, FT_Done_Memory,
FT_Stream_Open): s/FT_EXPORT/FT_BASE/.
* builds/exports.mk: Manually add TT_New_Context to EXPORTS_LIST too.
2005-11-17 02:53:07 +01:00
|
|
|
|
|
2005-11-17 09:12:00 +01:00
|
|
|
|
* builds/exports.mk: Manually add TT_New_Context to EXPORTS_LIST
|
|
|
|
|
too.
|
* src/base/ftcalc.c (FT_MulTo64): Commented out.
* include/freetype/internal/ftcalc.h (FT_SqrtFixed), src/base/ftcalc.c
(FT_SqrtFixed), include/freetype/internal/ftdebug.h
(FT_Trace_Get_Count, FT_Trace_Get_Name, FT_Message, FT_Panic),
src/base/ftdebug.c (FT_Trace_Get_Count, FT_Trace_Get_Name, FT_Message,
FT_Panic), include/freetype/internal/ftobjs.h (FT_New_Memory,
FT_Done_Memory), include/freetype/internal/ftstream.h
(FT_Stream_Open), src/base/ftsystem.c (FT_New_Memory, FT_Done_Memory,
FT_Stream_Open): s/FT_EXPORT/FT_BASE/.
* builds/exports.mk: Manually add TT_New_Context to EXPORTS_LIST too.
2005-11-17 02:53:07 +01:00
|
|
|
|
|
2005-11-15 18:30:56 +01:00
|
|
|
|
2005-11-15 David Turner <david@freetype.org>
|
|
|
|
|
|
2005-11-16 19:09:27 +01:00
|
|
|
|
* src/base/fttrigon.c (ft_trig_prenorm): Fix a bug that created
|
2005-11-15 18:30:56 +01:00
|
|
|
|
invalid computations, resulting in very weird bugs in TrueType
|
2005-11-16 19:09:27 +01:00
|
|
|
|
bytecode hinted fonts.
|
2005-11-15 18:30:56 +01:00
|
|
|
|
|
2005-11-16 19:09:27 +01:00
|
|
|
|
* src/truetype/ttinterp.c (FT_UNUSED_EXEC): Don't perform a
|
|
|
|
|
structure copy each time.
|
2005-11-15 18:30:56 +01:00
|
|
|
|
|
2005-11-12 18:07:11 +01:00
|
|
|
|
2005-11-11 Werner Lemberg <wl@gnu.org>
|
|
|
|
|
|
|
|
|
|
* src/cache/ftccache.c (FTC_Cache_Clear), src/cache/ftcmanag.c
|
|
|
|
|
(FTC_Manager_Check): Remove FT_EXPORT_DEF tag.
|
|
|
|
|
|
2005-11-15 18:30:56 +01:00
|
|
|
|
* src/base/ftcalc.c (FT_Add64): Remove FT_EXPORT_DEF tag.
|
2005-11-12 18:07:11 +01:00
|
|
|
|
(FT_Div64by32, FT_Sqrt32): Commented out. Unused.
|
|
|
|
|
|
|
|
|
|
* include/freetype/internal/ftcalc.h (SQRT_32): Removed. Unused.
|
|
|
|
|
(FT_Sqrt32): Commented out. Unused.
|
|
|
|
|
|
|
|
|
|
* include/freetype/cache/ftccache.h:
|
|
|
|
|
s/ftc_node_destroy/FTC_Node_Destroy/.
|
|
|
|
|
|
|
|
|
|
* src/cache/ftccback.h (ftc_node_destroy): New declaration.
|
|
|
|
|
|
|
|
|
|
* src/cache/ftccache.c (ftc_node_destroy): Use FT_LOCAL_DEF tag.
|
|
|
|
|
(FTC_Node_Destroy): New exported wrapper function for
|
|
|
|
|
ftc_node_destroy.
|
|
|
|
|
|
|
|
|
|
* src/cache/ftcmanag.c: Include ftccback.c.
|
|
|
|
|
|
2005-11-11 16:49:14 +01:00
|
|
|
|
2005-11-10 Werner Lemberg <wl@gnu.org>
|
|
|
|
|
|
|
|
|
|
* src/autofit/afangles.c, src/autofit/aftypes.h (af_angle_diff):
|
|
|
|
|
Comment out. Unused.
|
|
|
|
|
|
2005-11-11 17:20:59 +01:00
|
|
|
|
* builds/exports.mk ($(EXPORTS_LIST)): Add TT_RunIns.
|
|
|
|
|
|
2005-11-11 16:49:14 +01:00
|
|
|
|
2005-11-10 Christian Biesinger <cbiesinger@web.de>
|
|
|
|
|
|
|
|
|
|
* builds/beos/beos.mk: Call beos-def.mk before anything else to
|
|
|
|
|
define the separator.
|
|
|
|
|
|
|
|
|
|
* builds/unix/unix-cc.in (LINK_LIBRARY): Add `-no-undefined' flag.
|
|
|
|
|
|
2005-11-08 10:10:16 +01:00
|
|
|
|
2005-11-07 Werner Lemberg <wl@gnu.org>
|
|
|
|
|
|
|
|
|
|
* src/type1/t1afm.c (T1_Read_PFM): Zero offset means `no kerning
|
|
|
|
|
table available'. From Sergey Tolstov <stolstov@esri.com>.
|
|
|
|
|
|
2005-11-04 07:58:49 +01:00
|
|
|
|
2005-11-03 Ville Syrj<72>l<EFBFBD> <syrjala@sci.fi>
|
|
|
|
|
|
|
|
|
|
* src/base/ftobjs.c (FT_Open_Face): Avoid possible memory leak.
|
|
|
|
|
|
|
|
|
|
2005-11-02 Werner Lemberg <wl@gnu.org>
|
|
|
|
|
|
|
|
|
|
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.
|
|
|
|
|
|
2005-11-02 10:24:00 +01:00
|
|
|
|
2005-10-28 David Turner <david@freetype.org>
|
|
|
|
|
|
2005-11-12 08:34:40 +01:00
|
|
|
|
Update build system to support the generation of a list of exported
|
|
|
|
|
symbols or Windows .DEF files by parsing the public headers with the
|
2005-11-04 07:58:49 +01:00
|
|
|
|
`apinames' tool located in src/tools/apinames.c.
|
2005-11-02 10:24:00 +01:00
|
|
|
|
|
2005-11-04 07:58:49 +01:00
|
|
|
|
Only tested on Unix at the moment. On Windows, the .DEF file is
|
|
|
|
|
generated but isn't used yet to generate a DLL.
|
2005-11-02 10:24:00 +01:00
|
|
|
|
|
2005-11-12 08:34:40 +01:00
|
|
|
|
* builds/exports.mk: New file.
|
|
|
|
|
|
|
|
|
|
* builds/freetype.mk: Include exports.mk.
|
|
|
|
|
(dll): New target.
|
|
|
|
|
(clean_project_dos): Fix rule.
|
|
|
|
|
|
|
|
|
|
* builds/compiler/visualc.mk (TE), builds/dos/dos-def.mk (E),
|
|
|
|
|
builds/os2/os2-def.mk (E), builds/win32/win32-def.mk (E): New
|
|
|
|
|
variables for controlling executable extensions.
|
|
|
|
|
|
|
|
|
|
* builds/unix/unix-cc.in (EXPORTS_LIST, CCexe),
|
|
|
|
|
builds/win32/w32-bcc.mk, builds/win32/w32-gcc.mk,
|
|
|
|
|
builds/win32/w32-icc.mk, builds/win32/w32-icc.mk,
|
|
|
|
|
builds/win32/w32-mingw32.mk, builds/win32/w32-vcc,
|
|
|
|
|
builds/win32/w32-wat.mk (EXPORTS_LIST, EXPORT_OPTIONS,
|
|
|
|
|
APINAMES_OPTIONS): New targets for controlling the `apinames' tool.
|
|
|
|
|
|
|
|
|
|
* Jamfile (GenExportSymbols): Updated.
|
|
|
|
|
|
2005-11-02 10:24:00 +01:00
|
|
|
|
|
2005-11-12 08:34:40 +01:00
|
|
|
|
* src/pfr/pfrtypes.h, src/pfr/pfrload.c, src/pfr/pfrobjs.c
|
|
|
|
|
[!FT_OPTIMIZE_MEMORY]: Fold memory optimization code into
|
|
|
|
|
FT_OPTIMIZE_MEMORY chunks for better maintainability and simplicity.
|
2005-11-02 10:24:00 +01:00
|
|
|
|
|
|
|
|
|
|
2005-11-12 08:34:40 +01:00
|
|
|
|
* src/base/fttrigon.c (ft_trig_prenorm), src/base/ftcalc.c
|
|
|
|
|
(FT_MulFix): Performance optimizations.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* include/freetype/internal/ftgloadr.h (FT_GLYPHLOADER_CHECK_P,
|
|
|
|
|
FT_GLYPHLOADER_CHECK_C, FT_GLYPHLOADER_CHECK_POINTS): New macros for
|
|
|
|
|
checking points and contours. Update callers to use
|
|
|
|
|
FT_GLYPHLOADER_CHECK_POINTS instead of FT_GlyphLoader_CheckPoints
|
|
|
|
|
at profile-detected hot-spots.
|
|
|
|
|
|
|
|
|
|
* src/base/ftgloadr.c (FT_GlyphLoader_CheckPoints): Set `adjust'
|
|
|
|
|
to 0 to not call `AdjustPoints' every time.
|
|
|
|
|
|
2005-11-02 10:24:00 +01:00
|
|
|
|
|
2005-11-04 07:58:49 +01:00
|
|
|
|
* src/autofit/aftypes.h (AF_ANGLE_DIFF): New macro to inline
|
|
|
|
|
FT_Angle_Diff.
|
2005-11-02 10:24:00 +01:00
|
|
|
|
|
2005-11-12 08:34:40 +01:00
|
|
|
|
* src/autofit/afhints.c (af_direction_compute): Re-implement.
|
|
|
|
|
(af_glyph_hints_compute_inflections, af_glyph_hints_reload): Use
|
2005-11-04 07:58:49 +01:00
|
|
|
|
AF_ANGLE_DIFF to speed up the detection of inflexions.
|
2005-11-02 10:24:00 +01:00
|
|
|
|
|
2005-11-12 08:34:40 +01:00
|
|
|
|
|
|
|
|
|
* src/tools/apinames.c: Include <string.h>.
|
|
|
|
|
(OutputFormat): New enumeration.
|
|
|
|
|
(names_dump): Add two parameters to control output format and DLL
|
|
|
|
|
name.
|
|
|
|
|
(names_dump_windef): Removed. Code folded into `names_dump'.
|
|
|
|
|
(read_header_file): Use isalnum, not isalpha. Otherwise function
|
|
|
|
|
names with digits aren't read correctly.
|
|
|
|
|
(usage): Updated.
|
|
|
|
|
(main): New option `-o' to control output file name.
|
|
|
|
|
New option `-d' to indicate DLL file name.
|
|
|
|
|
Extend `-w' flag to handle Borland and Watcom compilers and linkers.
|
|
|
|
|
|
2005-10-28 18:03:06 +02:00
|
|
|
|
2005-10-28 suzuki toshiya <mpsuzuki@hiroshima-u.ac.jp>
|
|
|
|
|
|
|
|
|
|
* builds/mac/ftlib.prj, builds/mac/freetype.mak: Removed.
|
|
|
|
|
ftlib.prj is unmaintained and incompatible with current tree.
|
|
|
|
|
freetype.mak is unrecoverably broken.
|
|
|
|
|
|
|
|
|
|
* builds/mac/ftlib.prj.xml: Added.
|
2006-01-08 14:37:15 +01:00
|
|
|
|
Generated by Metrowerks CodeWarrior 9.0.
|
2005-10-28 18:03:06 +02:00
|
|
|
|
|
|
|
|
|
* builds/mac/FreeType.m68k_far.make.txt,
|
|
|
|
|
builds/mac/FreeType.m68k_cfm.make.txt,
|
|
|
|
|
builds/mac/FreeType.ppc_classic.make.txt,
|
|
|
|
|
builds/mac/FreeType.ppc_carbon.make.txt: Added.
|
2006-01-08 14:37:15 +01:00
|
|
|
|
Skeleton files of MPW makefiles.
|
2005-10-28 18:03:06 +02:00
|
|
|
|
|
|
|
|
|
* builds/mac/ascii2mpw.py: Added.
|
2006-01-08 14:37:15 +01:00
|
|
|
|
Python script to make MPW makefile from skeleton.
|
2005-10-28 18:03:06 +02:00
|
|
|
|
|
|
|
|
|
* builds/mac/README: Updated.
|
|
|
|
|
Almost rewritten to use new files.
|
|
|
|
|
|
2005-10-28 17:39:58 +02:00
|
|
|
|
2005-10-28 suzuki toshiya <mpsuzuki@hiroshima-u.ac.jp>
|
|
|
|
|
|
2006-01-08 14:37:15 +01:00
|
|
|
|
* src/base/ftmac.c: Fix invalid casts from NULL to integer typed
|
|
|
|
|
variables. Advised by David Turner, Masatake YAMATO, Sean McBride,
|
2005-10-28 17:39:58 +02:00
|
|
|
|
and George Williams.
|
|
|
|
|
|
2005-10-27 23:28:35 +02:00
|
|
|
|
2005-10-27 Werner Lemberg <wl@gnu.org>
|
|
|
|
|
|
|
|
|
|
* include/freetype/ftsysmem.h, include/freetype/ftsysio.h: Removed.
|
|
|
|
|
Obsolete.
|
|
|
|
|
|
2005-10-26 20:37:40 +02:00
|
|
|
|
2005-10-25 Werner Lemberg <wl@gnu.org>
|
|
|
|
|
|
|
|
|
|
* src/sfnt/sfdriver.c (sfnt_interface): Move out
|
|
|
|
|
`tt_face_get_kerning' from a #ifdef clause. Reported by Tony J.
|
|
|
|
|
Ibbs <tibs@sj.co.uk>.
|
|
|
|
|
|
2005-10-23 21:31:01 +02:00
|
|
|
|
2005-10-23 Werner Lemberg <wl@gnu.org>
|
|
|
|
|
|
|
|
|
|
* src/base/ftdbgmem.c (ft_mem_debug_realloc): Make it compile with
|
|
|
|
|
C++.
|
|
|
|
|
|
2005-10-21 12:01:25 +02:00
|
|
|
|
2005-10-21 David Turner <david@freetype.org>
|
|
|
|
|
|
2005-10-22 12:34:45 +02:00
|
|
|
|
* src/base/ftdbgmem.c (ft_mem_table_set, ft_mem_debug_realloc):
|
|
|
|
|
Another realloc memory counting bug fix.
|
2005-10-21 12:01:25 +02:00
|
|
|
|
|
2005-10-22 12:34:45 +02:00
|
|
|
|
* src/tools/Jamfile: Add missing file.
|
2005-10-21 12:01:25 +02:00
|
|
|
|
|
2005-10-22 12:34:45 +02:00
|
|
|
|
* src/lzw/Jamfile: Fix incorrect source file reference.
|
2005-10-21 12:01:25 +02:00
|
|
|
|
|
2005-10-20 17:33:34 +02:00
|
|
|
|
2005-10-20 David Turner <david@freetype.org>
|
|
|
|
|
|
2005-10-21 11:08:28 +02:00
|
|
|
|
* src/base/ftdbgmem.c (ft_mem_table_set, ft_mem_table_remove,
|
|
|
|
|
ft_mem_debug_alloc, ft_mem_debug_free, ft_mem_debug_realloc): Fixes
|
|
|
|
|
to better account for memory reallocations.
|
2005-10-20 17:33:34 +02:00
|
|
|
|
|
2005-10-21 11:08:28 +02:00
|
|
|
|
* src/lzw/ftlzw2.c, src/lzw/ftzopen.h, src/lzw/ftzopen.c,
|
2005-10-21 12:01:25 +02:00
|
|
|
|
src/lzw/rules.mk: First version of LZW loader re-implementation.
|
|
|
|
|
Apparently, this saves about 330 KB of heap memory when loading
|
2005-10-21 11:08:28 +02:00
|
|
|
|
timR24.pcf.Z.
|
2005-10-20 17:33:34 +02:00
|
|
|
|
|
2005-10-20 04:13:46 +02:00
|
|
|
|
2005-10-20 Chia-I Wu <b90201047@ntu.edu.tw>
|
|
|
|
|
|
|
|
|
|
* include/freetype/ftbitmap.h (FT_Bitmap_Copy, FT_Bitmap_Embolden),
|
|
|
|
|
src/base/ftbdf.c (FT_Get_BDF_Property), src/cache/ftcmru.c
|
2005-10-21 11:08:28 +02:00
|
|
|
|
(FTC_MruList_Reset, FTC_MruList_Done, FTC_MruList_Lookup): Fix
|
|
|
|
|
FT_EXPORT/FT_EXPORT_DEF tagging.
|
2005-10-20 04:13:46 +02:00
|
|
|
|
|
2005-10-19 10:07:38 +02:00
|
|
|
|
2005-10-19 Chia-I Wu <b90201047@ntu.edu.tw>
|
2005-10-18 08:09:13 +02:00
|
|
|
|
|
2005-10-21 11:08:28 +02:00
|
|
|
|
* src/truetype/ttgload.c (TT_Load_Glyph): Allow size->ttmetrics to
|
|
|
|
|
be invalid when FT_LOAD_NO_SCALE is set.
|
2005-10-19 10:07:38 +02:00
|
|
|
|
|
|
|
|
|
2005-10-17 David Turner <david@freetype.org>
|
|
|
|
|
|
|
|
|
|
* src/base/ftobjs.c (FT_Open_Face): Don't call FT_New_GlyphSlot and
|
|
|
|
|
FT_New_Size if we are opening a face with face_index < 0 (which is
|
|
|
|
|
only used for testing the format).
|
|
|
|
|
|
|
|
|
|
* src/gxvalid/gxvmort0.c (gxv_mort_subtable_type0_entry_validate):
|
|
|
|
|
Remove compiler warning.
|
2005-10-18 08:09:13 +02:00
|
|
|
|
|
|
|
|
|
2005-10-16 David Turner <david@freetype.org>
|
|
|
|
|
|
2005-10-19 10:07:38 +02:00
|
|
|
|
* src/tools/apinames.c: Add new tool to extract public API function
|
|
|
|
|
names from header files.
|
2005-10-18 08:09:13 +02:00
|
|
|
|
|
|
|
|
|
2005-10-05 Werner Lemberg <wl@gnu.org>
|
|
|
|
|
|
|
|
|
|
Add FT_FACE_FLAG_HINTER to indicate that a specific font driver has
|
|
|
|
|
a hinting engine of its own.
|
|
|
|
|
|
|
|
|
|
* include/freetype/freetype.h (FT_FACE_FLAG_HINTER): New macro.
|
|
|
|
|
|
|
|
|
|
* src/cff/cffobjs.c (cff_face_init), src/cid/cidobjs.c
|
|
|
|
|
(cid_face_init), src/truetype/ttobjs.c (tt_face_init)
|
|
|
|
|
[TT_CONFIG_OPTION_BYTECODE_INTERPRETER], src/type1/t1objs.c
|
|
|
|
|
(T1_Face_Init), src/type42/t42objs.c (T42_Face_Init)
|
|
|
|
|
[TT_CONFIG_OPTION_BYTECODE_INTERPRETER]: Update face flags.
|
|
|
|
|
|
|
|
|
|
* docs/CHANGES: Document it.
|
|
|
|
|
|
|
|
|
|
2005-09-27 Werner Lemberg <wl@gnu.org>
|
|
|
|
|
|
|
|
|
|
* builds/unix/freetype2.m4: Add license exception so that the file
|
|
|
|
|
can be used in any other autoconf script.
|
|
|
|
|
|
|
|
|
|
2005-09-26 David Turner <david@freetype.org>
|
|
|
|
|
|
|
|
|
|
* src/autofit/aflatin.c (af_latin_compute_stem_width): Fix bad
|
|
|
|
|
computation of the `vertical' flag, causing ugly things in LCD mode
|
|
|
|
|
and others.
|
|
|
|
|
|
|
|
|
|
2005-09-23 David Turner <david@freetype.org>
|
|
|
|
|
|
|
|
|
|
* src/autofit/aflatin.c (af_latin_hints_init): Fix a bug that
|
|
|
|
|
prevented internal hint mode bitflags from being computed correctly.
|
|
|
|
|
|
|
|
|
|
* src/base/Jamfile: Adding src/base/ftgxval.c.
|
|
|
|
|
|
|
|
|
|
* src/gxvalid/gxvbsln.c, src/gxvalid/gxvcommn.c,
|
|
|
|
|
src/gxvalid/gxvfeat.c, src/gxvalid/gxvjust.c, src/gxvalid/gxvkern.c,
|
|
|
|
|
src/gxvalid/gxvlcar.c, src/gxvalid/gxvmort.c,
|
|
|
|
|
src/gxvalid/gxvmort0.c, src/gxvalid/gxvmort1.c,
|
|
|
|
|
src/gxvalid/gxvmort2.c, src/gxvalid/gxvmort4.c,
|
|
|
|
|
src/gxvalid/gxvmort5.c, src/gxvalid/gxvmorx.c,
|
|
|
|
|
src/gxvalid/gxvmorx0.c, src/gxvalid/gxvmorx1.c,
|
|
|
|
|
src/gxvalid/gxvmorx2.c, src/gxvalid/gxvmorx5.c,
|
|
|
|
|
src/gxvalid/gxvopbd.c, src/gxvalid/gxvprop.c,
|
|
|
|
|
src/truetype/ttgload.c: Remove _many_ compiler warnings when
|
|
|
|
|
compiling with Visual C++ at maximum level (/W4).
|
|
|
|
|
|
|
|
|
|
* src/autofit/afangles.c (af_angle_atan): Replaced CORDIC-based
|
|
|
|
|
implementation with one using lookup tables. This simple thing
|
|
|
|
|
speeds up glyph loading by 18%, according to ftbench!
|
|
|
|
|
|
|
|
|
|
* src/sfnt/sfdriver.c (sfnt_get_interface): Don't check for
|
|
|
|
|
`get_sfnt' and `load_sfnt' module interfaces.
|
|
|
|
|
|
|
|
|
|
2005-09-22 Werner Lemberg <wl@gnu.org>
|
|
|
|
|
|
|
|
|
|
* docs/CHANGES: Mention SING Glyphlet support.
|
|
|
|
|
|
|
|
|
|
2005-09-22 David Turner <david@freetype.org>
|
|
|
|
|
|
|
|
|
|
* src/base/Jamfile: Disable compilation of ftgxval module
|
|
|
|
|
temporarily.
|
|
|
|
|
|
|
|
|
|
2005-09-19 David Somers <dsomers@omz13.com>
|
|
|
|
|
|
|
|
|
|
* freetype2/src/sfnt/ttload.c (sfnt_dir_check): Modified to allow a
|
|
|
|
|
font to have no `head' table if tables `SING' and `META' are
|
|
|
|
|
present; this is to support `SING Glyphlet'.
|
|
|
|
|
|
|
|
|
|
`SING Glyphlet' is an extension to OpenType developed by Adobe
|
|
|
|
|
primarily to facilitate adding supplemental glyphs to an OpenType
|
|
|
|
|
font (with emphasis on, but not necessariy limited to, gaiji to a
|
|
|
|
|
CJK font). A SING Glyphlet Font is an OpenType font that contains
|
|
|
|
|
the outline(s), either in a `glyf' or `CFF' table, for a glyph;
|
|
|
|
|
`cmap', `BASE', and `GSUB' tables are present with the same format
|
|
|
|
|
and functionaliy as a regular OpenType font; there are no `name',
|
|
|
|
|
`head', `OS/2', and `post' tables; there are two new tables, `SING'
|
|
|
|
|
which contains details about the glyphlet, and `META' which contains
|
|
|
|
|
metadata.
|
|
|
|
|
|
|
|
|
|
Further information on the SING Glyphlet format can be found at:
|
|
|
|
|
|
|
|
|
|
http://www.adobe.com/products/indesign/sing_gaiji.html
|
|
|
|
|
|
|
|
|
|
* freetype2/include/freetype/ttags.h (TTAG_SING, TTAG_META): New
|
|
|
|
|
macros for the OpenType tables `SING' and `META'. These two tables
|
|
|
|
|
are used in SING Glyphlet Format fonts.
|
|
|
|
|
|
|
|
|
|
2005-09-09 Werner Lemberg <wl@gnu.org>
|
|
|
|
|
|
|
|
|
|
* src/sfnt/sfobjs.c (sfnt_load_face): Reactivate code to set
|
|
|
|
|
FT_FACE_FLAG_KERNING which has been commented out erroneously.
|
|
|
|
|
|
|
|
|
|
* docs/CHANGES: Document it.
|
|
|
|
|
|
|
|
|
|
2005-09-05 Werner Lemberg <wl@gnu.org>
|
|
|
|
|
|
|
|
|
|
Fixes for `make multi' and using C++ compiler.
|
|
|
|
|
|
|
|
|
|
* gxvalid/gxvcommn.c (gxv_set_length_by_ushort_offset,
|
|
|
|
|
gxv_set_length_by_ulong_offset, gxv_array_getlimits_byte,
|
|
|
|
|
gxv_array_getlimits_ushort): Declare with FT_LOCAL_DEF.
|
|
|
|
|
(gxv_compare_ranges): Make it static.
|
|
|
|
|
(gxv_LookupTable_fmt0_validate, gxv_LookupTable_fmt2_validate,
|
|
|
|
|
gxv_LookupTable_fmt4_validate, gxv_LookupTable_fmt6_validate,
|
|
|
|
|
gxv_LookupTable_fmt8_validate, gxv_LookupTable_validate): Improve
|
|
|
|
|
trace messages.
|
|
|
|
|
(gxv_StateArray_validate, gxv_XStateArray_validate): s/class/clazz/.
|
|
|
|
|
(GXV_STATETABLE_HEADER_SIZE, GXV_STATEHEADER_SIZE,
|
|
|
|
|
GXV_XSTATETABLE_HEADER_SIZE, GXV_XSTATEHEADER_SIZE): Move to
|
|
|
|
|
gxvcommn.h.
|
|
|
|
|
|
|
|
|
|
* gxvalid/gxvcommn.h: Add prototypes for
|
|
|
|
|
gxv_StateTable_subtable_setup, gxv_XStateTable_subtable_setup,
|
|
|
|
|
gxv_XStateTable_validate, gxv_array_getlimits_byte,
|
|
|
|
|
gxv_array_getlimits_ushort, gxv_set_length_by_ushort_offset,
|
|
|
|
|
gxv_set_length_by_ulong_offset, gxv_odtect_add_range,
|
|
|
|
|
gxv_odtect_validate.
|
|
|
|
|
(GXV_STATETABLE_HEADER_SIZE, GXV_STATEHEADER_SIZE,
|
|
|
|
|
GXV_XSTATETABLE_HEADER_SIZE, GXV_XSTATEHEADER_SIZE): Moved from
|
|
|
|
|
gxvcommn.c.
|
|
|
|
|
|
|
|
|
|
* src/gxvalid/gxvbsln.c (gxv_bsln_LookupValue_validate,
|
|
|
|
|
gxv_bsln_parts_fmt1_validate): Improve trace messages.
|
|
|
|
|
|
|
|
|
|
* gxvalid/gxvfeat.c: Split off predefined registry stuff to...
|
|
|
|
|
* gxvalid/gxvfeat.h: New file.
|
|
|
|
|
|
|
|
|
|
* gxvalid/gxvjust.c (gxv_just_wdc_entry_validate): Improve trace
|
|
|
|
|
message.
|
|
|
|
|
|
|
|
|
|
* gxvalid/gxvkern.c (GXV_kern_Dialect): Add KERN_DIALECT_UNKNOWN.
|
|
|
|
|
(gxv_kern_subtable_fmt1_valueTable_load,
|
|
|
|
|
gxv_kern_subtable_fmt1_subtable_setup,
|
|
|
|
|
gxv_kern_subtable_fmt1_entry_validate): Fix C++ compiler errors.
|
|
|
|
|
(gxv_kern_coverage_validate): Use KERN_DIALECT_UNKWOWN.
|
|
|
|
|
Improve trace message.
|
|
|
|
|
(gxv_kern_validate_generic): Fix C++ compiler error.
|
|
|
|
|
Improve trace message.
|
|
|
|
|
(gxv_kern_validate_classic): Fix C++ compiler error.
|
|
|
|
|
|
|
|
|
|
* gxvalid/gxvmort0.c (gxv_mort_subtable_type0_validate): Declare
|
|
|
|
|
with FT_LOCAL_DEF.
|
|
|
|
|
|
|
|
|
|
* gxvalid/gxvmort1.c
|
|
|
|
|
(gxv_mort_subtable_type1_substitutionTable_load,
|
|
|
|
|
gxv_mort_subtable_type1_subtable_setup): Fix C++ compiler errors.
|
|
|
|
|
(gxv_mort_subtable_type1_substTable_validate): Improve trace
|
|
|
|
|
message.
|
|
|
|
|
(gxv_mort_subtable_type1_validate): Declare with FT_LOCAL_DEF.
|
|
|
|
|
|
|
|
|
|
* gxvalid/gxvmort2.c (gxv_mort_subtable_type2_opttable_load,
|
|
|
|
|
gxv_mort_subtable_type2_subtable_setup,
|
|
|
|
|
gxv_mort_subtable_type2_ligActionOffset_validate,
|
|
|
|
|
gxv_mort_subtable_type2_ligatureTable_validate): Fix C++ compiler
|
|
|
|
|
errors.
|
|
|
|
|
(gxv_mort_subtable_type2_validate): Declare with FT_LOCAL_DEF.
|
|
|
|
|
|
|
|
|
|
* gxvalid/gxvmort4.c (gxv_mort_subtable_type4_validate): Declare
|
|
|
|
|
with FT_LOCAL_DEF.
|
|
|
|
|
|
|
|
|
|
* gxvalid/gxvmort5.c (gxv_mort_subtable_type5_subtable_setup,
|
|
|
|
|
gxv_mort_subtable_type5_InsertList_validate): Fix C++ compiler
|
|
|
|
|
errors.
|
|
|
|
|
(gxv_mort_subtable_type5_validate): Declare with FT_LOCAL_DEF.
|
|
|
|
|
|
|
|
|
|
* gxvalid/gxvmort.c: Include gxvfeat.h.
|
|
|
|
|
(gxv_mort_featurearray_validate, gxv_mort_coverage_validate):
|
|
|
|
|
Declare with FT_LOCAL_DEF.
|
|
|
|
|
(gxv_mort_subtables_validate, gxv_mort_validate): Improve trace
|
|
|
|
|
messages.
|
|
|
|
|
|
|
|
|
|
* gxvalid/gxvmort.h (gxv_mort_feature_validate): Remove.
|
|
|
|
|
|
|
|
|
|
* gxvalid/gxvmorx0.c (gxv_morx_subtable_type0_validate): Declare
|
|
|
|
|
with FT_LOCAL_DEF.
|
|
|
|
|
|
|
|
|
|
* gxvalid/gxvmorx1.c
|
|
|
|
|
(gxv_morx_subtable_type1_substitutionTable_load,
|
|
|
|
|
gxv_morx_subtable_type1_subtable_setup,
|
|
|
|
|
gxv_morx_subtable_type1_entry_validate,
|
|
|
|
|
gxv_morx_subtable_type1_substitutionTable_validate): Fix C++
|
|
|
|
|
compiler errors.
|
|
|
|
|
(gxv_morx_subtable_type1_validate): Declare with FT_LOCAL_DEF.
|
|
|
|
|
|
|
|
|
|
* gxvalid/gxvmorx2.c (gxv_morx_subtable_type2_opttable_load,
|
|
|
|
|
gxv_morx_subtable_type2_subtable_setup,
|
|
|
|
|
gxv_morx_subtable_type2_ligActionIndex_validate,
|
|
|
|
|
gxv_morx_subtable_type2_ligatureTable_validate): Fix C++ compiler
|
|
|
|
|
errors.
|
|
|
|
|
(gxv_morx_subtable_type2_validate): Declare with FT_LOCAL_DEF.
|
|
|
|
|
Fix typo.
|
|
|
|
|
|
|
|
|
|
* gxvalid/gxvmorx4.c (gxv_morx_subtable_type4_validate): Declare
|
|
|
|
|
with FT_LOCAL_DEF.
|
|
|
|
|
|
|
|
|
|
* gxvalid/gxvmorx5.c (gxv_morx_subtable_type5_insertionGlyph_load,
|
|
|
|
|
gxv_morx_subtable_type5_subtable_setup): Fix C++ compiler error.
|
|
|
|
|
(gxv_morx_subtable_type5_validate): Declare with FT_LOCAL_DEF.
|
|
|
|
|
|
|
|
|
|
* gxvalid/gxvmorx.c (gxv_morx_subtables_validate,
|
|
|
|
|
gxv_morx_validate): Improve trace message.
|
|
|
|
|
|
|
|
|
|
* gxvalid/gxvopbd.c (gxv_opbd_LookupFmt4_transit): Fix compiler
|
|
|
|
|
warnings.
|
|
|
|
|
(gxv_opbd_validate): Improve trace message.
|
|
|
|
|
|
|
|
|
|
* gxvalid/gxvprop.c: Decorate constants with `U' and `L' where
|
|
|
|
|
appropriate.
|
|
|
|
|
(gxv_prop_zero_advance_validate, gxv_prop_validate): Improve trace
|
|
|
|
|
message.
|
|
|
|
|
|
|
|
|
|
* gxvalid/gxvtrak.c (gxv_trak_trackTable_validate): Remove unused
|
|
|
|
|
parameter. Update all callers.
|
|
|
|
|
(gxv_trak_validate): Improve trace message.
|
|
|
|
|
|
|
|
|
|
* rules.mk (GXV_DRV_H): Add gxvfeat.h.
|
|
|
|
|
|
|
|
|
|
2005-09-01 Werner Lemberg <wl@gnu.org>
|
|
|
|
|
|
|
|
|
|
* src/gxvalid/gxvbsln.c (GXV_BSLN_VALUE_EMPTY): Add `U'.
|
|
|
|
|
|
|
|
|
|
* src/gxvalid/gxmort1.c (GXV_MORT_SUBTABLE_TYPE1_HEADER_SIZE),
|
|
|
|
|
src/gxvalid/gxmort2.c (GXV_MORT_SUBTABLE_TYPE2_HEADER_SIZE): Fix
|
|
|
|
|
typo.
|
|
|
|
|
|
|
|
|
|
* src/gxvalid/gxvmorx0.c, src/gxvalid/gxvmorx1.c,
|
|
|
|
|
src/gxvalid/gxvmorx2.c, src/gxvalid/gxvmorx4.c,
|
|
|
|
|
src/gxvalid/gxvmorx5.c, src/gxvalid/gxvmort.c: Improve trace
|
|
|
|
|
messages.
|
|
|
|
|
Decorate constants with `U' and `L' where appropriate.
|
|
|
|
|
Fix compiler warnings.
|
|
|
|
|
|
|
|
|
|
2005-08-31 Werner Lemberg <wl@gnu.org>
|
|
|
|
|
|
|
|
|
|
* src/truetype/ttgload.c (load_truetype_glyph): Fix typo.
|
|
|
|
|
|
|
|
|
|
* src/gxvalid/gxvbsln.c (gxv_bsln_validate): Fix trace message.
|
|
|
|
|
|
|
|
|
|
* src/gxvalid/gxvcommn.c (gxv_odtect_add_range): Use `const'.
|
|
|
|
|
|
|
|
|
|
* src/gxvalid/gxvfeat.c, src/gxvalid/gxvjust.c,
|
|
|
|
|
src/gxvalid/gxvkern.c, src/gxvalid/gxvlcar.c, src/gxvalid/gxvmod.c,
|
|
|
|
|
src/gxvalid/gxvmort0.c, src/gxvalid/gxvmort1.c,
|
|
|
|
|
src/gxvalid/gxvmort2.c, src/gxvalid/gxvmort4.c,
|
|
|
|
|
src/gxvalid/gxvmort5.c, src/gxvalid/gxvmort.c: Improve trace
|
|
|
|
|
messages.
|
|
|
|
|
Decorate constants with `U' and `L' where appropriate.
|
|
|
|
|
Fix compiler warnings.
|
|
|
|
|
|
|
|
|
|
2005-08-30 Werner Lemberg <wl@gnu.org>
|
|
|
|
|
|
|
|
|
|
* src/gxvalid/README: Revised.
|
|
|
|
|
* src/gxvalid/gxvbsln.c: Fix compiler warnings.
|
|
|
|
|
* src/gxvalid/gxvcommn.c: Fix compiler warnings.
|
|
|
|
|
(gxv_XEntryTable_validate, gxv_compare_ranges): Remove unused
|
|
|
|
|
parameter. Update all callers.
|
|
|
|
|
Improve trace messages.
|
|
|
|
|
Some formatting.
|
|
|
|
|
|
|
|
|
|
2005-08-29 Werner Lemberg <wl@gnu.org>
|
|
|
|
|
|
|
|
|
|
* include/freetype/freetype.h, include/freetype/ftchapters.h: Add
|
|
|
|
|
a preliminary section with some explanations about user allocation.
|
|
|
|
|
|
|
|
|
|
* src/tools/docmaker/tohtml.py (HtmlFormatter.section_enter):
|
|
|
|
|
Don't abort if there are no data types, functions, etc., in a
|
|
|
|
|
section.
|
|
|
|
|
Print synopsis only if we have a data type, function, etc.
|
|
|
|
|
|
|
|
|
|
* docs/INSTALL.ANY, docs/INSTALL, docs/INSTALL.UNX, docs/CUSTOMIZE,
|
|
|
|
|
docs/INSTALL.GNU, docs/TRUETYPE, docs/DEBUG, docs/UPGRADE.UNX,
|
|
|
|
|
docs/VERSION.DLL, docs/formats.txt: Revised, formatted.
|
|
|
|
|
|
|
|
|
|
2005-08-28 George Williams <gww@silcom.com>
|
|
|
|
|
|
|
|
|
|
* src/truetype/ttgload.c [TT_MAX_COMPOSITE_RECURSE]: Removed.
|
|
|
|
|
(load_truetype_glyph): Limit recursion depth by `maxComponentDepth'.
|
|
|
|
|
|
|
|
|
|
2005-08-25 J. Ali Harlow <ali@avrc.city.ac.uk>
|
|
|
|
|
|
|
|
|
|
* builds/unix/freetype2.in (CFlags): Add missing directory.
|
|
|
|
|
|
|
|
|
|
2005-08-24 Werner Lemberg <wl@gnu.org>
|
|
|
|
|
|
|
|
|
|
* docs/CHANGES: Mention gxvalid module.
|
|
|
|
|
|
|
|
|
|
2005-08-23 Werner Lemberg <wl@gnu.org>
|
|
|
|
|
|
|
|
|
|
* src/autofit/aflatin.c (af_latin_metrics_scale): Initialize
|
|
|
|
|
render mode properly. Reported by chris@dokein.co.uk.
|
|
|
|
|
|
|
|
|
|
2005-08-23 suzuki toshiya <mpsuzuki@hiroshima-u.ac.jp>
|
|
|
|
|
|
|
|
|
|
Add gxvalid module to validate TrueType GX/AAT tables.
|
|
|
|
|
|
|
|
|
|
Modifications on existing files:
|
|
|
|
|
|
|
|
|
|
* Jamfile: Register gxvalid module.
|
|
|
|
|
* src/base/Jamfile: Register ftgxval.c.
|
|
|
|
|
* src/base/rule.mk: Register ftgxval.c.
|
|
|
|
|
* docs/INSTALL.ANY: Register gxvalid/gxvalid.c.
|
|
|
|
|
|
|
|
|
|
* include/freetype/config/ftheader.h (FT_GX_VALIDATE_H): New macro
|
|
|
|
|
to include gxvalid header file.
|
|
|
|
|
* include/freetype/config/ftmodule.h: Register gxv_module_class.
|
|
|
|
|
|
|
|
|
|
* include/freetype/ftchapters.h: Add comment about gx_validation.
|
|
|
|
|
* include/freetype/ftotval.h: Change keyword FT_VALIDATE_XXX
|
|
|
|
|
to FT_VALIDATE_OTXXX to co-exist with gxvalid.
|
|
|
|
|
* include/freetype/tttags.h: Add tags for TrueType GX/AAT tables.
|
|
|
|
|
|
|
|
|
|
* include/freetype/internal/ftserv.h (FT_SERVICE_GX_VALIDATE_H): New
|
|
|
|
|
macro for gxvalid service.
|
|
|
|
|
* include/freetype/internal/fttrace.h: Add trace facilities for
|
|
|
|
|
gxvalid.
|
|
|
|
|
|
|
|
|
|
New files on existing directories:
|
|
|
|
|
|
|
|
|
|
* include/freetype/internal/services/svgxval.h: Registration of
|
|
|
|
|
validation service for TrueType GX/AAT and classic kern table.
|
|
|
|
|
* include/freetype/ftgxval.h: Public API definition to use gxvalid.
|
|
|
|
|
* src/base/ftgxval.c: Public API of gxvalid.
|
|
|
|
|
|
|
|
|
|
New files under src/gxvalid/:
|
|
|
|
|
|
|
|
|
|
* src/gxvalid/Jamfile src/gxvalid/README src/gxvalid/module.mk
|
|
|
|
|
src/gxvalid/rules.mk src/gxvalid/gxvalid.c src/gxvalid/gxvalid.h
|
|
|
|
|
src/gxvalid/gxvbsln.c src/gxvalid/gxvcommn.c src/gxvalid/gxvcommn.h
|
|
|
|
|
src/gxvalid/gxverror.h src/gxvalid/gxvfeat.c src/gxvalid/gxvfgen.c
|
|
|
|
|
src/gxvalid/gxvjust.c src/gxvalid/gxvkern.c src/gxvalid/gxvlcar.c
|
|
|
|
|
src/gxvalid/gxvmod.c src/gxvalid/gxvmod.h src/gxvalid/gxvmort.c
|
|
|
|
|
src/gxvalid/gxvmort.h src/gxvalid/gxvmort0.c src/gxvalid/gxvmort1.c
|
|
|
|
|
src/gxvalid/gxvmort2.c src/gxvalid/gxvmort4.c src/gxvalid/gxvmort5.c
|
|
|
|
|
src/gxvalid/gxvmorx.c src/gxvalid/gxvmorx.h src/gxvalid/gxvmorx0.c
|
|
|
|
|
src/gxvalid/gxvmorx1.c src/gxvalid/gxvmorx2.c src/gxvalid/gxvmorx4.c
|
|
|
|
|
src/gxvalid/gxvmorx5.c src/gxvalid/gxvopbd.c src/gxvalid/gxvprop.c
|
|
|
|
|
src/gxvalid/gxvtrak.c: New files, gxvalid body.
|
|
|
|
|
|
|
|
|
|
2005-08-21 Werner Lemberg <wl@gnu.org>
|
|
|
|
|
|
|
|
|
|
* src/truetype/ttgload.c (TT_Load_Glyph): Only translate outline
|
|
|
|
|
to (0,0) if bit 1 of the `head' table isn't set. This improves
|
|
|
|
|
rendering of buggy fonts.
|
|
|
|
|
|
|
|
|
|
2005-08-20 Chia I Wu <b90201047@ntu.edu.tw>
|
|
|
|
|
|
|
|
|
|
* src/truetype/ttdriver.c (Load_Glyph): Don't check the validity of
|
|
|
|
|
ttmetrics here. TrueType fonts with only sbits always have
|
|
|
|
|
ttmetrics.valid set to false.
|
|
|
|
|
|
|
|
|
|
* src/truetype/ttgload.c (TT_Load_Glyph): Check that ttmetrics is
|
|
|
|
|
valid before loading outline glyph.
|
|
|
|
|
|
|
|
|
|
* src/cache/ftcimage.c (FTC_INode_New): Fix a memory leak.
|
|
|
|
|
|
|
|
|
|
2005-08-20 Werner Lemberg <wl@gnu.org>
|
|
|
|
|
|
|
|
|
|
* src/sfnt/ttload.c (tt_face_load_metrics_header): Ignore missing
|
|
|
|
|
`hhea' table for SFNT Mac fonts. Change based on a patch by
|
|
|
|
|
mpsuzuki@hiroshima-u.ac.jp.
|
|
|
|
|
|
|
|
|
|
2005-08-20 Masatake YAMATO <jet@gyve.org>
|
|
|
|
|
|
|
|
|
|
* src/otvalid/otvmod.c (otv_validate): Use ft_validator_run instead
|
|
|
|
|
of ft_setjmp.
|
|
|
|
|
|
|
|
|
|
2005-08-19 Werner Lemberg <wl@gnu.org>
|
|
|
|
|
|
|
|
|
|
* src/truetype/ttgload.c (load_truetype_glyph): Fix compiler
|
|
|
|
|
warnings.
|
|
|
|
|
|
|
|
|
|
2005-08-16 Chia I Wu <b90201047@ntu.edu.tw>
|
|
|
|
|
|
|
|
|
|
* src/truetype/ttinterp.c, src/truetype/ttinterp.h: Update copyright
|
|
|
|
|
messages.
|
|
|
|
|
|
|
|
|
|
2005-08-16 Chia I Wu <b90201047@ntu.edu.tw>
|
|
|
|
|
|
|
|
|
|
* src/truetype/ttinterp.c, src/truetype/ttinterp.h: Remove original
|
|
|
|
|
TT_Done_Context and rename TT_Destroy_Context to TT_Done_Context
|
|
|
|
|
with slight changes.
|
|
|
|
|
Update all callers.
|
|
|
|
|
(TT_New_Context): Now takes TT_Driver argument directly.
|
|
|
|
|
Update all callers.
|
|
|
|
|
|
|
|
|
|
* src/truetype/ttobjs.h (tt_slot_init): New function.
|
|
|
|
|
* src/truetype/ttobjs.c (tt_driver_init): Initialize execution
|
|
|
|
|
context here.
|
|
|
|
|
(tt_slot_init): New function to create extra points for the internal
|
|
|
|
|
glyph loader. We then use it directly, instead of face's glyph
|
|
|
|
|
loader, when loading glyph.
|
|
|
|
|
|
|
|
|
|
* src/truetype/ttdriver.c (tt_driver_class): Use tt_slot_init for
|
|
|
|
|
glyph slot initialization.
|
|
|
|
|
(Load_Glyph): Load flag dependencies are handled here. Return error
|
|
|
|
|
if size is NULL.
|
|
|
|
|
|
|
|
|
|
* src/truetype/ttgload.c: Heavy cleanup and refactoring.
|
|
|
|
|
(org_to_cur): Removed.
|
|
|
|
|
(TT_Load_Simple_Glyph): Call FT_GlyphLoader_CheckPoints.
|
|
|
|
|
(TT_Hint_Glyph): New funcion to hint a zone, prepared by caller.
|
|
|
|
|
(TT_Process_Simple_Glyph): s/load/loader/.
|
|
|
|
|
Use loader->pp values instead of recalculation.
|
|
|
|
|
Use TT_Hint_Glyph.
|
|
|
|
|
No need to save/restore loader->stream before and after
|
|
|
|
|
TT_Vary_Get_Glyph_Deltas now.
|
|
|
|
|
(TT_LOADER_SET_PP): New macro to calculate and set the four phantom
|
|
|
|
|
points.
|
|
|
|
|
(load_truetype_glyph): Never set exec->glyphSize to 0. This closes
|
|
|
|
|
Savannah bug #13107.
|
|
|
|
|
Forget glyph frame before calling TT_Process_Simple_Glyph.
|
|
|
|
|
Use TT_LOADER_SET_PP.
|
|
|
|
|
Scale all four phantom points.
|
|
|
|
|
Split off some functionality to ...
|
|
|
|
|
(TT_Process_Composite_Component, TT_Process_Composite_Glyph): These
|
|
|
|
|
new functions.
|
|
|
|
|
(TT_Load_Glyph): Set various fields of `glyph' here, not in
|
|
|
|
|
load_truetype_glyph and compute_glyph_metrics.
|
|
|
|
|
Split off some functionality to ...
|
|
|
|
|
(load_sbit_image, tt_loader_init): These new functions.
|
|
|
|
|
(compute_glyph_metrics): Call FT_Outline_Get_CBox.
|
|
|
|
|
|
|
|
|
|
2005-08-08 Werner Lemberg <wl@gnu.org>
|
|
|
|
|
|
|
|
|
|
* docs/INSTALL.ANY: Updated.
|
|
|
|
|
|
|
|
|
|
2005-08-05 Werner Lemberg <wl@gnu.org>
|
|
|
|
|
|
|
|
|
|
* src/cff/cffgload.c (cff_builder_close_contour),
|
|
|
|
|
src/psaux/psobjs.c (t1_builder_close_contour): Protect against
|
|
|
|
|
zero `outline' pointer.
|
|
|
|
|
|
|
|
|
|
* src/base/ftgloadr.c (FT_GlyphLoader_Add): Protect against zero
|
|
|
|
|
`loader' address.
|
|
|
|
|
|
|
|
|
|
2005-08-03 Werner Lemberg <wl@gnu.org>
|
|
|
|
|
|
|
|
|
|
* src/sfnt/sfdriver.c (sfnt_interface) [FT_OPTIMIZE_MEMORY]:
|
|
|
|
|
Reactivate pointers to tt_find_sbit_image and tt_load_sbit_metrics
|
|
|
|
|
to make X work again.
|
|
|
|
|
|
|
|
|
|
2005-08-02 Werner Lemberg <wl@gnu.org>
|
|
|
|
|
|
|
|
|
|
* src/otvalid/otvcommn.h: Remove dead code.
|
|
|
|
|
|
|
|
|
|
2005-07-31 Chia I Wu <b90201047@ntu.edu.tw>
|
|
|
|
|
|
|
|
|
|
* src/truetype/ttobjs.h (tt_size_run_fpgm, tt_size_run_prep): New
|
|
|
|
|
functions.
|
|
|
|
|
|
|
|
|
|
* src/truetype/ttobjs.c (tt_size_run_fpgm, tt_size_run_prep): New
|
|
|
|
|
functions.
|
|
|
|
|
(tt_size_init): Add 4, instead of 2, (phantom) points to twilight
|
|
|
|
|
zone.
|
|
|
|
|
Move code that runs fpgm to tt_size_run_fpgm.
|
|
|
|
|
(Reset_Outline_Size): Move code that runs prep to tt_size_run_prep.
|
|
|
|
|
(tt_glyphzone_new): Allocate right size of arrays.
|
|
|
|
|
Set max_points and max_contours properly.
|
|
|
|
|
|
|
|
|
|
2005-07-26 Chia I Wu <b90201047@ntu.edu.tw>
|
|
|
|
|
|
|
|
|
|
* src/truetype/ttdriver.c (Set_Char_Sizes): Avoid unnecessary
|
|
|
|
|
computations and clean up.
|
|
|
|
|
|
|
|
|
|
* src/truetype/ttobjs.h (struct TT_SizeRec_): Comment on the
|
|
|
|
|
internal copy of metrics.
|
|
|
|
|
|
|
|
|
|
2005-07-12 Werner Lemberg <wl@gnu.org>
|
|
|
|
|
|
|
|
|
|
* include/freetype/ftoutln.h (FT_Outline_Embolden): Fix prototype.
|
|
|
|
|
Reported by Xerxes.
|
|
|
|
|
|
|
|
|
|
2005-07-04 Werner Lemberg <wl@gnu.org>
|
|
|
|
|
|
|
|
|
|
* include/freetype/internal/ftmemory.h (FT_REALLOC_ARRAY): Fix typo.
|
|
|
|
|
Reported by Brett Hutley.
|
|
|
|
|
|
|
|
|
|
2005-06-30 David Turner <david@freetype.org>
|
|
|
|
|
|
|
|
|
|
* src/sfnt/ftbitmap.c, src/truetype/ttgload.c, src/sfnt/ttcmap.c:
|
|
|
|
|
Removing compiler warnings (Visual C++ /W4).
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Implement a work-around for broken C preprocessor in Visual C++ (it
|
|
|
|
|
has been confirmed by the MS developers that it is indeed a bug
|
|
|
|
|
which won't be fixed in the very near future).
|
|
|
|
|
|
|
|
|
|
* Jamfile (FT2_COMPONENTS): Include otvalid (again).
|
|
|
|
|
|
|
|
|
|
* src/otvalid/otvcommn.h (OTV_NAME, OTV_FUNC): New macros.
|
|
|
|
|
(OTV_NEST1, OTV_NEST2, OTV_NEST3): Use OTV_NAME and OTV_FUNC to
|
|
|
|
|
avoid argument expansion by argument prescan.
|
|
|
|
|
Append `Func' to all affected macros and change them to take just a
|
|
|
|
|
single argument. Example: `AttachList' is renamed to
|
|
|
|
|
`AttachListFunc'.
|
|
|
|
|
|
|
|
|
|
* src/otvalid/otvgdef.c, src/otvalid/otvgpos.c,
|
|
|
|
|
src/otvalid/otvgsub.c, src/otvjstf.c: Append `Func' to macros
|
|
|
|
|
affected by the changes to OTV_NESTx and modify them to take just a
|
|
|
|
|
single argument.
|
|
|
|
|
|
|
|
|
|
2005-06-20 Chia I Wu <b90201047@ntu.edu.tw>
|
|
|
|
|
|
|
|
|
|
* 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.
|
|
|
|
|
|
|
|
|
|
2005-06-16 Chia I Wu <b90201047@ntu.edu.tw>
|
|
|
|
|
|
|
|
|
|
* src/base/ftoutln.c (FT_Outline_Embolden): Strength should be
|
|
|
|
|
halved.
|
|
|
|
|
|
|
|
|
|
* src/base/ftsynth.c (FT_GlyphSlot_Embolden): Change the default
|
|
|
|
|
strength.
|
|
|
|
|
Don't increase slot->advance.y.
|
|
|
|
|
|
|
|
|
|
2005-06-16 Werner Lemberg <wl@gnu.org>
|
|
|
|
|
|
|
|
|
|
* include/freetype/freetype.h (FREETYPE_MINOR): Set to 2.
|
|
|
|
|
(FREETYPE_PATCH): Set to 0.
|
|
|
|
|
|
|
|
|
|
* builds/unix/configure.ac (version_info): Set to 9:9:3.
|
|
|
|
|
Currently, we are still binary compatible.
|
|
|
|
|
|
|
|
|
|
* builds/win32/visualc/index.html,
|
|
|
|
|
builds/win32/visualc/freetype.dsp,
|
|
|
|
|
builds/win32/visualc/freetype.vcproj: s/219/2110/, s/2.1.9/2.1.10/.
|
|
|
|
|
|
|
|
|
|
* builds/freetype.mk (refdoc), README, Jamfile (RefDoc):
|
|
|
|
|
s/2.1.9/2.1.10/.
|
|
|
|
|
|
|
|
|
|
* docs/CHANGES, docs/VERSION.DLL: Updated.
|
|
|
|
|
|
|
|
|
|
* ChangeLog: Split off older entries into...
|
|
|
|
|
* ChangeLog.20, ChangeLog.21: These new files.
|
|
|
|
|
|
|
|
|
|
2005-06-15 Kirill Smelkov <kirr@mns.spb.ru>
|
|
|
|
|
|
|
|
|
|
The next release will be 2.2.0, so don't worry about source code
|
|
|
|
|
backwards compatibility.
|
|
|
|
|
|
|
|
|
|
* include/freetype/ftimage.h (FT_Outline_MoveToFunc,
|
|
|
|
|
FT_Outline_LineToFunc, FT_Outline_ConicToFunc,
|
|
|
|
|
FT_Outline_CubicToFunc, FT_SpanFunc, FT_Raster_RenderFunc),
|
|
|
|
|
include/freetype/ftrender.h (FT_Glyph_TransformFunc,
|
|
|
|
|
FT_Renderer_RenderFunc, FT_Renderer_TransformFunc): Decorate
|
|
|
|
|
parameters with `const' where appropriate.
|
|
|
|
|
|
|
|
|
|
2005-06-15 Chia I Wu <b90201047@ntu.edu.tw>
|
|
|
|
|
|
|
|
|
|
* src/sfnt/ttsbit.c (tt_face_load_sbit_image): Compute vertBearingY
|
|
|
|
|
to make glyphs centered vertically.
|
|
|
|
|
|
|
|
|
|
* src/truetype/ttgload.c (compute_glyph_metrics): Compute
|
|
|
|
|
vertBearingY to make glyphs centered vertically.
|
|
|
|
|
Fix some bugs in vertical metrics:
|
|
|
|
|
|
|
|
|
|
. loader->pp3.y and loader->pp4.y are in 26.6 format, not in font
|
|
|
|
|
units.
|
|
|
|
|
. As we use the glyph's cbox to calculate the top bearing now
|
|
|
|
|
there iss no need to adjust `top'.
|
|
|
|
|
|
|
|
|
|
2005-06-15 Werner Lemberg <wl@gnu.org>
|
|
|
|
|
|
|
|
|
|
* src/otvalid/otvcommn.h (OTV_OPTIONAL_TABLE): Use FT_UShort to be
|
|
|
|
|
in sync with OTV_OPTIONAL_OFFSET. Reported by YAMATO Masatake.
|
|
|
|
|
|
|
|
|
|
2005-06-13 Werner Lemberg <wl@gnu.org>
|
|
|
|
|
|
|
|
|
|
* docs/release: Update.
|
|
|
|
|
|
|
|
|
|
----------------------------------------------------------------------------
|
|
|
|
|
|
2006-01-11 11:57:42 +01:00
|
|
|
|
Copyright 2005, 2006 by
|
2005-10-18 08:09:13 +02:00
|
|
|
|
David Turner, Robert Wilhelm, and Werner Lemberg.
|
|
|
|
|
|
|
|
|
|
This file is part of the FreeType project, and may only be used, modified,
|
|
|
|
|
and distributed under the terms of the FreeType project license,
|
|
|
|
|
LICENSE.TXT. By continuing to use, modify, or distribute this file you
|
|
|
|
|
indicate that you have read the license and understand and accept it
|
|
|
|
|
fully.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Local Variables:
|
|
|
|
|
version-control: never
|
|
|
|
|
coding: latin-1
|
|
|
|
|
End:
|