/* Header for fontset handler.
- Copyright (C) 1995, 1997, 2000 Electrotechnical Laboratory, JAPAN.
- Licensed to the Free Software Foundation.
+ Copyright (C) 1998, 2002, 2003, 2004, 2005,
+ 2006 Free Software Foundation, Inc.
+ Copyright (C) 1995, 1997, 2000
+ National Institute of Advanced Industrial Science and Technology (AIST)
+ Registration Number H14PRO021
This file is part of GNU Emacs.
You should have received a copy of the GNU General Public License
along with GNU Emacs; see the file COPYING. If not, write to
-the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
-Boston, MA 02111-1307, USA. */
+the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
+Boston, MA 02110-1301, USA. */
#ifndef EMACS_FONTSET_H
#define EMACS_FONTSET_H
/* Charset of characters displayed by the font. */
int charset;
+#ifdef WINDOWSNT
+ /* Codepage of characters that will be displayed by the font. */
+ int codepage;
+#endif
+
/* Maximum bound width over all existing characters of the font. On
X window, this is same as (font->max_bounds.width) */
int size;
(font->ascent + font->descent). */
int height;
+ /* Width of the space glyph of the font. */
+ int space_width;
+
+ /* Average width of glyphs in the font. */
+ int average_width;
+
/* 1 iff `vertical-centering-font-regexp' matches this font name.
In this case, we render characters at vartical center positions
of lines. */
`ascent'. In other words, the value indicates how many bits
higher we should draw a character of the font than normal ASCII
text for a better looking.
-
+
We also have to consider the fact that the concept of `baseline'
differs among languages to which each character belongs. For
instance, baseline should be at the bottom most position of all
extern int face_suitable_for_char_p P_ ((struct face *, int));
extern int face_for_char P_ ((FRAME_PTR, struct face *, int));
extern int make_fontset_for_ascii_face P_ ((FRAME_PTR, int));
+extern void set_default_ascii_font P_ ((Lisp_Object));
extern struct font_info *fs_load_font P_ ((struct frame *, int, char *, int,
struct face *));
extern int fs_query_fontset P_ ((Lisp_Object, int));
extern Lisp_Object list_fontsets P_ ((struct frame *, Lisp_Object, int));
extern Lisp_Object Qfontset;
-extern Lisp_Object Vuse_default_ascent;
+extern Lisp_Object Vuse_default_ascent;
extern Lisp_Object Vignore_relative_composition;
extern Lisp_Object Valternate_fontname_alist;
extern Lisp_Object Vfontset_alias_alist;
-extern Lisp_Object Vhighlight_wrong_size_font;
-extern Lisp_Object Vclip_large_size_font;
extern Lisp_Object Vvertical_centering_font_regexp;
/* Load a font named FONTNAME for displaying character C. All fonts
extern int fontset_height P_ ((int));
#endif /* EMACS_FONTSET_H */
+
+/* arch-tag: c27cef7b-3cab-488a-8398-7a4daa96bb77
+ (do not change this comment) */