Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/dev/rasops add a macro to identify alpha fonts
details: https://anonhg.NetBSD.org/src/rev/ac66d167b941
branches: trunk
changeset: 772429:ac66d167b941
user: macallan <macallan%NetBSD.org@localhost>
date: Tue Jan 03 23:13:59 2012 +0000
description:
add a macro to identify alpha fonts
diffstat:
sys/dev/rasops/rasops.h | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diffs (17 lines):
diff -r cd41244b15dc -r ac66d167b941 sys/dev/rasops/rasops.h
--- a/sys/dev/rasops/rasops.h Tue Jan 03 21:28:50 2012 +0000
+++ b/sys/dev/rasops/rasops.h Tue Jan 03 23:13:59 2012 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: rasops.h,v 1.28 2011/12/28 08:36:46 macallan Exp $ */
+/* $NetBSD: rasops.h,v 1.29 2012/01/03 23:13:59 macallan Exp $ */
/*-
* Copyright (c) 1999 The NetBSD Foundation, Inc.
@@ -143,6 +143,7 @@
(ri->ri_optfont.data != NULL)) ? \
&ri->ri_optfont : ri->ri_font
+#define FONT_IS_ALPHA(f) ((f)->fontwidth <= (f)->stride)
/*
* rasops_init().
*
Home |
Main Index |
Thread Index |
Old Index