David Turner
ee18cba61b
* include/freetype/freetype.h, src/base/ftobjs.c: changing the type
...
of the "load_flags" parameter of FT_Load_Glyph and FT_Load_Char from
"FT_Int" to "FT_Int32", this in order to support more options.
this should only break binary and/or source compatibility on
16-bit platforms (Atari?)
2002-08-21 21:39:28 +00:00
David Turner
1b8d70a362
* src/tools/docmaker/docmaker.py, src/tools/docmaker/utils.py,
...
src/tools/docmaker/tohtml.py: updating the DocMaker tool
2002-08-21 21:36:26 +00:00
David Turner
7afd3d6b6f
* src/pshinter/pshalgo3.c, src/autohint/ahangles.c,
...
src/autohint/ahangles.h, src/autohint/ahglyph.c, src/autohint/ahhint.c,
src/autohint/ahtypes.h: the automatic and Postscript hinter now
automatically detect inflection points in glyph outlines and treats
them specially. This is very useful to prevent nasty effect like the
disappearing diagonals of "S" and "s" in many, many fonts..
2002-08-21 21:34:59 +00:00
Werner Lemberg
8cb11c96f0
* src/truetype/ttgload.c (TT_Get_Metrics): Add guard for k = 0.
2002-08-21 17:36:20 +00:00
David Turner
fab5018b69
- removal of compiler warnings
...
- slight improvements to the Postscript hinter
2002-08-19 06:06:44 +00:00
Werner Lemberg
0e36c31d73
* builds/unix/install.mk (install, uninstall): Add $(DESTDIR) to
...
make life easier for package maintainers.
2002-08-19 02:25:43 +00:00
Werner Lemberg
4eb2427c04
* src/pcf/pcfdriver.c (PCF_Glyph_Load): Fix computation of
...
horiBearingX.
* src/bdf/bdfdrivr.c (BDF_GlyphLoad): Fix computation of
horiBearingY.
2002-08-18 22:02:03 +00:00
Werner Lemberg
2179bf347c
Adding some comments.
2002-08-18 07:15:52 +00:00
Werner Lemberg
b4816762c3
Add support for Apple composite glyphs.
...
* include/freetype/config/ftoption.h
(TT_CONFIG_OPTION_COMPONENT_OFFSET_SCALED): New macro.
* src/truetype/ttgload.c (OVERLAP_COMPOUND, SCALED_COMPONENT_OFFSET,
UNSCALED_COMPONENT_OFFSET): New macros for additional OpenType
glyph loading flags.
(load_truetype_glyph): Implement it.
2002-08-16 12:46:52 +00:00
Werner Lemberg
88ef7593f4
* src/cff/cffgload.c (cff_free_glyph_data),
...
src/cff/cffload.c (cff_font_load): Use FT_UNUSED.
* src/base/ftglyph.c (FT_Glyph_To_Bitmap): Initialize `error'.
* src/sfnt/sfobjs.c (SFNT_Load_Face): Fix compiler warning.
2002-08-15 23:07:18 +00:00
Graham Asher
d9cb9eac7c
Fixed compiler warnings about unreferenced formal parameters when
...
FT_CONFIG_OPTION_INCREMENTAL is not defined.
2002-08-15 12:58:21 +00:00
Graham Asher
c39c3eed31
Noted latest changes to incremental font lolading system.
2002-08-15 12:24:21 +00:00
Graham Asher
dfe94fa353
Corrected incremental interface implementation to suit the new system.
2002-08-15 12:15:08 +00:00
Graham Asher
40a72ccbf3
Implemented incremental loading for the CFF driver.
2002-08-15 12:10:48 +00:00
Werner Lemberg
cbfc97910e
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
ef8bd8336a
Commented latest change to t1load.c.
2002-08-01 16:20:06 +00:00
Graham Asher
2d54c604c7
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
72aebdeecb
Added note about latest changes to incremental interface.
2002-08-01 15:36:50 +00:00
Graham Asher
25875e7f6d
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
5ea78be3a5
* 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
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