NetBSD/sys/dev/rasops/files.rasops
macallan 7f836eb389 make rasops_init()'s font selection code a bit less boneheaded by:
- actually trying to pick a font which gets as close as possible to the
  requested terminal size
- accepting 0,0 as 'use system default' which can be changed by
   options RASOPS_DEFAULT_WIDTH=100
   options RASOPS_DEFAULT_HEIGHT=30
  default is 80x25
- putting alpha and bitmap fonts in the same list and making wsfont_find()
  aware of wether we support alpha fonts or not
- if supported, prefer alpha fonts over otherwise equally suitable bitmap
  fonts
2012-01-11 15:52:32 +00:00

23 lines
1.1 KiB
Plaintext

# $NetBSD: files.rasops,v 1.13 2012/01/11 15:52:32 macallan Exp $
# Note: `rasops_glue' is only here to force the header file's name
# hence it must be mentioned first (shudder...)
file dev/rasops/rasops.c ( (rasops_glue |
rasops1 | rasops2 | rasops4 | rasops8 | rasops15 | rasops16 | rasops24 |
rasops32 | rasops_rotation) &
(rasterconsole | wsdisplay)) needs-flag
file dev/rasops/rasops_masks.c ((rasterconsole | wsdisplay) &
(rasops1 | rasops2 | rasops4))
file dev/rasops/rasops1.c ((rasterconsole | wsdisplay) & rasops1)
file dev/rasops/rasops2.c ((rasterconsole | wsdisplay) & rasops2)
file dev/rasops/rasops4.c ((rasterconsole | wsdisplay) & rasops4)
file dev/rasops/rasops8.c ((rasterconsole | wsdisplay) & rasops8)
file dev/rasops/rasops15.c ((rasterconsole | wsdisplay) & (rasops15 | rasops16))
file dev/rasops/rasops24.c ((rasterconsole | wsdisplay) & rasops24)
file dev/rasops/rasops32.c ((rasterconsole | wsdisplay) & rasops32)
defflag opt_rasops.h RASOPS_CLIPPING RASOPS_SMALL
defparam opt_rasops.h RASOPS_DEFAULT_WIDTH = 80
defparam opt_rasops.h RASOPS_DEFAULT_HEIGHT = 25