Graham Asher
3fd12f1478
Implemented incremental loading for the CFF driver.
2002-08-15 12:10:48 +00:00
Werner Lemberg
3c403e4c17
Some formatting.
...
* src/cff/cffcmap.c: Remove compiler warnings.
* src/cache/ftccache.c, src/cache/ftccache.i,
src/pfr/pfrload.c, src/pfr/pfrgload.c: s/index/idx/.
* src/cff/cffload.c: s/select/fdselect/.
* src/raster/ftraster.c: s/wait/waiting/.
2002-08-06 21:47:40 +00:00
Graham Asher
a170607556
Commented latest change to t1load.c.
2002-08-01 16:20:06 +00:00
Graham Asher
733c255713
T1_Open_Face now tolerates a face with no charstrings if there is
...
an incremental loading interface. This is essential if incremental
loading of Type 1 fonts supplied by PostScript is to work.
2002-08-01 16:16:16 +00:00
Graham Asher
f9b34b5807
Added note about latest changes to incremental interface.
2002-08-01 15:36:50 +00:00
Graham Asher
ce12182cfc
Modified incremental loading interface to be closer to David Turner's
...
preferences. The header freetype.h is not now affected, the interface is
specified via an FT_Parameter, the pointer to the interface is hidden in an
internal part of the face record, and all the definitions are in ftincrem.h.
2002-08-01 15:29:17 +00:00
David Turner
f52165cc06
* src/tools/docmaker/*: adding new (more advanced) version of
...
the DocMaker tool. Python with regular expressions rocks..
2002-07-30 18:49:52 +00:00
David Turner
76effc302f
* 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
b3d5e9cf03
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
bdb10748a7
* src/sfnt/ttload.c (sfnt_dir_check): Make it work with TTCs.
2002-07-27 22:51:28 +00:00
Werner Lemberg
b94f3d3ea2
* 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
7f74a52a21
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
0327329db5
Changed some tabs to spaces in changelog.
2002-07-25 09:21:54 +00:00
Graham Asher
94e4b5bc0f
Fixed silly date error in change log.
2002-07-25 09:20:19 +00:00
Graham Asher
fac34ae1a7
Added missing log entry for incremental font loading changes made
...
on 18th July 2002.
2002-07-25 09:17:46 +00:00
Graham Asher
6ebd6fd51a
logged latest change to ttobjs.c
2002-07-24 18:38:45 +00:00
Graham Asher
11f0ab7d64
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
320da730d4
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
bd8b08513f
Added support for incrementally loaded Type 1 faces.
2002-07-18 16:57:43 +00:00
Graham Asher
cd0d1dfa04
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
ea94abb185
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
13217f2509
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
d53cf1df31
Added incremental loading capability to FT_Open_Face.
...
Not implemented for any drivers yet.
2002-07-18 15:04:29 +00:00
Graham Asher
96089b9569
FT_CONFIG_OPTION_INCREMENTAL is now used to compile
...
incremental loading stuff conditionally.
2002-07-18 15:03:11 +00:00
Graham Asher
03011c6462
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
0e2fb07685
Added types and structures to support incremental typeface loading.
2002-07-18 14:05:19 +00:00
David Turner
fed59b7cc2
* 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
3e19d85dd4
* 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
d1214ac947
* 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
075c35de55
* 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
b55464fafd
small fix
2002-07-11 23:55:18 +00:00
David Turner
3314a975b9
small fix
2002-07-11 23:51:44 +00:00
David Turner
7acd73fd6a
* 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
660138753b
updatinf the object sub-system and dynamic hash table implementations
2002-07-11 16:27:16 +00:00
David Turner
8db6a07021
* 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
d473204c00
* 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
a87bb79235
* 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
b9b2cac634
* 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
ee06410b0a
* 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
971517ac8e
* src/pshinter/pshglob.h, src/pshinter/pshglob.c: adding support for
...
blue fuzz
2002-07-08 23:13:25 +00:00
David Turner
f0f1b6ae15
* 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
02c3aede1b
* 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
27c322e983
* 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
dcb61e4785
* 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
699053ca75
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
9f7d079c89
adding Owen Taylor's patches to the Postscript hinter for testing
2002-07-03 21:00:26 +00:00
David Turner
26438805c7
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
49b1a9d00a
adding path stroker
2002-07-01 21:54:30 +00:00
David Turner
0c46f70e3e
* 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
d36b4a5985
formatting
2002-07-01 21:52:49 +00:00