|
c4420d97
|
2009-08-01T00:32:21
|
|
pfr: Fix a data type mismatching with its source.
|
|
471980d9
|
2009-08-01T00:32:20
|
|
smooth: Improve the format in debug message.
|
|
01059050
|
2009-08-01T00:32:20
|
|
sfnt: Fix a data type mismatching with its source.
|
|
ec7bc863
|
2009-08-01T00:32:19
|
|
truetype: Extend TrueType GX packed deltas to FT_Offset.
|
|
5668181b
|
2009-08-01T00:32:18
|
|
truetype: Extend mmvar_len to hold size_t values.
|
|
a1151420
|
2009-08-01T00:32:18
|
|
truetype: Check invalid function number in IDEF instruction.
|
|
d1c23082
|
2009-08-01T00:32:17
|
|
truetype: Check invalid function number in FDEF instruction.
|
|
9206eba2
|
2009-08-01T00:32:17
|
|
truetype: Truncate the deltas of composite glyph at 16-bit values.
|
|
1b6f1d20
|
2009-08-01T00:32:16
|
|
truetype: Truncate the instructions upto 16-bit per a glyph.
|
|
6dc27526
|
2009-08-01T00:32:15
|
|
truetype: Cast the numerical operands to 32-bit for LP64 systems.
|
|
3b56c4d3
|
2009-08-01T00:32:15
|
|
truetype: Cast the project vector to 32-bit for LP64 system.
|
|
9fc40943
|
2009-08-01T00:32:14
|
|
truetype: Cast the scaling params to 32-bit for LP64 system.
|
|
c9c64388
|
2009-08-01T00:32:14
|
|
sfnt: Cast a character code to FT_UInt32 for LP64 system.
|
|
9c1aac00
|
2009-08-01T00:32:13
|
|
sfnt: Extend TT_BDF->strings_size to FT_ULong for huge BDF.
|
|
259568cf
|
2009-08-01T00:32:13
|
|
psaux: Handle the string length by FT_Offset variables.
|
|
3f0182af
|
2009-08-01T00:32:13
|
|
sfnt: Cast a character code to FT_UInt32 for LP64 system.
|
|
75d56e5d
|
2009-08-01T00:32:12
|
|
pcf: Fix some data types mismatching with their sources.
|
|
c595c06c
|
2009-08-01T00:32:12
|
|
pcf: Handle the string length by size_t variables.
|
|
78ba8a61
|
2009-08-01T00:32:11
|
|
pcf: Fix some data types mismatching with their sources.
|
|
52170ac0
|
2009-08-01T00:32:11
|
|
otvalid: Truncate the glyph index to 16-bit.
|
|
f7c6b116
|
2009-08-01T00:32:10
|
|
cache: Insert explict casts for LP64 systems.
|
|
ed1d3590
|
2009-08-01T00:32:10
|
|
cache: Fix some data types mismatching with their sources.
|
|
3f0f2e46
|
2009-08-01T00:32:09
|
|
XXX_cmap_encoding_char_next() return FT_UInt32 values.
|
|
25dba9cf
|
2009-08-01T00:32:09
|
|
truetype: Extend TT_Face->num_locations for broken TTFs.
|
|
e45e0522
|
2009-08-01T00:32:08
|
|
smooth: Fix some data types mismatching with their sources.
|
|
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.
|
|
b5668024
|
2009-08-01T00:32:07
|
|
autofit: Count the size of the memory object by ptrdiff_t.
|
|
15dc278c
|
2009-08-01T00:32:07
|
|
autofit: Fix for unused variable `first'.
|
|
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.
|
|
ea5268d2
|
2009-08-01T00:30:20
|
|
smooth: Fix a data type mismatching with its source.
|
|
f4e1c8bd
|
2009-08-01T00:30:20
|
|
cache: Disable the legacy compatibility if 16-bit system.
|
|
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.
|
|
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.
|
|
88c95bab
|
2009-08-01T00:30:13
|
|
otvalid: Count the table size on memory 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.
|
|
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.
|
|
5f43bab8
|
2009-08-01T00:30:11
|
|
gzip: Distinguish PureC from TurboC on MSDOS.
|
|
a8c515d2
|
2009-08-01T00:30:11
|
|
gzip: Use FT2 zcalloc() & zfree() in ftgzip.c by default.
|
|
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.
|
|
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.
|
|
313d4f4c
|
2009-07-13T00:01:57
|
|
Add a script to check the undefined and unused trace macros.
|
|
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.
|
|
4c531460
|
2009-07-08T14:26:51
|
|
Prevent the overflows by a glyph with too many points or contours.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|