diff options
| author | Kenichi Handa | 2008-05-25 11:00:52 +0000 |
|---|---|---|
| committer | Kenichi Handa | 2008-05-25 11:00:52 +0000 |
| commit | 6a3dadd2c2a658e30e86d994eb5d5f5950cb7a4d (patch) | |
| tree | 5f113f7d1b0d60946b6b21249efffaee3f6e9179 /src/font.c | |
| parent | 87b69e9d3e1c8a045438616719040a3ea8f8a2f2 (diff) | |
| download | emacs-6a3dadd2c2a658e30e86d994eb5d5f5950cb7a4d.tar.gz emacs-6a3dadd2c2a658e30e86d994eb5d5f5950cb7a4d.zip | |
(LGSTRING_HEADER_SIZE, LGSTRING_GLYPH_SIZE)
(check_gstring, check_otf_features, otf_list, otf_tag_symbol)
(otf_open, font_otf_capability, generate_otf_features)
(font_otf_DeviceTable, font_otf_ValueRecord, font_otf_Anchor):
Commented out by surrounding "#if 0" and "#endif" for the moment.
(Ffont_drive_otf, Ffont_otf_alternates): Likewise.
(syms_of_font): Codes for accessing above commented out.
Diffstat (limited to 'src/font.c')
| -rw-r--r-- | src/font.c | 15 |
1 files changed, 11 insertions, 4 deletions
diff --git a/src/font.c b/src/font.c index cd1320c2efa..c869c812c80 100644 --- a/src/font.c +++ b/src/font.c | |||
| @@ -1608,6 +1608,8 @@ font_parse_family_registry (family, registry, font_spec) | |||
| 1608 | 1608 | ||
| 1609 | /* OTF handler */ | 1609 | /* OTF handler */ |
| 1610 | 1610 | ||
| 1611 | #if 0 | ||
| 1612 | |||
| 1611 | #define LGSTRING_HEADER_SIZE 6 | 1613 | #define LGSTRING_HEADER_SIZE 6 |
| 1612 | #define LGSTRING_GLYPH_SIZE 8 | 1614 | #define LGSTRING_GLYPH_SIZE 8 |
| 1613 | 1615 | ||
| @@ -1843,7 +1845,6 @@ generate_otf_features (spec, features) | |||
| 1843 | error ("OTF spec too long"); | 1845 | error ("OTF spec too long"); |
| 1844 | } | 1846 | } |
| 1845 | 1847 | ||
| 1846 | |||
| 1847 | Lisp_Object | 1848 | Lisp_Object |
| 1848 | font_otf_DeviceTable (device_table) | 1849 | font_otf_DeviceTable (device_table) |
| 1849 | OTF_DeviceTable *device_table; | 1850 | OTF_DeviceTable *device_table; |
| @@ -1898,8 +1899,8 @@ font_otf_Anchor (anchor) | |||
| 1898 | } | 1899 | } |
| 1899 | return val; | 1900 | return val; |
| 1900 | } | 1901 | } |
| 1901 | |||
| 1902 | #endif /* HAVE_LIBOTF */ | 1902 | #endif /* HAVE_LIBOTF */ |
| 1903 | #endif /* 0 */ | ||
| 1903 | 1904 | ||
| 1904 | /* G-string (glyph string) handler */ | 1905 | /* G-string (glyph string) handler */ |
| 1905 | 1906 | ||
| @@ -3993,6 +3994,8 @@ FONT-OBJECT. */) | |||
| 3993 | return to; | 3994 | return to; |
| 3994 | } | 3995 | } |
| 3995 | 3996 | ||
| 3997 | #if 0 | ||
| 3998 | |||
| 3996 | DEFUN ("font-drive-otf", Ffont_drive_otf, Sfont_drive_otf, 6, 6, 0, | 3999 | DEFUN ("font-drive-otf", Ffont_drive_otf, Sfont_drive_otf, 6, 6, 0, |
| 3997 | doc: /* Apply OpenType features on glyph-string GSTRING-IN. | 4000 | doc: /* Apply OpenType features on glyph-string GSTRING-IN. |
| 3998 | OTF-FEATURES specifies which features to apply in this format: | 4001 | OTF-FEATURES specifies which features to apply in this format: |
| @@ -4112,7 +4115,7 @@ corresponding character. */) | |||
| 4112 | } | 4115 | } |
| 4113 | return Fnreverse (alternates); | 4116 | return Fnreverse (alternates); |
| 4114 | } | 4117 | } |
| 4115 | 4118 | #endif /* 0 */ | |
| 4116 | 4119 | ||
| 4117 | #ifdef FONT_DEBUG | 4120 | #ifdef FONT_DEBUG |
| 4118 | 4121 | ||
| @@ -4488,10 +4491,12 @@ syms_of_font () | |||
| 4488 | staticpro (&scratch_font_prefer); | 4491 | staticpro (&scratch_font_prefer); |
| 4489 | scratch_font_prefer = Ffont_spec (0, NULL); | 4492 | scratch_font_prefer = Ffont_spec (0, NULL); |
| 4490 | 4493 | ||
| 4494 | #if 0 | ||
| 4491 | #ifdef HAVE_LIBOTF | 4495 | #ifdef HAVE_LIBOTF |
| 4492 | staticpro (&otf_list); | 4496 | staticpro (&otf_list); |
| 4493 | otf_list = Qnil; | 4497 | otf_list = Qnil; |
| 4494 | #endif | 4498 | #endif /* HAVE_LIBOTF */ |
| 4499 | #endif /* 0 */ | ||
| 4495 | 4500 | ||
| 4496 | defsubr (&Sfontp); | 4501 | defsubr (&Sfontp); |
| 4497 | defsubr (&Sfont_spec); | 4502 | defsubr (&Sfont_spec); |
| @@ -4505,8 +4510,10 @@ syms_of_font () | |||
| 4505 | defsubr (&Sfont_make_gstring); | 4510 | defsubr (&Sfont_make_gstring); |
| 4506 | defsubr (&Sfont_fill_gstring); | 4511 | defsubr (&Sfont_fill_gstring); |
| 4507 | defsubr (&Sfont_shape_text); | 4512 | defsubr (&Sfont_shape_text); |
| 4513 | #if 0 | ||
| 4508 | defsubr (&Sfont_drive_otf); | 4514 | defsubr (&Sfont_drive_otf); |
| 4509 | defsubr (&Sfont_otf_alternates); | 4515 | defsubr (&Sfont_otf_alternates); |
| 4516 | #endif /* 0 */ | ||
| 4510 | 4517 | ||
| 4511 | #ifdef FONT_DEBUG | 4518 | #ifdef FONT_DEBUG |
| 4512 | defsubr (&Sopen_font); | 4519 | defsubr (&Sopen_font); |