WISH: look into XAddConnectionWatch, does anybody need that?
DUMB: support tex fonts
+8.7
+ - do not compile in the block builtin graphics with --disable-frills.
+
8.6 Fri Nov 23 14:10:57 CET 2007
- upgrade libev to disable kqueue on anything but netbsd as it
seems to be broken everywhere else w.r.t. ptys.
def(borderLess, 26) // mwm borderless hints
def(hold, 27) // hold window open after exit
def(override_redirect, 28)
- def(skipBuiltinGlyphs, 29) // do not use internal glyphs
- def(urgentOnBell, 30)
+ def(urgentOnBell, 29)
#else
nodef(insecure)
nodef(borderLess)
nodef(hold)
nodef(override_redirect)
- nodef(skipBuiltinGlyphs)
nodef(urgentOnBell)
#endif
+#ifdef BUILTIN_GLYPHS
+ def(skipBuiltinGlyphs, 30) // do not use internal glyphs
+#else
+ nodef(skipBuiltinGlyphs)
+#endif
#if ENABLE_STYLES
def(intensityStyles, 31) // font styles imply intensity
#else
def (borderLess)
def (lineSpace)
def (cursorUnderline)
- def (skipBuiltinGlyphs)
def (urgentOnBell)
#endif
+#ifdef BUILTIN_GLYPHS
+ def (skipBuiltinGlyphs)
+#endif
#if CURSOR_BLINK
def (cursorBlink)
#endif
# define ENABLE_XIM_ONTHESPOT 1
# define CURSOR_BLINK 1
# define OPTION_HC 1
+# define BUILTIN_GLYPHS 1
#else
# define ENABLE_MINIMAL 1
#endif
/////////////////////////////////////////////////////////////////////////////
-#include "table/linedraw.h"
-
struct rxvt_font_default : rxvt_font {
struct rxvt_fontset *fs;
int width = text - tp;
int fwidth = term->fwidth * width;
+#ifdef BUILTIN_GLYPHS
if (0x2500 <= t && t <= 0x259f)
{
+# include "table/linedraw.h"
uint16_t offs = linedraw_offs[t - 0x2500];
uint32_t *a = linedraw_command + (offs >> 4);
uint32_t *b = a + (offs & 15);
}
}
}
+#else
+ if (0)
+ ;
+#endif
#if ENABLE_COMBINING
else if (IS_COMPOSE (t) && (cc = rxvt_composite[t]))
{
STRG (Rs_ext_bwidth, NULL, "borderwidth", NULL, NULL),
STRG (Rs_int_bwidth, "internalBorder", "b", "number", "internal border in pixels"),
BOOL (Rs_borderLess, "borderLess", "bl", Opt_borderLess, 0, "borderless window"),
- BOOL (Rs_skipBuiltinGlyphs, "skipBuiltinGlyphs", "sbg", Opt_skipBuiltinGlyphs, 0, "do not use internal glyphs"),
STRG (Rs_lineSpace, "lineSpace", "lsp", "number", "number of extra pixels between rows"),
#endif
+#ifdef BUILTIN_GLYPHS
+ BOOL (Rs_skipBuiltinGlyphs, "skipBuiltinGlyphs", "sbg", Opt_skipBuiltinGlyphs, 0, "do not use internal glyphs"),
+#endif
#ifdef POINTER_BLANK
RSTRG (Rs_pointerBlankDelay, "pointerBlankDelay", "number"),
#endif