Jason Rumney
dc6cf56878
(w32font_text_extents): Zero whole metrics struct first.
...
(compute_metrics): Don't set failure if we just cleared the cache.
2008-05-26 11:05:42 +00:00
Jason Rumney
ba93d6842e
(w32font_text_extents): Zero whole metrics struct first.
2008-05-26 10:41:58 +00:00
Kenichi Handa
505ecc4969
(x_draw_glyph_string): Fix calculation of underline
...
position.
2008-05-25 11:19:50 +00:00
Kenichi Handa
a6c4ecbc32
*** empty log message ***
2008-05-25 11:09:53 +00:00
Kenichi Handa
951b8112ca
(xftfont_open): Delete unused variable. If
...
underline_thickness is not 1, adjust underline_position.
2008-05-25 11:04:53 +00:00
Kenichi Handa
97b816fb93
(ftxfont_open): Delete unused variable.
2008-05-25 11:03:14 +00:00
Kenichi Handa
b59e66b393
(face_for_char): Optimize for the case of no charset property.
2008-05-25 11:02:11 +00:00
Kenichi Handa
6a3dadd2c2
(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.
2008-05-25 11:00:52 +00:00
Eli Zaretskii
f481eb312e
Include dispextern.h.
2008-05-24 08:39:34 +00:00
Eli Zaretskii
b1722a4640
*** empty log message ***
2008-05-24 08:29:28 +00:00
Kenichi Handa
6c652bebc2
(Qemacs, charset_emacs): New variables.
...
(char_charset): Fix for non-Unicode characters.
(syms_of_charset): Define charset_emacs.
2008-05-23 12:50:07 +00:00
Juanma Barranquero
924b41eefb
Fix typos.
2008-05-23 10:45:38 +00:00
Juanma Barranquero
20746fe46b
*** empty log message ***
2008-05-23 10:30:18 +00:00
Juanma Barranquero
d0cf2d48dc
(Fencode_char, Fsplit_char): Doc fixes.
...
(Fget_unused_iso_final_char, Fdecode_char, Fiso_charset):
Fix typos in docstrings.
2008-05-23 10:13:25 +00:00
Jason Rumney
e715084611
Remove includes that are already included by config.h
2008-05-23 09:25:18 +00:00
Kenichi Handa
328fab2aee
*** empty log message ***
2008-05-23 06:31:17 +00:00
Kenichi Handa
efdf1b43d7
(x_draw_glyph_string): Be sure to draw underline within the current
...
line area.
2008-05-23 06:11:53 +00:00
Kenichi Handa
90dc78a36e
(x_draw_glyph_string): Be sure to draw underline within the current
...
line area.
2008-05-23 05:33:24 +00:00
Kenichi Handa
baf4d3b3cf
*** empty log message ***
2008-05-23 04:44:35 +00:00
Kenichi Handa
71b7654711
(x_draw_glyph_string): Be sure to update
...
s->underline_thickness and s->underline_position.
2008-05-23 04:43:48 +00:00
Glenn Morris
cc4a96c680
Spelling fix.
2008-05-23 04:41:33 +00:00
Kenichi Handa
dbf46ba612
Delete unused variables and add casting for char *
...
throughout the file.
(fontset_font): Try the fallback fonts of the current fontset
before consulting the default fontset.
2008-05-23 02:24:31 +00:00
Kenichi Handa
de24e3eb51
(ftfont_spec_pattern): Free charset if necessary.
2008-05-23 02:11:22 +00:00
Kenichi Handa
019e13ef75
(xfont_list_pattern): Free names returned from XListFonts.
2008-05-23 01:31:32 +00:00
Jason Rumney
577eba225c
Don't include strings.h.
2008-05-22 22:12:25 +00:00
Jason Rumney
0513110744
* dispextern.h, xfaces.c (xstrcasecmp): Renamed from xstricmp.
...
* dosfns.c, fileio.c, font.c, fontset.c, image.c, macfns.c:
* macterm.c, process.c, w32.c, w32fns.c, w32proc.c, xfaces.c:
* xfns.c, xfont.c: Callers changed.
2008-05-22 14:54:27 +00:00
Jason Rumney
3b780338b9
(msdos_stdcolor_idx): Use xstricmp.
2008-05-22 13:41:18 +00:00
Jason Rumney
5d3f7fd872
(font_style_to_value, font_score): Use xstricmp.
2008-05-22 13:36:30 +00:00
Jason Rumney
28f4e99c8c
(fs_query_fontset): Use xstricmp.
2008-05-22 13:36:13 +00:00
Jason Rumney
61a540f538
(xfont_list_pattern, compare_font_names): Use xstricmp.
2008-05-22 13:35:54 +00:00
Kenichi Handa
955b979c00
(BASE_PURESIZE): Increaed to 1220000.
2008-05-22 12:27:44 +00:00
Kenichi Handa
64b900e33e
(font_prop_validate_style): Adjusted for the format
...
change of font_style_table.
2008-05-22 05:21:06 +00:00
Kenichi Handa
a30e19579a
*** empty log message ***
2008-05-22 03:49:18 +00:00
Kenichi Handa
47ae372379
(x_update_menu_appearance): Call Ffont_xlfd_name with
...
two args.
2008-05-22 03:47:34 +00:00
Stefan Monnier
631248e534
* minibuf.c (keys_of_minibuf): Delete.
...
* lisp.h (keys_of_minibuf): Delete.
* emacs.c (main): Don't call keys_of_minibuf.
2008-05-22 03:18:18 +00:00
Kenichi Handa
318548bef0
(ftfont_resolve_generic_family): Renamed from
...
ftfont_list_generic_family. Return a single family for each
generic family.
(ftfont_spec_pattern): Add FC_FAMILY to pattern.
(ftfont_list): Adjusted for the change of
ftfont_resolve_generic_family. Call font_add_log.
(ftfont_match): Call font_add_log.
2008-05-22 02:27:17 +00:00
Kenichi Handa
f6a651cb77
(Ffont_xlfd_name): EXFUN adjusted.
...
(FONT_DEBUG): Define it.
(font_add_log): Extern it.
(font_assert): Renamed from xassert.
2008-05-22 02:24:14 +00:00
Kenichi Handa
960d80b9c4
(xfont_get_pcm): Change xassert to font_assert.
...
(xfont_list_family): Call font_add_log.
(xfont_match): Likewise.
(memq_no_quit): Deleted.
2008-05-22 02:23:03 +00:00
Kenichi Handa
7ae2e7f020
(fontset_from_font, Ffontset_info): Add the 2nd arg in
...
call of Ffont_xlfd_name.
2008-05-22 02:21:54 +00:00
Kenichi Handa
68eaeee492
*** empty log message ***
2008-05-22 02:21:05 +00:00
Kenichi Handa
d0ab1ebe49
Checking of FONT_DEBUG is moved to font.h. All calls of
...
xassert are changed to font_assert. Many unused variables
deleted.
(Vfont_weight_table, Vfont_slant_table, Vfont_width_table): New
variables.
(struct table_entry): Moved from xfaces.c and modified.
(weight_table, slant_table, width_table): Moved from xfaces.c and
contents adjusted for the change of struct table_entry.
(font_style_to_value, font_style_symbolic): Adjuted for the format
change of font_style_table.
(font_parse_family_registry): Don't overwrite existing foundry and
family of font_spec.
(font_score): Fix calculation of diff for sizes.
(font_sort_entites): Call font_add_log.
(font_delete_unmatched): Return a newly created list.
(font_list_entities): Fix previous change. Call font_add_log.
(font_matching_entity, font_open_entity, font_close_entity): Call
font_add_log.
(Ffont_xlfd_name): New arg FOLD-WILDCARDS.
(Finternal_set_font_style_table): Deleted.
(BUILD_STYLE_TABLE): New macro.
(build_style_table): New function.
(Vfont_log, font_log_env_checked): New variables.
(font_add_log): New function.
(syms_of_font): Delete defsubr Sinternal_set_font_style_table.
Declare Lisp variables "font-weight-table", "font-slant-table",
"font-width-table", and "font-log". Initialize font_style_table.
2008-05-22 02:19:21 +00:00
Juanma Barranquero
bcc850aa9e
*** empty log message ***
2008-05-21 10:14:56 +00:00
Juanma Barranquero
65a6ff8fb5
Fix typo in comment.
2008-05-21 09:25:50 +00:00
Dan Nicolaescu
6aac1c03b8
(x_set_frame_alpha): Move declarations before
...
statements.
2008-05-21 06:32:45 +00:00
Glenn Morris
b9fb2c4543
*** empty log message ***
2008-05-21 04:08:45 +00:00
Glenn Morris
7950790f33
Fix whitespace in previous.
2008-05-21 04:01:12 +00:00
Glenn Morris
a2979e8edd
Seiji Zenitani <zenitani at mac.com>
...
Ryo Yoshitake <ryo at shiftmode.net>
(w32_frame_parm_handlers): A null handler for x_set_alpha.
2008-05-21 04:00:33 +00:00
Glenn Morris
405a127813
Seiji Zenitani <zenitani at mac.com>
...
Ryo Yoshitake <ryo at shiftmode.net>
(mac_frame_parm_handlers): A null handler for x_set_alpha.
2008-05-21 04:00:01 +00:00
Glenn Morris
4a59a6c015
Seiji Zenitani <zenitani at mac.com>
...
Ryo Yoshitake <ryo at shiftmode.net>
(x_set_frame_alpha): Add function.
2008-05-21 03:59:44 +00:00
Glenn Morris
271a71c732
Seiji Zenitani <zenitani at mac.com>
...
Ryo Yoshitake <ryo at shiftmode.net>
(x-create-frame, Qalpha): Initialize the frame parameter `alpha'.
2008-05-21 03:59:23 +00:00