Commit Graph

35 Commits

Author SHA1 Message Date
tsutsui b386fab8f8 Use aprint_debug() instead of aprint_normal() for debug info. 2003-12-15 15:13:55 +00:00
uwe fadd31bf33 Add vt220 8x10 koi8-r/koi8-u fonts so that I can read mail using
Jornada 680 console.

XXX: The fonts are marked WSDISPLAY_FONTENC_ISO, which is wrong, but
at least makes the alphabet available.  Line-drawing is all broken.
2003-07-14 18:30:40 +00:00
jdolecek cd6f847ec6 undo constification of 'data' for wsdisplay font - unfortunately we need
to be able to adjust the font to display adapter needs very soon (in consinit()),
so it's not possible to do font copy
2003-02-10 14:28:19 +00:00
jdolecek 2147742d01 wsfont_lock(): if bitorder/byteorder doesn't match, copy the font to new font
also if the font is static (and thus it's 'data' point to const/text location) -
later call to wsfont_rev{bit,byte}() needs to change the font data in-place
print info about the font copy when it's made

problem pointed out by Matthias Drochner
2003-02-09 18:40:31 +00:00
jdolecek 998befbc32 make 'name' and 'data' of struct wsdisplay_font const, mark data arrays
in font sources const
2003-02-09 10:29:35 +00:00
tsutsui 76ce5f5560 Add entries for vt220l8x16 and vt220iso8x16. 2003-01-12 13:12:42 +00:00
provos 0f09ed48a5 remove trailing \n in panic(). approved perry. 2002-09-27 15:35:29 +00:00
enami 4aaba8dea1 - Allocate enough space to hold an object.
- No need to request to zero clear when we overwrite soon.
2002-03-21 03:26:55 +00:00
ad 9c918242a2 Add missing structure member copies in wsfont_add0(). 2002-03-20 12:18:56 +00:00
uch 9b5ad836c6 include sys/queue.h. 2002-03-18 14:35:20 +00:00
ad b89e39b91a Reorganise the wsfont stuff slightly so that multiple display adapters
with different bit/byte order requirements can co-exist happily.
2002-03-13 15:05:13 +00:00
ad cf9ef8999f Clean up. 2002-03-13 10:42:56 +00:00
lukem 2565646230 don't need <sys/types.h> when including <sys/param.h> 2001-11-15 09:47:59 +00:00
augustss b079ab789b ANSIfy. 2001-10-13 16:05:42 +00:00
drochner 056402167e make dynamic font addition usable,
export font matching function for common use
2001-09-03 17:04:11 +00:00
uwe 1f4eee4c21 In wsfont_map_unichar: when checking that 'lo' is within 'map2' range,
compare 'lo', not 'hi' (only partially edited cut-n-paste it seems).
2001-06-12 00:57:10 +00:00
enami d04f4ebff1 WSDISPLAY_FONTENC_SONY is gone. 2001-03-31 00:14:32 +00:00
cgd c105346203 Avoid sequence point issues. 2001-02-24 00:03:12 +00:00
ad 3ad7988a6d Fix duplicate cookie. 2001-02-07 13:59:24 +00:00
marcus 005368f745 Added a function to remap Unicode character to font glyph index. 2001-02-02 06:00:38 +00:00
tsutsui 1e1862bc57 Add another font from 4.4BSD-Lite2/luna68k. 2000-11-24 15:47:15 +00:00
tsutsui 690b28f91e Add a couple of fonts used on Sony NEWS.
Generated from (recently removed) sys/arch/newsmips/dev/fnt{,24}.c.
2000-11-21 11:44:45 +00:00
ad 3553879fc2 Use my proper name. 2000-06-13 13:36:42 +00:00
enami 11fe38b6ad Restore the system priority level on error return. 2000-01-07 03:25:46 +00:00
ad 59a1ab9791 Add two new members to 'struct wsdisplay_font': 'bitorder' and 'byteorder'. 2000-01-05 18:44:21 +00:00
ad a8112faedb - Squash a few stylish nits.
- Move font flags to wsfont.h. There is a point to this. I'll remember soon.
1999-12-14 22:35:17 +00:00
ad 43e59084c4 - Stylistic cleanup.
- Make ifndef'ed out bits look less like a statement of intent.
1999-12-04 13:35:42 +00:00
takemura 8f94bda30c Add new font sets - VT220 8x8 and 8x10.
I brought them from arch/i386/isa/pcvt/Util/fonts.
You can specify FONT_VT220L8x8 or FONT_VT220L8x10 in a configuration file.
1999-11-02 10:25:22 +00:00
ad bb3a510fa2 Assign ownership & copyright to TNF. There is probably a procedure for this
that I am unaware of. Also some KNF.
1999-05-18 21:51:57 +00:00
ad 3dc48bf302 Bump WSFONT_L2R/R2L by +1 so 0 can mean no specific order is required.
Change entry for QVSS to match bitorder.
1999-04-26 23:41:57 +00:00
ad caf44885ea Change WSFONT_LITTLE/WSFONT_BIG to WSFONT_L2R/WSFONT_R2L to reduce possible
confusion.
1999-04-26 04:24:22 +00:00
ad c0735a01c5 Replace qvss8x15 with version from NetBSD/vax, which contains the full ISO
character set.
1999-04-14 23:06:26 +00:00
ad 619320f97d Remove courier11x18 due to licensing concerns. Fixup license on lucida16x29. 1999-04-14 18:25:47 +00:00
ad de43e7cc8d Fixed licensing due to a foobar on my behalf. 1999-04-13 00:40:07 +00:00
ad 7db08b6507 Initial import of wsfont, an in-kernel font table for wscons/rcons. 1999-04-13 00:24:05 +00:00