suzuki toshiya
f7ecdbc70a
type1: Check invalid string longer than PostScript limit.
16 years ago
suzuki toshiya
a8c515d25c
gzip: Use FT2 zcalloc() & zfree() in ftgzip.c by default.
16 years ago
suzuki toshiya
5f43bab8bf
gzip: Distinguish PureC from TurboC on MSDOS.
16 years ago
suzuki toshiya
3f36047eff
gxvalid: Insert PureC pragma to allow unevaluated variables.
16 years ago
suzuki toshiya
62aa9ec647
gxvalid: Pass the union by the pointer instead of the value.
16 years ago
Werner Lemberg
7009a6eb03
Fix Redhat bugzilla #513582 and Savannah bug #26849 .
...
* src/cache/ftccache.h (FTC_CACHE_LOOKUP_CMP) <FTC_INLINE>: Fix
aliasing bug.
16 years ago
Werner Lemberg
1a49548bc3
Fix Savannah bug #27106 .
...
Typo in Mac README instructions.
16 years ago
Werner Lemberg
2cd790d7e2
Document recent library changes.
...
* docs/CHANGES: Do it.
16 years ago
Werner Lemberg
46e05c443b
Fix Savannah bug #23786 .
...
* src/truetype/ttobjs.c (tt_size_init_bytecode): Don't reset x_ppem
and y_ppem. Otherwise the `*_CVT_Stretched' functions in ttinterp.c
get never called.
An anonymous guy suggested this change on Savannah, and it seems to
be the right solution.
16 years ago
Werner Lemberg
dc20faaf4c
Typo.
16 years ago
Werner Lemberg
9f27998ebf
Merge branch 'master' of wl@git.sv.gnu.org:/srv/git/freetype/freetype2
...
Conflicts:
ChangeLog
Merge.
16 years ago
Werner Lemberg
deee58f225
* docs/release: Updated.
16 years ago
Werner Lemberg
0fbdf11a48
README.CVS -> README.git
...
* README.CVS: Renamed to...
* README.git: This.
Updated.
16 years ago
suzuki toshiya
3009417a7d
Borland C++ compiler patch proposed by Mirco Babin.
16 years ago
Werner Lemberg
b2967734a6
Fix Savannah bug #27026 .
...
* builds/win32/vc2005/freetype.sln: Use correct version number.
16 years ago
suzuki toshiya
313d4f4ca6
Add a script to check the undefined and unused trace macros.
16 years ago
suzuki toshiya
3bf7baaac3
Formatting.
16 years ago
Werner Lemberg
a2ef3769bc
Merge branch 'master' of wl@git.sv.gnu.org:/srv/git/freetype/freetype2
16 years ago
suzuki toshiya
da59462780
smooth: Check glyph size by width/height, instead of pitch/height.
16 years ago
Werner Lemberg
0d02317fb2
[ftraster] Make it compile again with -D_STANDALONE_.
...
* src/raster/ftraster.c [_STANDALONE_]: Define
FT_CONFIG_STANDARD_LIBRARY_H.
Include `string.h'.
Don't include `rastpic.h'.
Define FT_DEFINE_RASTER_FUNCS.
16 years ago
suzuki toshiya
8ad243bdcd
Shorten URLs referring ft-devel archive.
16 years ago
suzuki toshiya
e05861b9da
Register 2 missing trace components, t1afm and ttbdf.
16 years ago
suzuki toshiya
a6990d0612
Register a trace component for ftgloadr.c.
16 years ago
suzuki toshiya
4c531460ed
Prevent the overflows by a glyph with too many points or contours.
16 years ago
suzuki toshiya
f4a0f93a14
Fix a typo in ChangeLog, found by mouse@Rodents-Montreal.ORG
16 years ago
Bram Tassyns
3d3ba0563e
Improve compatibility to Acroread.
...
This fixes Savannah bug #26944 .
* src/cff/cffload.c (cff_charset_compute_cids): For multiple GID to
single CID mappings, make the lowest value win.
16 years ago
suzuki toshiya
ad289d139f
ftpatent: Fix a bug by wrong usage of service->table_info().
16 years ago
Werner Lemberg
24370d67f5
Uff, another thinko.
16 years ago
Werner Lemberg
e7389a4405
[psaux, cff] Protect against nested `seac' calls.
...
* include/freetype/internal/psaux.h (T1_Decoder), src/cff/cffgload.h
(CFF_Decoder): Add `seac' boolean variable.
* src/cff/cffgload.c (cff_operator_seac,
cff_decoder_parse_charstrings), src/psaux/t1decode.c
(t1operator_seac, t1_decoder_parse_charstrings): Use it.
16 years ago
Werner Lemberg
6bb34880e8
Thinko.
...
* src/psaux/t1decode.c (t1operator_seac)
[FT_CONFIG_OPTION_INCREMENTAL]: Test for existence of incremental
interface.
16 years ago
Werner Lemberg
a7e5a335f2
* devel/ftoption.h [FT_CONFIG_OPTION_INCREMENTAL]: Define.
16 years ago
Werner Lemberg
b8f97f17cd
Formatting.
16 years ago
suzuki toshiya
fee19a786d
Add tools to preprocess the source files for AtariST PureC.
16 years ago
suzuki toshiya
3609141de4
Fix wrong date in ChangeLog
16 years ago
suzuki toshiya
912f039743
Keep existing modules.cfg in the building tree.
16 years ago
suzuki toshiya
66d308edfd
Filter --srcdir= option before invoking builds/unix/configure.
16 years ago
suzuki toshiya
20fb146351
Improve configure.raw for cross-building on exe-suffixed systems.
16 years ago
Werner Lemberg
610cddcac4
[truetype] Remove TT_SubGlyphRec.
...
* src/truetype/ttobjs.h (TT_SubGlyphRec): Removed, unused.
16 years ago
Werner Lemberg
858abbedc0
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.
16 years ago
Werner Lemberg
e15d9c52bc
Formatting etc.
16 years ago
Werner Lemberg
eeec2b8fc6
Documentation improvements.
16 years ago
Werner Lemberg
777d6d59ed
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.
16 years ago
Werner Lemberg
1e8bf5831a
Thinko.
16 years ago
Werner Lemberg
11cb8c36ed
Use 16.16 format while parsing Type 1 charstrings.
...
This fixes Savannah bug #26867 .
Previously, only integers have been used which can lead to serious
rounding errors.
However, fractional values are only used internally; after the
charstrings (of either Type 1 or 2) have been processed, the
resulting coordinates get rounded to integers currently -- before
applying scaling. This should be fixed; at the same time a new load
flag should be introduced, to be used in combination with
FT_LOAD_NO_SCALE, which indicates that font units are returned in
16.16 format. Similarly, the incremental interface should be
extended to allow fractional values for metrics.
* include/freetype/internal/psaux.h (T1_BuilderRec): Remove `shift'
field.
* include/freetype/internal/pshints.h (T1_Hints_SetStemFunc,
T1_Hints_SetStem3Func): Use FT_Fixed for coordinates.
* src/psaux/psobjs.c: Include FT_INTERNAL_CALC_H.
(t1_build_add_point): Always convert fixed to integer.
* src/psaux/t1decode.c (t1_decoder_parse_charstrings):
Use 16.16 format everywhere (except for large integers followed by a
`div').
[CAN_HANDLE_NON_INTEGRAL_T1_OPERANDS]: Remove #ifdef and activate
code uncoditionally.
Add support for random numbers and update remaining code
accordingly; this should work now.
(t1_operator_seac): Updated.
* src/psaux/pshrec.c: Include FT_INTERNAL_CALC_H.
(ps_hints_t1stem3, t1_hints_stem): Updated.
* src/cid/cidgload.c: Include FT_INTERNAL_CALC_H.
(cid_load_glyph) [FT_CONFIG_OPTION_INCREMENTAL],
(cid_face_compute_max_advance, cid_slot_load_glyph): Updated.
* src/type1/t1gload.c (T1_Parse_Glyph_And_Get_Char_String)
[FT_CONFIG_OPTION_INCREMENTAL], (T1_Get_Advances, T1_Load_Glyph):
Updated.
* src/type1/t1load.c: Include FT_INTERNAL_CALC_H.
* src/type1/t1objs.c (T1_Face_Init): Updated.
16 years ago
Werner Lemberg
df9cd975d3
src/pshinter/pshrec.c: Use PSH_Err_Ok.
16 years ago
Werner Lemberg
f79df78a53
Code beautification.
...
* src/type1/t1load.c (FT_INT_TO_FIXED): Removed.
Replace everywhere with INT_TO_FIXED.
(FT_FIXED_TO_INT): Move to ...
* include/freetype/internal/ftcalc.h (FIXED_TO_INT): Here.
Update all users.
16 years ago
Werner Lemberg
96d389835a
Remove useless code.
16 years ago
Werner Lemberg
1f540eff0b
Remove unused variables.
...
* include/freetype/internal/psaux.h (T1_BuilderRec),
src/cff/cffgload.h (CFF_Builder): Remove `last'.
Update all users.
16 years ago
Werner Lemberg
41821f8a8a
[psaux] Check large integers while parsing charstrings.
...
* src/psaux/t1decode.c (t1_decoder_parse_charstrings): Large
integers must be followed by a `div' operator.
16 years ago
Werner Lemberg
541ab5adda
[cff] Revert last change.
...
* src/cff/cffgload.c (cff_decoder_parse_charstrings): Do it.
Next time, don't confuse Type 2 charstring opcodes with TOP DICT
values...
16 years ago