1 |
|
2005-08-16 Chia I Wu <b90201047@ntu.edu.tw> |
2 |
|
|
3 |
|
* src/truetype/ttinterp.c, src/truetype/ttinterp.h: Remove original |
4 |
|
TT_Done_Context and rename TT_Destroy_Context to TT_Done_Context with |
5 |
|
slight changes. |
6 |
|
|
7 |
|
* src/truetype/ttobjs.h (tt_slot_init): New function. |
8 |
|
|
9 |
|
* src/truetype/ttobjs.c (tt_driver_init): Initialize execution context |
10 |
|
here. |
11 |
|
(tt_slot_init): New function to create extra points for the internal |
12 |
|
glyph loader. We then use it directly, instead of face's glyph loader, |
13 |
|
when loading glyph. |
14 |
|
|
15 |
|
* src/truetype/ttdriver.c: Use tt_slot_init for glyph slot |
16 |
|
initialization. |
17 |
|
(TT_Load_Glyph): Load flag dependencies are handled here. |
18 |
|
Return error if size is NULL. |
19 |
|
|
20 |
|
* src/truetype/ttgload.c: Heavy cleanup and refactor. |
21 |
|
(TT_Hint_Glyph): New funcion to hint a zone, prepared by caller. |
22 |
|
(TT_Process_Simple_Glyph): Use loader->pp's instead of recalculating. |
23 |
|
Use TT_Hint_Glyph. |
24 |
|
No need to save/restore loader->stream before/after |
25 |
|
TT_Vary_Get_Glyph_Deltas now. |
26 |
|
(TT_LOADER_SET_PP): New macro to calculate and set the four phantom points. |
27 |
|
(TT_Process_Composite_Component, TT_Process_Composite_Glyph, |
28 |
|
load_truetype_glyph): Refactor load_truetype_glyph into these three functions. |
29 |
|
Never set exec->glyphSize to 0. (close #13107) |
30 |
|
Forget glyph frame before calling TT_Process_Simple_Glyph. |
31 |
|
(TT_Load_Glyph, load_sbit_image, tt_loader_init): Refactor TT_Load_Glyph into |
32 |
|
these three functions. |
33 |
|
Set various fields of `glyph' here, instead of in load_truetype_glyph |
34 |
|
and compute_glyph_metrics. |
35 |
|
|
36 |
2005-08-08 Werner Lemberg <wl@gnu.org> |
2005-08-08 Werner Lemberg <wl@gnu.org> |
37 |
|
|
38 |
* docs/INSTALL.ANY: Updated. |
* docs/INSTALL.ANY: Updated. |