mirror of
https://gitlab.freedesktop.org/freetype/freetype.git
synced 2026-05-07 18:08:02 +02:00
the Type 1 glyph loader now sets the glyph control data to the
T1 charstrings program.
This commit is contained in:
parent
3922e4f5d0
commit
c06ec0adbe
2 changed files with 9 additions and 0 deletions
|
|
@ -3,6 +3,10 @@
|
|||
* builds/hurd/detect.mk: 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>
|
||||
|
||||
2001-02-22 David Turner <david.turner@freetype.org>
|
||||
|
||||
* src/base/ftgrays.c (grays_sweep): the function didn't exit
|
||||
|
|
|
|||
|
|
@ -296,6 +296,11 @@
|
|||
metrics->horiBearingX = cbox.xMin;
|
||||
metrics->horiBearingY = cbox.yMax;
|
||||
}
|
||||
|
||||
/* set control data to the glyph charstrings. Note that this is */
|
||||
/* _not_ 0 terminated.. */
|
||||
glyph->root.control_data = type1->charstrings [glyph_index];
|
||||
glyph->root.control_len = type1->charstrings_len[glyph_index];
|
||||
}
|
||||
|
||||
Exit:
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue