David Turner
1ff88d285d
* include/freetype/ftincrem.h: adding new experimental header file
...
to demonstrate a "cleaner" API to support incremental font loading.
comments appreciated...
2002-07-30 18:42:29 +00:00
Werner Lemberg
5e6cd65d5f
s/ft_memset/FT_MEM_SET/.
...
s/FT_MEM_SET/FT_MEM_ZERO/ where appropriate.
2002-07-28 05:05:24 +00:00
Werner Lemberg
eb812c6c72
* src/sfnt/ttload.c (sfnt_dir_check): Make it work with TTCs.
2002-07-27 22:51:28 +00:00
Werner Lemberg
51476b553a
* src/pshinter/pshalgo3.c (psh3_hint_table_record,
...
psh3_hint_table_init, psh3_hint_table_activate_mask): Fix error
message.
Formatting.
2002-07-26 14:52:29 +00:00
Werner Lemberg
c5f6cd72f6
Fixing ChangeLog entries.
...
Some formatting.
* src/truetype/ttgload.c (load_truetype_glyph)
[FT_CONFIG_OPTION_INCREMENTAL]: s/memset/ft_memset/.
* src/autohint/ahhint.c (ah_hint_edges_3): Fix compiler warning.
* src/cff/cffload.c (cff_encoding_load): Remove `memory' variable.
* src/cff/cffcmap.c (cff_cmap_encoding_init): Remove `psnames'
variable.
* src/truetype/ttgload.c (load_truetype_glyph): Remove statement
without effect.
* src/truetype/ttdriver (Get_Char_Index, Get_Next_Char): Removed.
2002-07-26 09:09:10 +00:00
Graham Asher
2ed0ddbca8
Changed some tabs to spaces in changelog.
2002-07-25 09:21:54 +00:00
Graham Asher
58ac8536f8
Fixed silly date error in change log.
2002-07-25 09:20:19 +00:00
Graham Asher
99022957ac
Added missing log entry for incremental font loading changes made
...
on 18th July 2002.
2002-07-25 09:17:46 +00:00
Graham Asher
4794b0a511
logged latest change to ttobjs.c
2002-07-24 18:38:45 +00:00
Graham Asher
eb1b83dd9e
FIX for bug reported by Sven Neumann [sven@gimp.org] on the FreeType
...
development forum: "If FT_CONFIG_OPTION_INCREMENTAL is undefined
(this is the default), the TrueType loader crashes in line 852 of
src/truetype/ttgload.c when it tries to access face->glyph_locations.".
2002-07-24 13:58:21 +00:00
Graham Asher
b05492404d
More work on supporting fonts passed from GhostScript:
...
sfnt_dir_check now ignores the tables 'glyx' and 'locx' which are hacked-out
versions of 'glyf' and 'loca' in some PostScript Type 42 fonts, and will
generally be invalid.
2002-07-19 11:40:51 +00:00
Graham Asher
48c0188aa1
Added support for incrementally loaded Type 1 faces.
2002-07-18 16:57:43 +00:00
Graham Asher
e975b6fd90
Changes to support incremental Type 42 fonts: assume a font has glyphs if it
...
has an incremental interface object.
2002-07-18 16:38:07 +00:00
Graham Asher
3849f2388a
Added the incremental loading system for the CID driver.
...
Tested using my own unit test code.
2002-07-18 16:25:57 +00:00
Graham Asher
4c7d53a3f4
Added the incremental loading system for the TrueType driver.
...
Tested using my own unit test code.
2002-07-18 15:59:23 +00:00
Graham Asher
75aafd36f3
Added incremental loading capability to FT_Open_Face.
...
Not implemented for any drivers yet.
2002-07-18 15:04:29 +00:00
Graham Asher
80471f8259
FT_CONFIG_OPTION_INCREMENTAL is now used to compile
...
incremental loading stuff conditionally.
2002-07-18 15:03:11 +00:00
Graham Asher
776b0ffc32
Added a new configuration macro, FT_CONFIG_OPTION_INCREMENTAL,
...
to enable incremental face loading. By default it is not defined.
2002-07-18 15:02:08 +00:00
Graham Asher
b68af36750
Added types and structures to support incremental typeface loading.
2002-07-18 14:05:19 +00:00
David Turner
feb854fd8a
* src/sfnt/ttload.c (TT_Load_SFNT_Header): fixed a recent bug that prevented
...
OpenType fonts to be recognized by FreeType
2002-07-17 22:51:06 +00:00
David Turner
ceef1e4e05
* include/freetype/config/ftoption.h, include/freetype/internal/tttypes.h,
...
src/base/ftobjs.c, src/bdf/bdfdrivr.c, src/cff/cffobjs.c,
src/pcf/pcfdrivr.c, src/sfnt/sfobjs.c, src/sfnt/ttcmap0.c,
src/sfnt/ttcmap0.h, src/sfnt/ttload.c, src/type1/t1objs.c,
src/type42/t42objs.c, src/winfonts/winfnt.c: code cleanup,
FT_CONFIG_OPTION_USE_CMAPS is now the default
2002-07-17 21:52:20 +00:00
David Turner
bd65ed97aa
* include/freetype/config/ftoption.h, include/freetype/internal/tttypes.h,
...
src/base/ftobjs.c, src/bdf/bdfdrivr.c, src/cff/cffobjs.c,
src/pcf/pcfdrivr.c, src/sfnt/sfobjs.c, src/sfnt/ttcmap0.c,
src/sfnt/ttcmap0.h, src/sfnt/ttload.c, src/type1/t1objs.c,
src/type42/t42objs.c, src/winfonts/winfnt.c: code cleanup,
FT_CONFIG_OPTION_USE_CMAPS is now the default
2002-07-17 21:14:23 +00:00
David Turner
33847031d3
* include/freetype/cache/ftccache.h, src/cache/ftccache.i,
...
src/cache/ftccache.c: cleaning up the cache sub-system code, linear
hashing is now the default
2002-07-17 20:56:48 +00:00
David Turner
6d1a81a940
small fix
2002-07-11 23:55:18 +00:00
David Turner
60b8b532c7
small fix
2002-07-11 23:51:44 +00:00
David Turner
0f20eb2e5d
* src/sfnt/ttload.c, src/sfnt/ttload.h, src/sfnt/ttdriver.c: changing
...
the SFNT loader to check for SFNT-based font files differently. We now
ignore the range "helper" fields and check the "head" table's magic
number instead.
2002-07-11 23:41:14 +00:00
David Turner
2ade80c8e9
updatinf the object sub-system and dynamic hash table implementations
2002-07-11 16:27:16 +00:00
David Turner
7f12a7fba2
* include/freetype/t1tables.h, include/freetype/internal/psaux.h,
...
src/psaux/psobjs.c, src/type1/t1load.c, src/type1/t1tokens.h:
fixing a bug in the Type 1 loader that prevented valid font bounding
boxes to be loaded from multiple master fonts.
2002-07-11 11:26:21 +00:00
David Turner
ca6ddd42ee
* src/cff/cffobjs.c: small fix to select the Unicode charmap by default
...
when needed
2002-07-10 17:10:21 +00:00
David Turner
a5b3516610
* src/cff/cffobjs.c: small fix to allow OpenType fonts to support Adobe
...
charmaps when needed.
2002-07-10 16:58:10 +00:00
David Turner
b0cea53b7a
* src/cff/cffcmap.c, src/cff/cffcmap.h, Jamfile, rules.mk: new files added
...
to support charmaps for CFF fonts
* src/cff/cffload.c, src/cff/cffload.h, src/cff/cffobjs.c,
src/cff/cffobjs.h, src/cff/cffparse.c, src/cffparse.h, src/cff/cffgload.c,
src/cff/cffgload.h: adding support for CFF charmaps, reformatting the
sources, and removing some bugs in the Encoding and Charset loaders
2002-07-10 16:52:06 +00:00
David Turner
268c63835d
* src/pshinter/pshglob.c: fixed a bug that prevented the hinter from using
...
correct standard width and height values. resulting in hinting bugs with
certain fonts (e.g. Utopia)
2002-07-09 16:49:12 +00:00
David Turner
038ca644a3
* src/pshinter/pshglob.h, src/pshinter/pshglob.c: adding support for
...
blue fuzz
2002-07-08 23:13:25 +00:00
David Turner
e2903b7f80
* src/base/ftglyph.c (FT_Glyph_To_Bitmap): added code to return succesfully
...
when the function is called with a bitmap glyph (the previous code simply
returned with an error)
2002-07-08 23:05:14 +00:00
David Turner
218867e4d8
* docs/DEBUG.TXT: adding debugging support documentation
...
* src/base/ftdebug.c (ft_debug_init), builds/win32/ftdebug.c
(ft_debug_init), builds/amiga/src/ftdebug.c (ft_debug_init): changed the
syntax of the FT2_DEBUG environment variable used to control debugging
output (i.e. logging and error messages). It must now look like:
any:6 memory:4 io:3 or
any:6,memory:4,io:3 or
any:6;memory:4;io:3
2002-07-08 23:02:32 +00:00
David Turner
32e50721bd
* include/freetype/freetype.h, src/base/ftobjs.h,
...
freetype/internal/ftobjs.h, freetype/internal/psaux.h,
freetype/internal/pshints.h, src/psaux/t1decode.c, src/cff/cffgload.h,
src/cff/cffgload.c, src/pshinter/pshalgo1.h, src/pshinter/pshalgo1.c,
src/pshinter/pshalgo2.h, src/pshinter/pshalgo2.c, src/pshinter/pshalgo3.h,
src/pshinter/pshalgo3.c: Adding support for hinter-specific bit flags,
and the new FT_Set_Hint_Flags high-level API
2002-07-08 22:26:11 +00:00
David Turner
cb818320b8
* src/pfr/pfrobjs.c (pfr_slot_load): fixed a small bug that returned
...
incorrect advances when the outline resolution was different from the
metrics resolution
* src/autohint/ahhint.c: removing compiler warnings
* src/autohint/ahglyph.c: slight improvements to the serif detection
code. More work is needed though..
2002-07-05 15:54:26 +00:00
David Turner
e32a9be04b
2002-07-03 David Turner <david@freetype.org>
...
* src/autohint/ahglobal.c, src/autohint/ahtypes.h, src/autohint/ahhint.c:
small improvements to the automatic hinter. un-even stem-widths have now
disappeared and everything looks much better, even if there are still
issues with serifed fonts.
2002-07-04 22:48:12 +00:00
David Turner
f9334dae32
adding Owen Taylor's patches to the Postscript hinter for testing
2002-07-03 21:00:26 +00:00
David Turner
9a08f7054d
where, if a glyph has more than hint mask, the second mask
...
gets applied to points that should have been covered by the
first mask.
2002-07-01 21:57:36 +00:00
David Turner
83d138a8e4
adding path stroker
2002-07-01 21:54:30 +00:00
David Turner
3a2d0118b8
* include/freetype/ftstroker.h, src/base/ftstroker.c, src/base/Jamfile:
...
adding path stroker component (work in progress)
2002-07-01 21:53:54 +00:00
David Turner
0f1af443cf
formatting
2002-07-01 21:52:49 +00:00
David Turner
bd52a2eabe
* src/sfnt/ttcmap0.c: fixing the cmap 8 and 12 parsing routines
2002-07-01 21:50:12 +00:00
David Turner
5e5f6cebf3
* include/freetype/fttrigon.h, src/base/fttrigon.c: adding
...
FT_Vector_From_Polar and FT_Angle_Diff to the trigonometric functions
2002-07-01 21:35:17 +00:00
David Turner
2b47da133a
* include/freetype/internal/ftobject.h: updating the object sub-system
...
definitions (still experimental)
2002-07-01 21:34:07 +00:00
David Turner
4302b4a7dd
* include/freetype/ftsynth.h, src/base/ftsynth.c: rewriting the automatic
...
style synthesis functions, now renamed to FT_GlyphSlot_Oblique and
FT_GlyphSlot_Embolden
2002-07-01 21:33:48 +00:00
David Turner
a9e94e7b47
* include/freetype/internal/ftobject.h: updating the object sub-system
...
definitions (still experimental)
* src/base/fthash.c (ft_hash_remove): fixing a small reallocation bug
* include/freetype/fttrigon.h, src/base/fttrigon.c: adding
FT_Vector_From_Polar and FT_Angle_Diff to the trigonometric functions
* include/freetype/ftstroker.h, src/base/ftstroker.c: adding path stroker
component (work in progress)
2002-06-26 23:45:21 +00:00
David Turner
b2186bc2ba
adding path stroker component (first steps)
2002-06-26 22:05:05 +00:00
David Turner
4b55574b89
* src/truetype/ttgload.c (TT_Load_Composite_Glyph),
...
src/base/ftoutln.c (FT_Vector_Transform): fixed Werner's latest
fix. FT_Vector_Transform wasn't buggy, the TrueType composite loader
was...
2002-06-26 20:30:37 +00:00