Kenichi Handa
f55d03b19b
(fontset_ref): Use SPLIT_CHAR instead of
...
SPLIT_NON_ASCII_CHAR.
(fontset_ref_via_base, fontset_set): Likewise
2000-05-20 00:00:49 +00:00
Dave Love
63dffd51db
(Ffontset_info): ...and another.
2000-05-18 14:44:57 +00:00
Dave Love
06e6aef0f7
(Ffontset_info): Fix newline in doc.
2000-05-18 13:53:25 +00:00
Kenichi Handa
1ff005e1ed
Include "buffer.h".
...
(fs_load_font): If the face has fontset, record the face ID in
that fontset.
(Finternal_char_font): New function.
(accumulate_font_info): New function.
(Ffontset_info): Rewritten for the new fontset implementation.
(syms_of_fontset): Register Vdefault_fontset in the first element
of Vfontset_table. Include Vdefault_fontset in
Vfontset_alias_alist. Declare `internal-char-font' as a Lisp
function.
2000-05-17 23:30:30 +00:00
Kenichi Handa
40292c8a39
(fs_load_font): By default, use 0x00..0x7f for ASCII.
...
Check Vfont_encoding_alist against the full name of the opened
font.
2000-05-01 00:57:23 +00:00
Kenichi Handa
4ea5775bc6
(Fset_fontset_font): Fix docstring. Local variable
...
name change: ch -> character.
2000-04-20 23:52:05 +00:00
Ken Raeburn
f32318377b
(make_fontset_for_ascii_face): Use XINT on return value.
...
(Fset_fontset_font): Use EQ to compare lisp objects.
2000-04-08 19:33:36 +00:00
Dave Love
755f47fed9
(Fset_fontset_font, Ffontset_font): Fix newlines in doc string.
2000-03-21 17:31:48 +00:00
Kenichi Handa
0d407d7782
All codes rewritten or adjusted for the change of
...
fontset implementation. Now fontset is represented by char table.
(Vglobal_fontset_alist, font_idx_temp, my_strcasetbl): Variables
removed.
(my_strcasecmp): Function removed.
(Vfontset_table, next_fontset_id, Vdefault_fontset): New
variables.
(AREF, ASIZE): New macros.
(FONTSET_FROM_ID, FONTSET_ID, FONTSET_NAME, FONTSET_FRAME,
FONTSET_ASCII, FONTSET_BASE, BASE_FONTSET_P, FONTSET_REF,
FONTSET_REF_VIA_BASE, FONTSET_SET): New macros.
(fontset_ref, fontset_ref_via_base, fontset_set, make_fontset,
fontset_id_valid_p, font_family_registry, fontset_name,
fontset_ascii, free_face_fontset, face_suitable_for_char_p,
face_for_char, make_fontset_for_ascii_face, fontset_font_pattern):
New functions.
(fs_load_font): New arg FACE. Caller changed.
(fs_query_fontset): Argument changed. Caller changed.
(Fquery_fontset): call fs_query_fontset.
(fs_register_fontset, alloc_fontset_data, free_fontset_data):
Functions removed.
(clear_fontset_elements, check_registry_encoding,
check_fontset_name): New functions.
(syms_of_fontset): Set char-table-extra-slots property of fontset
to 3. Staticpro and initialize Vfontset_table and
Vdefault_fontset. Defsubr fontset_font and fontset_list.
2000-03-21 00:38:14 +00:00
Kenichi Handa
810abb8758
(Vvertical_centering_font_regexp): New variable.
...
(syms_of_fontset): Declare it as a Lisp variable and initialize.
Set Vignore_relative_composition to nil.
(fs_load_font): Initialize `vertical_centering' of struct
font_info.
1999-12-15 00:12:47 +00:00
Ken Raeburn
7539e11fca
more XCAR/XCDR/XFLOAT_DATA uses, to help isolete lisp engine
1999-10-25 04:58:18 +00:00
Gerd Moellmann
18f39d0e20
(Ffont_info): Change for Lisp_Object selected_frame.
...
(Ffontset_info): DItto.
1999-09-13 11:13:31 +00:00
Kenichi Handa
b550eb05f7
(Fset_fontset_font): Fix previous change.
1999-04-12 01:26:06 +00:00
Kenichi Handa
79091e9c64
(Fquery_fontset): Check for fontset aliases here.
...
(Fnew_fontset, Fset_fontset_font): Don't check for them here.
1999-04-10 02:21:00 +00:00
Richard M. Stallman
9af3dc479f
(Fquery_fontset): Don't check for fontset aliases here.
...
(Fnew_fontset, Fset_fontset_font): Check for them here.
(Ffontset_info, Fnew_fontset, Fset_fontset_font):
Fix error message syntax.
1999-04-07 23:35:12 +00:00
Kenichi Handa
3541bb8faa
Include frame.h before fontset.h.
...
(list_fonts_func): Fix prototype.
1998-10-21 11:50:56 +00:00
Kenichi Handa
e3ae549a3b
(fs_load_font): Typo in comments fixed.
1998-07-09 02:02:33 +00:00
Kenichi Handa
727fb7903d
(find_ccl_program_func): New variable.
...
(fs_load_font): Call a function pointed by find_ccl_program_func
instead of finding CCL program to encode a character by itself.
(Fquery_fontset): New optional 2nd arg REGEXPP. Callers changed.
1998-04-15 07:12:49 +00:00
Andreas Schwab
dfcf069d56
Fix -Wimplicit warnings.
1998-04-14 12:25:56 +00:00
Richard M. Stallman
d96d677d0a
(fontset_pattern_regexp): ==' was used instead of ='.
1998-03-10 00:29:10 +00:00
Richard M. Stallman
189987107d
(free_fontset_data): Don't free null pointer.
1997-11-25 04:49:10 +00:00
Andreas Schwab
5771dcf40d
Protoize functions declarations.
1997-11-21 15:01:36 +00:00
Kenichi Handa
01d4b81700
(Valternate_fontname_alist): Name changed from
...
Valternative_fontname_alist.
(syms_of_fontset): Adjusted for the above change.
1997-08-22 01:19:27 +00:00
Kenichi Handa
2aeafb78bf
(Vignore_relative_composition): New variable.
...
(syms_of_fontset): Doc-string of use-default-ascent modified.
Declare ignore-relative-composition as a Lisp variable.
1997-08-10 04:13:19 +00:00
Richard M. Stallman
fc8915913f
(syms_of_fontset): Doc fixes.
1997-08-05 18:08:38 +00:00
Kenichi Handa
e3ee2a8a9a
(syms_of_fontset): Set Vhighlight_wrong_size_font to Qnil.
1997-07-25 07:53:16 +00:00
Kenichi Handa
e397ee4108
(Ffont_info): Make vector of correct size.
1997-07-09 06:54:54 +00:00
Kenichi Handa
d5e7d534d7
(font_idx_temp): New temprary variable used in FS_LOAD_FONT.
1997-06-21 00:45:09 +00:00
Richard M. Stallman
75c8c59233
Change copyright notices.
1997-06-20 06:30:29 +00:00
Richard M. Stallman
dacc955ce6
(list_fontsets, fs_load_font): fast_c_string_match_ignore_case renamed.
1997-06-09 18:00:36 +00:00
Kenichi Handa
afbee0fa30
(fs_load_font): Before using a fontset, be sure to
...
load the ASCII font of the fontset. Size and height of a fontset
is set to the same as those of the ASCII font of the fontset. Use
macro FONT_ENCODING_NOT_DECIDED.
1997-05-28 04:36:21 +00:00
Kenichi Handa
0622778015
(fs_load_font): Modified to cope with the above change
...
in x_load_font (xterm.c).
1997-05-19 03:33:50 +00:00
Kenichi Handa
ea5239ece3
(fontset_pattern_regexp): Cast to (char *) before
...
assigning to P0.
1997-05-16 00:43:08 +00:00
Kenichi Handa
1c283e35bc
(Vfontset_alias_alist): New variable.
...
(fontset_pattern_regexp): Delete code for handling nickname of a
fonset. It is now handled in Fquery_fontset by consulting
Vfontset_alias_alist.
(Fquery_fontset): Handle Vfontset_alias_alist.
(syms_of_fontset): Terminate each line by `\n\' in doc-string of
alternate-fontname-alist. Declare Lisp valiable
fontset-alias-alist. Doc-string of highlight-wrong-size-font
and clip-large-size-font modified.
1997-05-10 03:37:01 +00:00
Kenichi Handa
ec3bb06866
(Vhighlight_wrong_size_font, Vclip_large_size_font):
...
New variables.
(syms_of_fontset): Declare them as Lisp variables.
1997-04-07 07:12:13 +00:00
Kenichi Handa
8c83e4f9fb
(Valternative_fontname_alist): New variable.
...
(syms_of_fontset): Declare Lisp variable alternative-fontname-alist.
1997-03-19 16:33:06 +00:00
Kenichi Handa
467e767554
Adjusted for the change of MAX_CHARSET.
1997-03-18 23:31:34 +00:00
Kenichi Handa
6a7e6d80cb
(syms_of_fontset): Intern Qfontset. Declare new lisp
...
variable use-default-ascent.
(Vuse_default_ascent): New variable.
(Ffont_info): Return also the value of default-ascent of a font.
(fs_load_font): Disable updating fontsetp->height by
non-ASCII character sets. This should be enabled when Emacs
supports variable height lines.
(fs_load_font, Fset_fontset_font): Bug fix to cope
with the change of charsets to symbols.
1997-02-27 07:52:23 +00:00
Karl Heuer
369314dc63
Fix FSF address in comment.
1997-02-23 09:20:52 +00:00
Karl Heuer
4ed4686978
Initial revision
1997-02-20 07:02:49 +00:00