Commit Graph

21 Commits

Author SHA1 Message Date
Toomas Soome
e7fd9688ea Move font related data structured to sys/font.c and update vtfontcvt
Prepare support to be able to handle font data in loader, consolidate
data structures to sys/font.h and update vtfontcvt.

vtfontcvt update is about to output set of glyphs in form of C source,
the implementation does allow to output compressed or uncompressed font
bitmaps.

Reviewed by:	bcr
Differential Revision:	https://reviews.freebsd.org/D24189
2020-06-14 06:58:58 +00:00
Toomas Soome
1311154d3b gallant: pound sign (0xa3) is a bit broken. Add extra glyphs.
I did add some more glyphs to provide box drawing and set of additional
glyphs to provide better support for some code pages. Still does not quite
match terminus.
2020-03-30 20:07:25 +00:00
Toomas Soome
f67d5361a8 gallant is 12x22, not 8x16
INDEX.fonts does list gallant with wrong size.
2020-03-09 19:43:28 +00:00
Ed Maste
46035750a4 Add Danish translation for vt font and keymap INDEX files
Also sort some entries into the correct location, correct MacBook
capitalization, etc.

PR:		235853
MFC after:	1 week
Submitted by:	scootergrisen gmail com
2019-12-10 20:02:57 +00:00
Ed Maste
c6e475ff5a allow vt(4) fonts to be built from .bdf files
vtfontcvt(8) can convert both .bdf and .hex inputs to binary vt(4) .fnt
files.

Event:		Berlin Devsummit 2019
Sponsored by:	The FreeBSD Foundation
2019-06-16 12:44:49 +00:00
Ed Maste
c7be3f26e8 Add some tom-thumb vt font glyphs
Primarily missing glyphs used by mandoc.

Added:
U+2010 hyphen
U+2011 non-breaking hyphen
U+2012 figure dash
U+2013 en dash
U+2014 em dash
U+2018 left single quotation mark
U+2019 right single quotation mark
U+2020 dagger
U+2021 double dagger
U+203E overline
U+2122 trade mark sign
U+2502 box drawings light vertical
U+25A1 white square
U+25CA lozenge
U+25CB circle
U+2660 black spade suit
U+2663 black club suit
U+2665 black heart suit
U+2666 black diamond suit
U+FFFD replacement char

Sponsored by:	The FreeBSD Foundation
2018-10-21 00:35:54 +00:00
Ed Maste
6c8a899dc5 Add vt(4) INDEX.fonts
PR:		231237
Submitted by:	Martin <martin.jakob@gmx.com> (original version)
Approved by:	re (gjb, kib)
MFC after:	2 weeks
Sponsored by:	The FreeBSD Foundation
2018-09-10 20:46:17 +00:00
Ed Maste
55efba01c6 Correct tom-thumb vt font glyphs
A few glyphs were converted incorrectly:
U+00A6 broken bar - center
U+2022 bullet - center
U+2026 horizontal ellipsis - move to bottom of character cell
2018-04-13 17:37:39 +00:00
Ed Maste
7075c67633 Add tom-thumb, a tiny (4x6) vt font
Obtained from:	https://robey.lag.net/2010/01/23/tiny-monospace-font.html
MFC after:	2 weeks
2018-04-13 16:54:49 +00:00
Ed Maste
f44ebc9c73 Add "Terminus BSD Console" size 32
Dimitar Toshkov, Terminus' creator, has made size 32 available under the
2-clause BSD license for use by *BSD consoles.
2017-06-26 18:11:48 +00:00
Ed Maste
68510f3bac Remove uudecode make rule for vt fonts
vt(4) fonts are provided in either .bdf or .hex form, and the binary
.fnt file is generated by vtfontcvt at build time.
2016-02-29 18:35:16 +00:00
Ed Maste
13f727c862 Replace prebuilt uuencoded gallant.fnt with editable hex version 2016-01-27 20:23:42 +00:00
Bryan Drewery
b1f92fa229 META MODE: Update dependencies with 'the-lot' and add missing directories.
This is not properly respecting WITHOUT or ARCH dependencies in target/.
Doing so requires a massive effort to rework targets/ to do so.  A
better approach will be to either include the SUBDIR Makefiles directly
and map to DIRDEPS or just dynamically lookup the SUBDIR.  These lose
the benefit of having a userland/lib, userland/libexec, etc, though and
results in a massive package.  The current implementation of targets/ is
very unmaintainable.

Currently rescue/rescue and sys/modules are still not connected.

Sponsored by:	EMC / Isilon Storage Division
2015-12-01 05:23:19 +00:00
Ed Maste
0e28ca2eff Add double size 16x32 VGA ROM font
This was created from vgarom-8x16.hex, and should be useful for higher
resolution displays.

Sponsored by:	The FreeBSD Foundation
2015-09-25 02:52:54 +00:00
Ed Maste
31bcfda84e Add glyphs from converted syscons iso* fonts
This consists of the unique glyphs from the following font files in
/usr/share/syscons/fonts:

iso*.fnt     ISO-8859-1 West European
iso02*.fnt   ISO-8859-2 Central European
iso04*.fnt   ISO-8859-4 Baltic
iso05*.fnt   ISO-8859-5 Cyrillic
iso07*.fnt   ISO-8859-7 Greek
iso08*.fnt   ISO-8859-8 Hebrew
iso09*.fnt   ISO-8859-9 Turkish
iso15*.fnt   ISO-8859-15 West European

Sponsored by:	The FreeBSD Foundation
2014-06-17 13:12:30 +00:00
Ed Maste
cce0f18281 Build vt(4) fonts during buildworld
vtfontcvt(8) is now built during buildworld, so can be used as a
bootstrap tool to create vt(4) fonts from source .hex or .bdf font
files, rather than having uuencoded binary fonts in the tree.

Sponsored by:	The FreeBSD Foundation
2014-06-12 18:31:32 +00:00
Ed Maste
d1aefcd58f Add thin versions of VGAROM 8x8 and 8x16 fonts for vt(4)
These are converted from syscons(4) cp437-thin-8x* fonts.
2014-06-12 15:23:51 +00:00
Ed Maste
1c01559353 Add vgarom font source
These are in 'GNU Unifont' format, and are converted from syscons(4)
cp437 fonts.
2014-06-09 21:06:46 +00:00
Ed Maste
bd72c7ac76 Add VGAROM 8x8, 8x14 and 8x16 fonts for vt(4)
These are converted from syscons(4) cp437 fonts.
2014-05-29 18:05:03 +00:00
Aleksandr Rybalko
1383d03c88 Add gallant vt(4) font as an example of font loading for vt(4).
MFC after:	7 days
Sponsored by:	The FreeBSD Foundation
2014-05-29 14:51:52 +00:00
Aleksandr Rybalko
d2511654f8 Add gallant vt(4) font as an example of font loading for vt(4).
MFC after:	7 days
Sponsored by:	The FreeBSD Foundation
2014-05-29 13:41:07 +00:00