Age | Commit message (Collapse) | Author |
|
|
|
is required to consider or test ramdisks before commit.
|
|
The wsdisplay_font structure has been modified to add two new members
(zdata and zdata_len) to store compressed font data and its size. We
define compressed fonts by setting the data field to NULL and populating
the zdata and zdata_len fields.
In wsfont_lock(), we check if the selected font needs to be inflated,
and we call the newly introduced wsfont_inflate() if required.
OK kettenis@
|
|
ok bcook@, stsp@
|
|
Those fonts are not compiled in by default, and are smaller than the
smallest font (bold8x16_iso1) we currently include.
OK mpi@, deraadt@
|
|
- lucida16x29 is a bad conversion from a truetype font, it is too bold
which makes it unreadable.
- omron12x20 is a serif font, and is very difficult to read due to
inconsistencies in character spacing, alignement, and width.
Moreover, both fonts only have 96 glyphs.
No objection from mlarkin@
OK mpi@, jcs@
|
|
They were not compiled in by default, and are Serif fonts, which doesn't
work very well for monospaced bitmap fonts intended for console use.
OK mpi@, visa@, jcs@
|
|
Include file with font data (courier11x18.h) was removed from NetBSD due
to licensing concerns before wsfont was imported into OpenBSD.
Cookie values have been renumbered for consistency.
|
|
ok millert mlarkin deraadt
|
|
|
|
is really fugly on large displays (tga, vgafb). It's only 10KB more data
before compression, which fits in our floppies.
|
|
|
|
have any direct symbols used. Tested for indirect use by compiling
amd64/i386/sparc64 kernels.
ok tedu@ deraadt@
|
|
seen my mlarkin, ok miod
|
|
ok tedu@ deraadt@
|
|
|
|
after discussions with beck deraadt kettenis.
|
|
wsdisplay softc. Instead, since the knowledge about available fonts lies in
the parent driver itself, introduce a list_font wsdisplay_accessop which
queries a font index, suitable to use within the WSDISPLAYIO_LSFONT ioctl.
With this in place:
- there is no global wsdisplay limit on the number of fonts loaded. Such a
limit will be enforced by the display drivers themselves.
- built-in kernel fonts will now appear in the list of fonts.
Grow a list_font accesop for rasops, which relies upon wsfont_enum(), which
is turned into something useful (and abortable if you do not need to iterate
further). Not used by any rasops driver yet.
|
|
selected. All rasops fonts are managed by wsfont, which allows a font to be
loaded on a rasops device and used on another.
Currently not plumbed in any driver yet. This is work in progress.
|
|
|
|
one were to use an ISO-8859-7-encoded font on a raster display, yet none of
the fonts the kernel chooses from uses this encoding.
|
|
dcoppa@
|
|
ok mpi@
|
|
ok mpi@
|
|
ok mpi@
|
|
ok miod@
|
|
ok miod@
|
|
ok mpi@
|
|
ok mpi@
|
|
|
|
which made newer versions of gcc complain about mixing
static and non-static decls.
ok miod@
|
|
ok krw@ miod@ (some months ago)
|
|
Not sure what's more surprising: how long it took for NetBSD to
catch up to the rest of the BSDs (including UCB), or the amount of
code that NetBSD has claimed for itself without attributing to the
actual authors.
OK deraadt@
|
|
MALLOC/FREE, etc. Just adding M_ZERO to malloc() and deleting an
immediately adjacent bzero().
|
|
ok pyr@
|
|
conversion tables; from NetBSD.
|
|
|
|
frame buffers (and smg until it can use non-8bit wide fonts), as the latter
has too many symbols in the 8-bit range stubbed out.
|
|
reversal if SMALL_KERNEL. Saves ~5KB before compression.
ok deraadt@
(*) except on alpha because tga needs it.
|
|
|
|
expects it.
|
|
|
|
a flag in the rasops_info structure; drivers which may use it shall declare
a specific attribute for the config(8) machinery, so that the necessary code
is compiled in.
In addition to this, rotated font computation is now done on-demand, and a
list of unrotated-rotated font cookie pairs is kept, rather than rotating all
built-in wsfonts at initialization time.
No user-perceptible functional change.
Tested matthieu@ uwe@, ok uwe@
|
|
vigra and some cgthree clones might need tho 8x16 font. Fits the floppies,
other architectures unaffected.
|
|
rotation framework is ready.
|
|
ok jolan@
|
|
|
|
IBM 8x16 one.
ok deraadt@
|
|
rescinded 22 July 1999. Proofed by myself and Theo.
|
|
only.
|