Commit f8657b39 authored by Kenichi Handa's avatar Kenichi Handa

(QCspacing, QCdpi): Extern them.

(enum font_spacing): New enum.
(FONT_PIXEL_SIZE_QUANTUM): New macro.
parent 9331887d
......@@ -128,7 +128,7 @@ enum font_property_index
FONT_ENTITY_MAX
};
extern Lisp_Object QCotf, QClanguage, QCscript;
extern Lisp_Object QCspacing, QCdpi, QCotf, QClanguage, QCscript;
/* Important character set symbols. */
extern Lisp_Object Qiso8859_1, Qiso10646_1, Qunicode_bmp;
......@@ -176,6 +176,14 @@ struct font
font-driver. */
};
enum font_spacing
{
FONT_SPACING_PROPORTIONAL = 0,
FONT_SPACING_DUAL = 90,
FONT_SPACING_MONO = 100,
FONT_SPACING_CHARCELL = 110
};
struct font_metrics
{
short lbearing, rbearing, width, ascent, descent;
......@@ -223,6 +231,10 @@ struct font_bitmap
font = XSAVE_VALUE (x)->pointer; \
} while (0)
/* Ignore the difference of font pixel sizes less than or equal to
this value. */
#define FONT_PIXEL_SIZE_QUANTUM 1
struct face;
struct composition;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment