macallan
89fafab322
remove the FreeMono font for licensing reasons
2012-04-05 02:46:21 +00:00
macallan
b26b30a09a
make this compile again with rotation enabled
2012-01-13 16:08:02 +00:00
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
macallan
eb3066da32
add a somewhat smaller Droid font
...
this was generated with a newer version of ttf2wsfont so diacritics are no
longer cut off
2011-12-28 18:29:48 +00:00
macallan
50d883797e
add some pre-rendered anti-aliased fonts from pkgsrc:
...
- DejaVu Sans Mono from fonts/dejavu-ttf
- Droid Sans Mono from fonts/droid-ttf
- Free Mono from fonts/freefonts-ttf
2011-12-22 05:01:15 +00:00
tsutsui
95c959ca44
In wsfont_rotate_cw_internal() and wsfont_rotate_ccw_internal(),
...
give a new name to rotated fonts so that 8x8 (and other X==Y) fonts
can be used properly on CW and CCW screens.
2010-07-22 13:23:02 +00:00
tsutsui
23800f3d5c
Umm, revert unintended changes.
2010-07-22 12:52:59 +00:00
tsutsui
476a3c873b
Add VT220 8x8 font with ISO-8859-1 chars which is converted from
...
sys/arch/atari/dev/font_8x8.c.
2010-07-22 12:48:00 +00:00
macallan
9bdc7d44b6
add translation tables for ISO fonts in order to map unicode box drawing
...
characters to something else than whitespaces
2010-05-04 04:53:59 +00:00
nonaka
b62fc9e203
Added Sharp W-ZERO3 series support.
2010-04-17 13:36:21 +00:00
martin
ce099b4099
Remove clause 3 and 4 from TNF licenses
2008-04-28 20:22:51 +00:00
ober
5c470843ae
Updates to allow Zaurus screen to rotate 90 degrees to a usable state with the keyboard. Patch from peter@ copied from OpenBSD. Feedback and OK from matt@
2007-02-02 02:10:24 +00:00
christos
a0917ad69e
fix incomplete initializers
2006-08-28 21:33:16 +00:00
rillig
f2634b6a2b
Reordered the declaration-specifiers so that "inline" comes before
...
"int", which fixes a gcc warning.
2006-07-16 06:32:42 +00:00
chris
fea7c6a78b
Fix range to check to avoid a static buffer overrun, when
...
font->encoding == 4, which would cause access past the end of the encodings
array.
Fixes Coverity CID 1446.
Note that perhaps we should actually have an encoding line for
WSDISPLAY_FONTENC_ISO2 which is encoding 4.
2006-03-17 03:21:57 +00:00
perry
3d4ed1fbc7
__inline__ -> inline
2005-12-24 23:41:33 +00:00
christos
95e1ffb156
merge ktrace-lwp.
2005-12-11 12:16:03 +00:00
christos
2c91ca8bd0
- add const
...
- avoid variable shadowing.
2005-05-29 22:18:25 +00:00
perry
f31bd063e9
nuke trailing whitespace
2005-02-27 00:26:58 +00:00
itojun
db9226c772
use bounded string ops
2004-04-23 21:29:16 +00:00
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