|
|
|
@ -1,24 +1,26 @@ |
|
|
|
|
2008-10-02 suzuki toshiya <mpsuzuki@hiroshima-u.ac.jp> |
|
|
|
|
|
|
|
|
|
* src/base/ftbase.h: New file to declare the private utility |
|
|
|
|
functions shared by the sources of base modules. Currently, |
|
|
|
|
`ft_lookup_PS_in_sfnt' and `open_face_from_buffer' are declared |
|
|
|
|
to share between ftobjs.c and ftmac.c. |
|
|
|
|
functions shared by the sources of base modules. Currently, |
|
|
|
|
`ft_lookup_PS_in_sfnt' and `open_face_from_buffer' are declared to |
|
|
|
|
share between ftobjs.c and ftmac.c. |
|
|
|
|
|
|
|
|
|
* src/base/rule.mk: Add ftbase.h. |
|
|
|
|
|
|
|
|
|
* src/base/ftobjs.c: Include ftbase.h. |
|
|
|
|
(memory_stream_close): Build on any platform when old MacOS |
|
|
|
|
font support is enabled. |
|
|
|
|
(memory_stream_close): Build on any platform when old MacOS font |
|
|
|
|
support is enabled. |
|
|
|
|
(new_memory_stream): Ditto. |
|
|
|
|
(open_face_from_buffer): Build on any platform when old MacOS |
|
|
|
|
font support is enabled. The counting of the face in a font |
|
|
|
|
file is slightly different between Carbon-dependent parser and |
|
|
|
|
Carbon-free parser. They are merged with the platform-specific |
|
|
|
|
conditional. |
|
|
|
|
(open_face_from_buffer): Build on any platform when old MacOS font |
|
|
|
|
support is enabled. The counting of the face in a font file is |
|
|
|
|
slightly different between Carbon-dependent parser and Carbon-free |
|
|
|
|
parser. They are merged with the platform-specific conditional. |
|
|
|
|
(ft_lookup_PS_in_sfnt): Ditto. |
|
|
|
|
|
|
|
|
|
* src/base/ftmac.c: Include ftbase.h. |
|
|
|
|
(memory_stream_close): Removed. |
|
|
|
|
(new_memory_stream): Ditto. |
|
|
|
|
(open_face_from_buffer): Removed. Use the implementation in |
|
|
|
|
(open_face_from_buffer): Removed. Use the implementation in |
|
|
|
|
ftobjs.c. |
|
|
|
|
(ft_lookup_PS_in_sfnt): Ditto. |
|
|
|
|
|
|
|
|
@ -39,7 +41,7 @@ |
|
|
|
|
2008-09-30 suzuki toshiya <mpsuzuki@hiroshima-u.ac.jp> |
|
|
|
|
|
|
|
|
|
* src/base/rules.mk: Add conditional source to BASE_SRC, for `make |
|
|
|
|
multi' on Mac OS X. If the macro $(ftmac_c) is defined, |
|
|
|
|
multi' on Mac OS X. If the macro $(ftmac_c) is defined, |
|
|
|
|
$(BASE_DIR)/$(ftmac_c) is added to BASE_SRC. In a normal build, the |
|
|
|
|
lack of ftmac.c in BASE_SRC is not serious because ftbase.c includes |
|
|
|
|
ftmac.c. |
|
|
|
|