|
c579dc43
|
2009-08-01T00:32:08
|
|
cff: Fix some data types mismatching with their sources.
|
|
87054758
|
2009-08-01T00:32:08
|
|
autofit: Fix some data types mismatching with their sources.
|
|
15dc278c
|
2009-08-01T00:32:07
|
|
autofit: Fix for unused variable `first'.
|
|
b5668024
|
2009-08-01T00:32:07
|
|
autofit: Count the size of the memory object by ptrdiff_t.
|
|
e866cf3f
|
2009-08-01T00:32:06
|
|
Improve bitmap size or pixel variables for 16-bit systems.
|
|
d3ed6d1b
|
2009-08-01T00:30:24
|
|
psaux: Prevent invalid arguments to afm_parser_read_vals().
|
|
0d226c31
|
2009-08-01T00:30:24
|
|
base: Prevent some overflows on LP64 systems.
|
|
072e5523
|
2009-08-01T00:30:23
|
|
cff: Cast the long variables to 32-bit for LP64 systems.
|
|
b61d9289
|
2009-08-01T00:30:23
|
|
pcf: Improve PCF_PropertyRec.value names on LP64 platforms.
|
|
eae89a7f
|
2009-08-01T00:30:22
|
|
pcf: Fix some data types mismatching with their sources.
|
|
be41d3e7
|
2009-08-01T00:30:22
|
|
bdf: Improve bdf_property_t.value names for LP64 platforms.
|
|
660d6513
|
2009-08-01T00:30:21
|
|
bdf: Fix some data types mismatching with their sources.
|
|
38e480b4
|
2009-08-01T00:30:21
|
|
autofit: Improve Unicode range definitions.
|
|
93bb1594
|
2009-08-01T00:30:21
|
|
smooth: Fix a data type mismatching with its source.
|
|
f4e1c8bd
|
2009-08-01T00:30:20
|
|
cache: Disable the legacy compatibility if 16-bit system.
|
|
ea5268d2
|
2009-08-01T00:30:20
|
|
smooth: Fix a data type mismatching with its source.
|
|
2a5831ec
|
2009-08-01T00:30:19
|
|
cache: Check 32-bit glyph index on 16-bit systems.
|
|
b566d42a
|
2009-08-01T00:30:19
|
|
cache: Fix some data types mismatching with their sources.
|
|
ebf8e294
|
2009-08-01T00:30:19
|
|
cache: Fix some data types mismatching with their sources.
|
|
9f50873a
|
2009-08-01T00:30:18
|
|
cache: Cast NULL to a required function type explicitly.
|
|
41f9d0d6
|
2009-08-01T00:30:18
|
|
fttypes.h: Cast FT_MAKE_TAG output to FT_Tag exlicitly.
|
|
82ebaa7b
|
2009-08-01T00:30:17
|
|
psnames: Handle Unicode codepoints by FT_UInt32 variables.
|
|
d200982d
|
2009-08-01T00:30:17
|
|
psaux: Use size_t variable to pass the buffer size.
|
|
d1ee3785
|
2009-08-01T00:30:16
|
|
type1: Use size_t variable to pass the string length.
|
|
7fd7c6f2
|
2009-08-01T00:30:16
|
|
cid: Fix some data types mismatching with their sources.
|
|
34c203cd
|
2009-08-01T00:30:16
|
|
cff: Fix for unused variable `rest'.
|
|
a813cf48
|
2009-08-01T00:30:15
|
|
cff: Fix some data types mismatching with their sources.
|
|
2bbcb7ed
|
2009-08-01T00:30:15
|
|
bdf: Fix some data types mismatching with their sources.
|
|
763b3949
|
2009-08-01T00:30:14
|
|
sfnt: Count the size of the memory object by ptrdiff_t.
|
|
f420757c
|
2009-08-01T00:30:14
|
|
lzw: Count the size of the memory object by ptrdiff_t.
|
|
90c7efc8
|
2009-08-01T00:30:13
|
|
otvalid: Prevent an overflow by GPOS/GSUB 32b-bit offset.
|
|
95aeebf4
|
2009-08-01T00:30:13
|
|
ftobjs.c: Prevent an overflow in glyph index handling.
|
|
88c95bab
|
2009-08-01T00:30:13
|
|
otvalid: Count the table size on memory by ptrdiff_t.
|
|
2ed9d7fc
|
2009-08-01T00:30:12
|
|
Improve the variable types in raccess_make_file_name().
|
|
61fa1b53
|
2009-08-01T00:30:12
|
|
ftpatent.c: Fix for unused variable `error'.
|
|
f7ecdbc7
|
2009-08-01T00:30:12
|
|
type1: Check invalid string longer than PostScript limit.
|
|
a8c515d2
|
2009-08-01T00:30:11
|
|
gzip: Use FT2 zcalloc() & zfree() in ftgzip.c by default.
|
|
5f43bab8
|
2009-08-01T00:30:11
|
|
gzip: Distinguish PureC from TurboC on MSDOS.
|
|
3f36047e
|
2009-08-01T00:30:11
|
|
gxvalid: Insert PureC pragma to allow unevaluated variables.
|
|
62aa9ec6
|
2009-08-01T00:29:29
|
|
gxvalid: Pass the union by the pointer instead of the value.
|
|
7009a6eb
|
2009-07-29T11:53:13
|
|
Fix Redhat bugzilla #513582 and Savannah bug #26849.
* src/cache/ftccache.h (FTC_CACHE_LOOKUP_CMP) <FTC_INLINE>: Fix
aliasing bug.
|
|
1a49548b
|
2009-07-25T16:19:23
|
|
Fix Savannah bug #27106.
Typo in Mac README instructions.
|
|
2cd790d7
|
2009-07-19T11:18:00
|
|
Document recent library changes.
* docs/CHANGES: Do it.
|
|
46e05c44
|
2009-07-17T22:49:34
|
|
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.
|
|
dc20faaf
|
2009-07-17T10:50:04
|
|
Typo.
|
|
9f27998e
|
2009-07-15T12:33:01
|
|
Merge branch 'master' of wl@git.sv.gnu.org:/srv/git/freetype/freetype2
Conflicts:
ChangeLog
Merge.
|
|
deee58f2
|
2009-07-15T07:58:00
|
|
* docs/release: Updated.
|
|
0fbdf11a
|
2009-07-15T07:50:06
|
|
README.CVS -> README.git
* README.CVS: Renamed to...
* README.git: This.
Updated.
|
|
3009417a
|
2009-07-15T12:57:26
|
|
Borland C++ compiler patch proposed by Mirco Babin.
|
|
b2967734
|
2009-07-14T16:44:06
|
|
Fix Savannah bug #27026.
* builds/win32/vc2005/freetype.sln: Use correct version number.
|
|
313d4f4c
|
2009-07-13T00:01:57
|
|
Add a script to check the undefined and unused trace macros.
|
|
3bf7baaa
|
2009-07-12T23:54:40
|
|
Formatting.
|
|
a2ef3769
|
2009-07-09T18:59:25
|
|
Merge branch 'master' of wl@git.sv.gnu.org:/srv/git/freetype/freetype2
|
|
da594627
|
2009-07-09T17:21:32
|
|
smooth: Check glyph size by width/height, instead of pitch/height.
|
|
0d02317f
|
2009-07-09T09:21:46
|
|
[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.
|
|
8ad243bd
|
2009-07-09T16:12:30
|
|
Shorten URLs referring ft-devel archive.
|
|
e05861b9
|
2009-07-09T14:43:57
|
|
Register 2 missing trace components, t1afm and ttbdf.
|
|
a6990d06
|
2009-07-09T12:48:23
|
|
Register a trace component for ftgloadr.c.
|
|
4c531460
|
2009-07-08T14:26:51
|
|
Prevent the overflows by a glyph with too many points or contours.
|
|
f4a0f93a
|
2009-07-06T17:16:15
|
|
Fix a typo in ChangeLog, found by mouse@Rodents-Montreal.ORG
|
|
3d3ba056
|
2009-07-05T14:54:59
|
|
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.
|
|
ad289d13
|
2009-06-29T03:09:17
|
|
ftpatent: Fix a bug by wrong usage of service->table_info().
|
|
24370d67
|
2009-06-28T02:11:51
|
|
Uff, another thinko.
|
|
e7389a44
|
2009-06-28T01:25:55
|
|
[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.
|
|
6bb34880
|
2009-06-28T00:43:37
|
|
Thinko.
* src/psaux/t1decode.c (t1operator_seac)
[FT_CONFIG_OPTION_INCREMENTAL]: Test for existence of incremental
interface.
|
|
a7e5a335
|
2009-06-28T00:40:05
|
|
* devel/ftoption.h [FT_CONFIG_OPTION_INCREMENTAL]: Define.
|
|
b8f97f17
|
2009-06-28T00:37:53
|
|
Formatting.
|
|
fee19a78
|
2009-06-27T17:07:14
|
|
Add tools to preprocess the source files for AtariST PureC.
|
|
3609141d
|
2009-06-27T15:02:36
|
|
Fix wrong date in ChangeLog
|
|
912f0397
|
2009-06-27T14:38:32
|
|
Keep existing modules.cfg in the building tree.
|
|
66d308ed
|
2009-06-27T14:33:06
|
|
Filter --srcdir= option before invoking builds/unix/configure.
|
|
20fb1463
|
2009-06-27T14:27:55
|
|
Improve configure.raw for cross-building on exe-suffixed systems.
|
|
610cddca
|
2009-06-26T07:39:08
|
|
[truetype] Remove TT_SubGlyphRec.
* src/truetype/ttobjs.h (TT_SubGlyphRec): Removed, unused.
|
|
858abbed
|
2009-06-26T06:15:41
|
|
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.
|
|
e15d9c52
|
2009-06-25T21:31:53
|
|
Formatting etc.
|
|
eeec2b8f
|
2009-06-25T16:47:10
|
|
Documentation improvements.
|
|
777d6d59
|
2009-06-25T16:46:39
|
|
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.
|
|
1e8bf583
|
2009-06-23T15:48:52
|
|
Thinko.
|
|
11cb8c36
|
2009-06-22T16:56:47
|
|
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.
|
|
df9cd975
|
2009-06-21T23:25:36
|
|
src/pshinter/pshrec.c: Use PSH_Err_Ok.
|
|
f79df78a
|
2009-06-21T20:17:01
|
|
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.
|
|
96d38983
|
2009-06-21T12:43:27
|
|
Remove useless code.
|
|
1f540eff
|
2009-06-20T13:24:08
|
|
Remove unused variables.
* include/freetype/internal/psaux.h (T1_BuilderRec),
src/cff/cffgload.h (CFF_Builder): Remove `last'.
Update all users.
|
|
41821f8a
|
2009-06-20T09:31:19
|
|
[psaux] Check large integers while parsing charstrings.
* src/psaux/t1decode.c (t1_decoder_parse_charstrings): Large
integers must be followed by a `div' operator.
|
|
541ab5ad
|
2009-06-20T07:31:44
|
|
[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...
|
|
b34c9b49
|
2009-06-20T06:32:23
|
|
aflatin.c: Fix compiler warning.
|
|
ae342dab
|
2009-06-20T06:01:57
|
|
builds/compiler/gcc.mk (CFLAGS): Use -O3, not -O6.
|
|
f1631f2d
|
2009-06-19T23:50:37
|
|
[cff] Fix handling of reserved byte 0xFF.
* src/cff/cffgload.c (cff_decoder_parse_charstrings): Abort if byte
0xFF is encountered.
|
|
86fa2ebc
|
2009-06-19T14:56:26
|
|
Improve debug messages for Type1 charstrings.
* src/psaux/t1decode.c (t1_decoder_parse_charstrings): Emit newlines
after instructions.
Prettify output.
|
|
d1862d22
|
2009-06-19T09:09:34
|
|
More ftgray fixes for FT_STATIC_RASTER.
Problems reported by suyu@cooee.cn.
* src/smooth/ftgrays.c (gray_move_to, gray_raster_render): Use
RAS_VAR.
|
|
140a6943
|
2009-06-18T16:07:11
|
|
docs/CHANGES: Updated.
|
|
82622131
|
2009-06-18T15:48:21
|
|
Whitespace & documentation improvements.
|
|
72271140
|
2009-06-18T15:42:52
|
|
Fix B/W rasterization of subglyphs with different drop-out modes.
Normally, the SCANMODE instruction (if present) to set the drop-out
mode in a TrueType font is located in the `prep' table only and thus
valid for all glyphs. However, there are fonts like `pala.ttf'
which additionally contain this instruction in the hinting code of
some glyphs (but not all). As a result it can happen that a
composite glyph needs multiple drop-out modes for its subglyphs
since the rendering state gets reset for each subglyph.
FreeType collects the hinted outlines from all subglyphs, then it
sends the data to the rasterizer. It also sends the drop-out mode
-- after hinting has been applied -- and here is the error: It sends
the drop-out mode of the last subglyph only; drop-out modes of all
other subglyphs are lost.
This patch fixes the problem; it adds a second, alternative
mechanism to pass the drop-out mode: For each contour, the
rasterizer now checks the first `tags' array element. If bit 2 is
set, bits 5-7 contain the contour's drop-out mode, overriding the
global drop-out mode.
* include/freetype/ftimage.h (FT_CURVE_TAG_HAS_SCANMODE): New macro.
* src/truetype/ttgload.c (TT_Hint_Glyph): Store drop-out mode in
`tags[0]'.
* src/raster/ftraster.c (Flow_Up, Overshoot_Top, Overshoot_Bottom):
Use bits 3-5 instead of 0-2.
(New_Profile): Set the drop-out mode in the profile's `flags' field.
(Decompose_Curve): Check `tags[0]' and set `dropOutControl' if
necessary.
(Vertical_Sweep_Drop, Horizontal_Sweep_Drop,
Horizontal_Gray_Sweep_Drop, Draw_Sweep): Use the profile's drop-out
mode.
|
|
780d7e05
|
2009-06-17T06:45:20
|
|
Minor simplification.
|
|
38e40767
|
2009-06-16T22:41:46
|
|
Typo.
|
|
42206ad8
|
2009-06-16T15:14:21
|
|
Improve scan conversion rules 4 and 6.
Two new constraints are introduced to better identify a `stub' -- a
concept which is only vaguely described in the OpenType
specification. The old code was too rigorous and suppressed more
pixel than it should.
. The intersection of the two profiles with the scanline is less
than a half pixel. Code related to this was already present in
the sources but has been commented out.
. The endpoint of the original contour forming a profile has a
distance (`overshoot') less than half a pixel to the scanline.
Note that the two additional conditions fix almost all differences
to the Windows rasterizer, but some problematic cases remain.
* src/raster/ftraster.c (Overshoot_Top, Overshoot_Bottom): New
macros for the `flags' field in the `TProfile' structure.
(IS_BOTTOM_OVERSHOOT, IS_TOP_OVERSHOOT): New macros.
(New_Profile, End_Profile): Pass overshoot flag as an argument and
set it accordingly.
Update callers.
(Vertical_Sweep_Drop, Horizontal_Sweep_Drop): Implement the two new
constraints.
|
|
0409ef32
|
2009-06-11T17:32:31
|
|
Increase precision for B/W rasterizer.
* src/raster/ftraster.c (Set_High_Precision): Add two more bits to
the precision. This corrects rendering of some small glyphs, for
example, glyph `xi' in verdana.ttf at 13 ppem. Testing with ftbench
on my GNU/Linux box I don't see a performance degradation.
|
|
f33b237c
|
2009-06-08T17:12:40
|
|
Handle FT_STROKER_LINECAP_BUTT.
This fixes Savannah bug #26757.
* src/base/ftstroke.c (ft_stroker_cap): Implement it.
|
|
c6788a38
|
2009-06-07T13:09:21
|
|
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.
|
|
2f2b780e
|
2009-06-07T08:29:30
|
|
Simplify math.
Suggested by Alexei Podtelezhnikov <apodtele@gmail.com>.
* src/raster/ftraster.c (Vertical_Sweep_Drop, Horizontal_Sweep_Drop,
Horizontal_Gray_Sweep_Drop): Do it.
|