Tom Kacvinsky
fb68eaf8ac
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
a25b712c95
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
d15ac62429
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
68621135db
In cid_read_subrs, decode subroutines only if lenIV >= 0.
2001-03-12 02:17:50 +00:00
Tom Kacvinsky
e355d008b3
In cid_load_glyph, decrypt charstrings only if lenIV >= 0.
2001-03-12 02:05:17 +00:00
Tom Kacvinsky
9b59f2c385
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
22e812a8c4
* 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
29bac136cb
* 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
21fed911e2
Added entry for TODO list.
2001-03-10 20:03:06 +00:00
Tom Kacvinsky
82aca5c0ff
Initial revision of TODO list.
2001-03-10 20:00:06 +00:00
Tom Kacvinsky
f4f17d4f71
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
e5b8bbb892
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
5d362b6b44
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
00169a309e
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
025c2f3fb6
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
c2f44c1608
Added implementation of three new functions: FT_RoundFix, FT_CeilFix,
...
and FT_FloorFix.
2001-03-10 19:02:51 +00:00
Tom Kacvinsky
f8220925c9
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
914b289f16
* src/*/*.c: Added many casts to make code more 64bit-safe.
2001-03-10 17:07:42 +00:00
Werner Lemberg
7124a8e59c
* 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
a20e15bc0d
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
bdcfd5246d
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
5441897bcb
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
3f06635b12
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
2e35c9b406
formatting
2001-03-06 13:56:42 +00:00
Tom Kacvinsky
0d832659c7
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
e20035ae3c
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
ca3035ad4c
* 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
29179a33ee
* builds/unix/detect.mk: Add test for Hurd.
...
* builds/hurd/detect.mk: Removed.
2001-03-04 22:10:36 +00:00
Werner Lemberg
e274cfd3ef
* 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
6d27936aa9
* 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
8a8d5c88b5
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
131f8ea8d5
added automatic detection for the HURD operating system
2001-02-28 09:09:05 +00:00
David Turner
5aeaad6c39
fixed a bug reported by Graham Asher
2001-02-23 17:47:41 +00:00
David Turner
f3b07226c2
fixed a small bug in FT_Glyph_Copy
2001-02-16 16:40:59 +00:00
David Turner
8fe916ca51
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
20e862be32
* builds/unix/config.{guess,sub}: Updated (from ftp.gnu.org).
2001-02-14 08:31:55 +00:00
Werner Lemberg
0b2137e5ca
* 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
e231a65882
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
500dc854f6
formatting
2001-02-10 17:45:01 +00:00
Tom Kacvinsky
16c691c155
minor correction to 2001-02-07 entries.
2001-02-08 23:26:09 +00:00
Tom Kacvinsky
78b5f17a15
* src/cff/cffparse.c (cff_parse_font_matrix): Removed an
...
unnecessary fprintf( stderr, ... ).
2001-02-08 23:25:19 +00:00
Tom Kacvinsky
1e5f0ee609
Removed an unnecessary fprintf( stderr, ... ) from cff_parse_font_matrix
2001-02-08 23:23:46 +00:00
Tom Kacvinsky
43a9c9d396
Added entry for function is_alpha. Code now makes `-' a valid
...
alphanumeric character.
2001-02-07 03:48:24 +00:00
Tom Kacvinsky
97094311aa
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
1df6a31704
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
7b91beadab
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
d30bcd20c2
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
c27cd28e22
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
c97cf17acd
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
e56b411f32
* 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