forked from torvalds/linux
-
Notifications
You must be signed in to change notification settings - Fork 19
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[vt] add cjk font that has 65536 chars
- Loading branch information
Showing
6 changed files
with
139,821 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
/*************************************************/ | ||
/* */ | ||
/* Font file modified from */ | ||
/* http://blog.chinaunix.net/u/13265/showart.php?id=1008020 */ | ||
/* microcaicai@gmail modifiy it to use in-kernel*/ | ||
/* font solution */ | ||
/* */ | ||
/*************************************************/ | ||
|
||
#include <linux/font.h> | ||
|
||
static const unsigned char fontdata_16x16[] = { | ||
#include "font_cjk.h" | ||
}; | ||
|
||
const struct font_desc font_16x16_cjk = { | ||
.idx = FONT_16x16_CJK_IDX, | ||
.name = "VGA_CJK", | ||
.width = 8, // have to do this to make curser appear 8dots length | ||
.height = 16, | ||
.data = fontdata_16x16, | ||
.pref = 10, // make it big enough to be selected | ||
.charcount = 65535, | ||
}; |
Oops, something went wrong.