Tom Kacvinsky
1c09b9bd58
2001-03-12 Tom Kacvinsky <tjk@ams.org>
...
* include/freetype/internal/psaux.h: Changed the lenIV member of
the T1_Decoder_ struct to be an FT_Int instead of an FT_UInt.
2001-03-12 12:06:30 +00:00
Tom Kacvinsky
98cc1f6a51
Changed the lenIV member of the T1_Decoder_ struct to be an FT_Int
...
instead of an FT_UInt.
2001-03-12 12:04:29 +00:00
Tom Kacvinsky
435f6102f5
Added entries for changes to the Type 1 decoder and the CID font driver (which
...
take into account the possibility of lenIV seed bytes at the beginning of a
subroutine).
2001-03-12 02:36:49 +00:00
Tom Kacvinsky
a2fb4779c4
In cid_read_subrs, decode subroutines only if lenIV >= 0.
2001-03-12 02:17:50 +00:00
Tom Kacvinsky
cc3096c086
In cid_load_glyph, decrypt charstrings only if lenIV >= 0.
2001-03-12 02:05:17 +00:00
Tom Kacvinsky
cf5a841218
In function T1_Decoder_Parse_Charstrings, take into account lenIV seed
...
bytes at the start of a decrypted subroutine.
2001-03-12 01:42:38 +00:00
Werner Lemberg
459d7e660f
* src/pcf/pcfread.c: Put READ_Fields() always in a conditional to
...
avoid compiler warnings.
2001-03-11 13:11:43 +00:00
Werner Lemberg
183ee0af2f
* TODO: Updated.
...
* src/cid/cidload.c (parse_font_matrix): Added units_per_EM
* src/type1/t1load.c (parse_font_bbox): Changed to use FT_Fixed
2001-03-11 11:28:39 +00:00
Tom Kacvinsky
ae6e13e7ea
Added entry for TODO list.
2001-03-10 20:03:06 +00:00
Tom Kacvinsky
69844e856c
Initial revision of TODO list.
2001-03-10 20:00:06 +00:00
Tom Kacvinsky
584c26a82c
Myriad entires for FT_Fixed number handling in bbox parsing and
...
assignment code that uses bbox values.
2001-03-10 19:21:19 +00:00
Tom Kacvinsky
2d2d737e83
In function T1_Init_Face, changed the assignment code for ascender,
...
descender, and max_advance_width.
2001-03-10 19:10:25 +00:00
Tom Kacvinsky
e354f7243a
Changed parse_font_bbox to use FT_Fixed values for the bbox
...
assignment, and use rounded values instead.
2001-03-10 19:08:44 +00:00
Tom Kacvinsky
08c15e60de
In CID_Init_Face, use calculated units_per_EM, and if that is not available, default
...
to 100 units per EM. Changed assignment code for ascender and descender values.
2001-03-10 19:06:54 +00:00
Tom Kacvinsky
e496962f25
Added units_per_EM processing to parse_font_matrix, and added FT_Fixed
...
number handling to parse_font_bbox.
2001-03-10 19:04:41 +00:00
Tom Kacvinsky
36c8728acb
Added implementation of three new functions: FT_RoundFix, FT_CeilFix,
...
and FT_FloorFix.
2001-03-10 19:02:51 +00:00
Tom Kacvinsky
30e00c6be6
Added prototypes and notes for three new functions: FT_RoundFix,
...
FT_CeilFix, and FT_FloorFix.
2001-03-10 19:01:21 +00:00
Werner Lemberg
1b20ae6162
* src/*/*.c: Added many casts to make code more 64bit-safe.
2001-03-10 17:07:42 +00:00
Werner Lemberg
0778f2bf18
* INSTALL, docs/BUILD: We need GNU make 3.78 or newer.
...
* src/type1/t1objs.c (T1_Init_Face): Minor correction: We must wait
Submitted by Sander van der Wal <svdwal@xs4all.nl>.
2001-03-07 21:20:48 +00:00
Tom Kacvinsky
97b9fe91f5
Added entry:
...
* src/type1/t1objs.c (T1_Init_Face): Minor correction: we must wait
until parse_font_bbox is changed before we use logical shift rights
in the assignments of `root->ascender', `root->descender', and
`root->max_advance_width'.
2001-03-07 20:56:57 +00:00
Tom Kacvinsky
0dd69c9a66
Minor correction in T1_Init_Face: we must wait until parse_font_bbox
...
is changed before we use logical shift rights in the assignments of
`root->ascender', `root->descender', and `root->max_advance_width'.
2001-03-07 20:53:08 +00:00
Tom Kacvinsky
1afa4a7aa3
Added entry:
...
* src/type1/t1objs.c (T1_Done_Face): Free `char_name' table to
avoid a memory leak.
Submitted by Sander van der Wal <svdwal@xs4all.nl>
2001-03-07 20:43:38 +00:00
Tom Kacvinsky
a57af6fb37
2001-03-07 Tom Kacvinsky <tjk@ams.org>
...
* src/type1/t1objs.c (T1_Done_Face): Free `char_name' table to
avoid a memory leak.
Submitted by Sander van der Wal <svdwal@xs4all.nl>
2001-03-07 20:42:18 +00:00
Werner Lemberg
d78d99a1cb
formatting
2001-03-06 13:56:42 +00:00
Tom Kacvinsky
79f84db817
Added entry:
...
2001-03-05 Tom Kacvinsky <tjk@ams.org>
* src/cff/cffgload.c (CFF_Load_Glyph): Set glyph control data to the
the Type 2 glyph charstring (used by conversion programs). Submitted
by Ha Shao <hashao@chinese.com>.
2001-03-05 16:24:58 +00:00
Tom Kacvinsky
6b13179803
2001-03-05 Tom Kacvinsky <tjk@ams.org>
...
* src/cff/cffgload.c (CFF_Load_Glyph): Set glyph control data to the
the Type 2 glyph charstring (used by conversion programs).
Submitted by Ha Shao <hashao@chinese.com>.
2001-03-05 16:22:25 +00:00
Antoine Leca
5f9960976d
* include/freetype/ttnameid.h: Correct a stupid typo which prevented
...
correct compilation (TT_MS_LANGID_TIGRIGNA_ETHIOPIA appeared twice).
I am sorry for the inconvenience :-(.
2001-03-05 00:15:37 +00:00
Werner Lemberg
150a583254
* builds/unix/detect.mk: Add test for Hurd.
...
* builds/hurd/detect.mk: Removed.
2001-03-04 22:10:36 +00:00
Werner Lemberg
cb6ef5a41f
* src/autohint/ahtypes.h (AH_Hinter): Add elements
...
`disable_horz_edges', `disable_vert_edges'.
* src/autohint/ahhint.c (ah_hint_edges_3, ah_hinter_hint_edges): Use
them (and remove static variables with the same names).
* src/pcf/pcfutil.c (BitOrderInvert): Add `const'.
* docs/glnames.py: Updated to latest pstables.h changes.
* src/psnames/pstables.h: Add more `const'.
* src/pcf/pcfutil.c: Ditto.
* src/base/ftglyph.c (FT_Glyph_To_Bitmap): Fixing typo
(FT_Glyph_Done -> FT_Done_Glyph).
* include/freetype/ttnameid.h: Added some new Microsoft language
codes and LCIDs as found in Office Xp.
* builds/hurd/detect.mk: New file. Added support to detect the GNU
Hurd operating system as Unix-like. Fix submitted by Anthony Fok
<foka@debian.org>.
* src/type1/t1gload.c (T1_Load_Glyph): Set glyph control data to the
the Type 1 glyph charstring (used by conversion programs).
Submitted by Ha Shao <hashao@chinese.com>.
* src/base/ftgrays.c (grays_sweep): The function didn't exit
immediately if `num_cells' was 0 as it should. Thanks to Boris for
finding this out.
* src/base/ftglyph.c (FT_Glyph_To_Bitmap): Fixed memory leak when
bitmap rendering fails (thanks to Graham Asher).
* docs/docmaker.py, include/freetype/*.h: Updated the DocMaker
script to support chapters and section block ordering. Updated the
public header files accordingly.
* src/base/ftglyph.c (FT_Glyph_Copy): Advance width and glyph format
were not correctly copied.
2001-03-04 21:53:08 +00:00
Antoine Leca
5e4b738ad5
* include/freetype/ttnameid.h: added some new Microsoft language
...
codes and LCIDs as found in Office Xp.
2001-03-01 18:00:44 +00:00
David Turner
c06ec0adbe
the Type 1 glyph loader now sets the glyph control data to the
...
T1 charstrings program.
2001-02-28 09:36:13 +00:00
David Turner
3922e4f5d0
added automatic detection for the HURD operating system
2001-02-28 09:09:05 +00:00
David Turner
50004d7044
fixed a bug reported by Graham Asher
2001-02-23 17:47:41 +00:00
David Turner
76b88d5267
fixed a small bug in FT_Glyph_Copy
2001-02-16 16:40:59 +00:00
David Turner
532e02ad82
fixed a small bug (the advance and format were not copied in
...
FT_Glyph_Copy)
2001-02-16 16:27:35 +00:00
Werner Lemberg
228859b229
* builds/unix/config.{guess,sub}: Updated (from ftp.gnu.org).
2001-02-14 08:31:55 +00:00
Werner Lemberg
82b87b344c
* docs/docmaker.py (DocSection::add_element): Use
...
`self.print_error()'.
to support chapters and section block ordering. Updated the public
2001-02-14 04:59:57 +00:00
David Turner
cb36b4a37d
update docmaker.py to support chapters and section block ordering
...
updated public header files, as well as "ftchapters.h" which only
contains comment that hold the list of section chapters..
2001-02-13 17:42:49 +00:00
Werner Lemberg
7fcdadc17a
formatting
2001-02-10 17:45:01 +00:00
Tom Kacvinsky
502f702125
minor correction to 2001-02-07 entries.
2001-02-08 23:26:09 +00:00
Tom Kacvinsky
f4655dd4f6
* src/cff/cffparse.c (cff_parse_font_matrix): Removed an
...
unnecessary fprintf( stderr, ... ).
2001-02-08 23:25:19 +00:00
Tom Kacvinsky
a359d8a698
Removed an unnecessary fprintf( stderr, ... ) from cff_parse_font_matrix
2001-02-08 23:23:46 +00:00
Tom Kacvinsky
02a16fba39
Added entry for function is_alpha. Code now makes `-' a valid
...
alphanumeric character.
2001-02-07 03:48:24 +00:00
Tom Kacvinsky
b3e3a77c2d
In function is_alpha, make `-' a legal alphanumeric character. This
...
is so that font names with `-' are fully parsed, etc...
2001-02-07 03:45:49 +00:00
Tom Kacvinsky
0f9eab88c3
Added entries for changes to CFF and Type 1 drivers, related to units
...
per EM. That is, calculate the units per EM based on the FontMatrix.
2001-02-07 01:24:11 +00:00
Tom Kacvinsky
6ad5735a27
In function T1_Init_Face, added code to get the units_per_EM from the
...
value assigned in parse_font_matrix, if available. Default to 1000 if
not available.
2001-02-07 01:14:53 +00:00
Tom Kacvinsky
91649c7a31
In struct CFF_Font_Dict_, added a units_per_em member to facilitate
...
passing of units_per_em form function cff_parse_font_matrix.
2001-02-07 01:13:21 +00:00
Tom Kacvinsky
91f450c295
In function cff_parse_font_matrix, added logic to get the units_per_EM
...
from the FontMatrix.
Added a new function (cff_parse_fixed_thousand) that gets a real
number fromt he CFF font, but multiplies by 1000 (this is to avoid
rounding errors when placing this real number into a 16.16 fixed
number).
In function cff_parse_real, added code so that the integer part is
moved into the high sixtenn bits of the 16.16 fixed number.
2001-02-07 01:11:54 +00:00
Tom Kacvinsky
9df36e4718
In function CFF_Init_Face, added logic to get the units per EM from
...
the CFF dictionary, if available.
2001-02-07 01:08:34 +00:00
Werner Lemberg
a15e07e31c
* src/psaux/psobjs.c (shift_elements): Remove if clause (which is
...
obsolete now).
(reallocate_t1_table, PS_Table_Done): Replace REALLOC() with ALLOC()
+ MEM_Copy() to avoid a memory bug.
2001-02-03 04:34:53 +00:00