29#ifndef __DC_BIOSFONT_H
30#define __DC_BIOSFONT_H
51#define BFONT_THIN_WIDTH 12
52#define BFONT_WIDE_WIDTH (BFONT_THIN_WIDTH * 2)
53#define BFONT_HEIGHT 24
54#define BFONT_ICON_DIMEN 32
62#define BFONT_BYTES_PER_CHAR (BFONT_THIN_WIDTH * BFONT_HEIGHT / 8)
65#define BFONT_BYTES_PER_WIDE_CHAR (BFONT_WIDE_WIDTH * BFONT_HEIGHT / 8)
68#define BFONT_BYTES_PER_VMU_ICON (BFONT_ICON_DIMEN * BFONT_ICON_DIMEN / 8)
77#define BFONT_NARROW_START 0
78#define BFONT_OVERBAR BFONT_NARROW_START
79#define BFONT_ISO_8859_1_33_126 (BFONT_NARROW_START + ( 1 * BFONT_BYTES_PER_CHAR))
80#define BFONT_YEN (BFONT_NARROW_START + (95 * BFONT_BYTES_PER_CHAR))
81#define BFONT_ISO_8859_1_160_255 (BFONT_NARROW_START + (96 * BFONT_BYTES_PER_CHAR))
86#define JISX_0208_ROW_SIZE 94
88#define BFONT_WIDE_START (288 * BFONT_BYTES_PER_CHAR)
90#define BFONT_JISX_0208_ROW1 BFONT_WIDE_START
92#define BFONT_JISX_0208_ROW16 (BFONT_WIDE_START + (658 * BFONT_BYTES_PER_WIDE_CHAR))
94#define BFONT_JISX_0208_ROW48 (BFONT_JISX_0208_ROW16 + ((32 * JISX_0208_ROW_SIZE) * BFONT_BYTES_PER_WIDE_CHAR))
97#define BFONT_DREAMCAST_SPECIFIC (BFONT_WIDE_START + (7056 * BFONT_BYTES_PER_WIDE_CHAR))
100#define BFONT_VMU_DREAMCAST_SPECIFIC (BFONT_DREAMCAST_SPECIFIC+(22 * BFONT_BYTES_PER_WIDE_CHAR))
107typedef enum bfont_dc_icon {
139typedef enum bfont_vmu_icon {
308typedef enum bfont_code {
418 uint32_t bg, uint8_t bpp,
bool opaque, uint32_t c,
419 bool wide,
bool iskana);
434size_t bfont_draw(
void *buffer, uint32_t bufwidth,
bool opaque, uint32_t c);
450 uint32_t c,
bool iskana);
483 uint32_t bg, uint8_t bpp,
bool opaque,
516 uint32_t bg, uint8_t bpp,
bool opaque,
547#define DI_CIRCLECOPYRIGHT "\\di00"
548#define DI_CIRCLER "\\di01"
549#define DI_TRADEMARK "\\di02"
550#define DI_UPARROW "\\di03"
551#define DI_DOWNARROW "\\di04"
552#define DI_LEFTARROW "\\di05"
553#define DI_RIGHTARROW "\\di06"
554#define DI_UPRIGHTARROW "\\di07"
555#define DI_DOWNRIGHTARROW "\\di08"
556#define DI_DOWNLEFTARROW "\\di09"
557#define DI_UPLEFTARROW "\\di0A"
558#define DI_ABUTTON "\\di0B"
559#define DI_BBUTTON "\\di0C"
560#define DI_CBUTTON "\\di0D"
561#define DI_DBUTTON "\\di0E"
562#define DI_XBUTTON "\\di0F"
563#define DI_YBUTTON "\\di10"
564#define DI_ZBUTTON "\\di11"
565#define DI_LTRIGGER "\\di12"
566#define DI_RTRIGGER "\\di13"
567#define DI_STARTBUTTON "\\di14"
568#define DI_VMU "\\di15"
577#define VI_INVALID_VMU "\\vi00"
578#define VI_HOURGLASS_ONE "\\vi01"
579#define VI_HOURGLASS_TWO "\\vi02"
580#define VI_HOURGLASS_THREE "\\vi03"
581#define VI_HOURGLASS_FOUR "\\vi04"
582#define VI_VMUICON "\\vi05"
583#define VI_EARTH "\\vi06"
584#define VI_SATURN "\\vi07"
585#define VI_QUARTER_MOON "\\vi08"
586#define VI_LAUGHING_FACE "\\vi09"
587#define VI_SMILING_FACE "\\vi0A"
588#define VI_CASUAL_FACE "\\vi0B"
589#define VI_ANGRY_FACE "\\vi0C"
590#define VI_COW "\\vi0D"
591#define VI_HORSE "\\vi0E"
592#define VI_RABBIT "\\vi0F"
593#define VI_CAT "\\vi10"
594#define VI_CHICK "\\vi11"
595#define VI_LION "\\vi12"
596#define VI_MONKEY "\\vi13"
597#define VI_PANDA "\\vi14"
598#define VI_BEAR "\\vi15"
599#define VI_PIG "\\vi16"
600#define VI_DOG "\\vi17"
601#define VI_FISH "\\vi18"
602#define VI_OCTOPUS "\\vi19"
603#define VI_SQUID "\\vi1A"
604#define VI_WHALE "\\vi1B"
605#define VI_CRAB "\\vi1C"
606#define VI_BUTTERFLY "\\vi1D"
607#define VI_LADYBUG "\\vi1E"
608#define VI_ANGLER_FISH "\\vi1F"
609#define VI_PENGUIN "\\vi20"
610#define VI_CHERRIES "\\vi21"
611#define VI_TULIP "\\vi22"
612#define VI_LEAF "\\vi23"
613#define VI_SAKURA "\\vi24"
614#define VI_APPLE "\\vi25"
615#define VI_ICECREAM "\\vi26"
616#define VI_CACTUS "\\vi27"
617#define VI_PIANO "\\vi28"
618#define VI_GUITAR "\\vi29"
619#define VI_EIGHTH_NOTE "\\vi2A"
620#define VI_TREBLE_CLEF "\\vi2B"
621#define VI_BOAT "\\vi2C"
622#define VI_CAR "\\vi2D"
623#define VI_HELMET "\\vi2E"
624#define VI_MOTORCYCLE "\\vi2F"
625#define VI_VAN "\\vi30"
626#define VI_TRUCK "\\vi31"
627#define VI_CLOCK "\\vi32"
628#define VI_TELEPHONE "\\vi33"
629#define VI_PENCIL "\\vi34"
630#define VI_CUP "\\vi35"
631#define VI_SILVERWARE "\\vi36"
632#define VI_HOUSE "\\vi37"
633#define VI_BELL "\\vi38"
634#define VI_CROWN "\\vi39"
635#define VI_SOCK "\\vi3A"
636#define VI_CAKE "\\vi3B"
637#define VI_KEY "\\vi3C"
638#define VI_BOOK "\\vi3D"
639#define VI_BASEBALL "\\vi3E"
640#define VI_SOCCER "\\vi3F"
641#define VI_BULB "\\vi40"
642#define VI_TEDDY_BEAR "\\vi41"
643#define VI_BOW_TIE "\\vi42"
644#define VI_BOW_ARROW "\\vi43"
645#define VI_SNOWMAN "\\vi44"
646#define VI_LIGHTNING "\\vi45"
647#define VI_SUN "\\vi46"
648#define VI_CLOUD "\\vi47"
649#define VI_UMBRELLA "\\vi48"
650#define VI_ONE_STAR "\\vi49"
651#define VI_TWO_STARS "\\vi4A"
652#define VI_THREE_STARS "\\vi4B"
653#define VI_FOUR_STARS "\\vi4C"
654#define VI_HEART "\\vi4D"
655#define VI_DIAMOND "\\vi4E"
656#define VI_SPADE "\\vi4F"
657#define VI_CLUB "\\vi50"
658#define VI_JACK "\\vi51"
659#define VI_QUEEN "\\vi52"
660#define VI_KING "\\vi53"
661#define VI_JOKER "\\vi54"
662#define VI_ISLAND "\\vi55"
699#define VI_CHECKER_BOARD "\\vi7A"
700#define VI_GRID "\\vi7B"
701#define VI_LIGHT_GRAY "\\vi7C"
702#define VI_DIAG_GRID "\\vi7D"
703#define VI_PACMAN_GRID "\\vi7E"
704#define VI_DARK_GRAY "\\vi7F"
705#define VI_EMBROIDERY "\\vi80"
727 uint8_t bpp,
bool opaque,
const char *str);
747 uint8_t bpp,
bool opaque,
const char *fmt, ...)
768 uint8_t bpp,
bool opaque, const
char *fmt,
818 bool opaque, const
char *fmt,
Definitions for builtin attributes and compiler directives.
size_t bfont_draw_ex(void *buffer, uint32_t bufwidth, uint32_t fg, uint32_t bg, uint8_t bpp, bool opaque, uint32_t c, bool wide, bool iskana)
Draw a single character of any sort to a buffer.
size_t bfont_draw_thin(void *buffer, uint32_t bufwidth, bool opaque, uint32_t c, bool iskana)
Draw a single thin character to a buffer.
size_t bfont_draw(void *buffer, uint32_t bufwidth, bool opaque, uint32_t c)
Draw a single character to a buffer.
size_t bfont_draw_dc_icon(void *buffer, uint32_t bufwidth, bool opaque, bfont_dc_icon_t icon)
Draw a DC icon to a buffer.
size_t bfont_draw_wide(void *buffer, uint32_t bufwidth, bool opaque, uint32_t c)
Draw a single wide character to a buffer.
size_t bfont_draw_vmu_icon_ex(void *buffer, uint32_t bufwidth, uint32_t fg, uint32_t bg, uint8_t bpp, bool opaque, bfont_vmu_icon_t icon)
Draw a VMU icon to the buffer.
size_t bfont_draw_vmu_icon(void *buffer, uint32_t bufwidth, bool opaque, bfont_vmu_icon_t icon)
Draw a VMU icon to a buffer.
size_t bfont_draw_dc_icon_ex(void *buffer, uint32_t bufwidth, uint32_t fg, uint32_t bg, uint8_t bpp, bool opaque, bfont_dc_icon_t icon)
Draw a DC icon to the buffer.
bfont_vmu_icon_t
Builtin VMU Icons.
Definition biosfont.h:139
bfont_dc_icon_t
Builtin DC Icons.
Definition biosfont.h:107
@ BFONT_ICON_INVALID_VMU
Invalid.
Definition biosfont.h:140
@ BFONT_ICON_BOAT
Boat.
Definition biosfont.h:184
@ BFONT_ICON_TREBLE_CLEF
Treble clef.
Definition biosfont.h:183
@ BFONT_ICON_CUP
Cup.
Definition biosfont.h:193
@ BFONT_ICON_GRID
Grid.
Definition biosfont.h:263
@ BFONT_ICON_HOURGLASS_FOUR
Hourglass 4.
Definition biosfont.h:144
@ BFONT_ICON_CLOCK
Clock.
Definition biosfont.h:190
@ BFONT_ICON_W
W letter
Definition biosfont.h:258
@ BFONT_ICON_TWO_STARS
Two stars.
Definition biosfont.h:214
@ BFONT_ICON_EMBROIDERY
Embroidery.
Definition biosfont.h:268
@ BFONT_ICON_HOURGLASS_THREE
Hourglass 3.
Definition biosfont.h:143
@ BFONT_ICON_Q
Q letter
Definition biosfont.h:252
@ BFONT_ICON_TEDDY_BEAR
Teddy bear.
Definition biosfont.h:205
@ BFONT_ICON_3
3 digit
Definition biosfont.h:229
@ BFONT_ICON_0
0 digit
Definition biosfont.h:226
@ BFONT_ICON_PIANO
Piano.
Definition biosfont.h:180
@ BFONT_ICON_G
G letter
Definition biosfont.h:242
@ BFONT_ICON_BULB
Bulb.
Definition biosfont.h:204
@ BFONT_ICON_CLOUD
Cloud.
Definition biosfont.h:211
@ BFONT_ICON_CACTUS
Cactus.
Definition biosfont.h:179
@ BFONT_ICON_UMBRELLA
Umbrella.
Definition biosfont.h:212
@ BFONT_ICON_TRUCK
Truck.
Definition biosfont.h:189
@ BFONT_ICON_C
C letter
Definition biosfont.h:238
@ BFONT_ICON_HOURGLASS_TWO
Hourglass 2.
Definition biosfont.h:142
@ BFONT_ICON_9
9 digit
Definition biosfont.h:235
@ BFONT_ICON_SATURN
Saturn.
Definition biosfont.h:147
@ BFONT_ICON_LAUGHING_FACE
Laughing face.
Definition biosfont.h:149
@ BFONT_ICON_CRAB
Crab.
Definition biosfont.h:168
@ BFONT_ICON_HOURGLASS_ONE
Hourglass 1.
Definition biosfont.h:141
@ BFONT_ICON_SAKURA
Sakura.
Definition biosfont.h:176
@ BFONT_ICON_MONKEY
Monkye.
Definition biosfont.h:159
@ BFONT_ICON_I
I letter
Definition biosfont.h:244
@ BFONT_ICON_K
K letter
Definition biosfont.h:246
@ BFONT_ICON_KING
King.
Definition biosfont.h:223
@ BFONT_ICON_LIGHTNING
Lightning.
Definition biosfont.h:209
@ BFONT_ICON_TELEPHONE
Telephone.
Definition biosfont.h:191
@ BFONT_ICON_BASEBALL
Baseball.
Definition biosfont.h:202
@ BFONT_ICON_BEAR
Bear.
Definition biosfont.h:161
@ BFONT_ICON_H
H letter
Definition biosfont.h:243
@ BFONT_ICON_R
R letter
Definition biosfont.h:253
@ BFONT_ICON_BOOK
Book.
Definition biosfont.h:201
@ BFONT_ICON_U
U letter
Definition biosfont.h:256
@ BFONT_ICON_4
4 digit
Definition biosfont.h:230
@ BFONT_ICON_QUARTER_MOON
Quarter moon.
Definition biosfont.h:148
@ BFONT_ICON_PANDA
Panda.
Definition biosfont.h:160
@ BFONT_ICON_CHERRIES
Cherries.
Definition biosfont.h:173
@ BFONT_ICON_LION
Lion.
Definition biosfont.h:158
@ BFONT_ICON_ANGRY_FACE
Angry face.
Definition biosfont.h:152
@ BFONT_ICON_HORSE
Horse.
Definition biosfont.h:154
@ BFONT_ICON_CROWN
Crown.
Definition biosfont.h:197
@ BFONT_ICON_F
F letter
Definition biosfont.h:241
@ BFONT_ICON_ANGLER_FISH
Angler fish.
Definition biosfont.h:171
@ BFONT_ICON_1
1 digit
Definition biosfont.h:227
@ BFONT_ICON_V
V letter
Definition biosfont.h:257
@ BFONT_ICON_B
B letter
Definition biosfont.h:237
@ BFONT_ICON_2
2 digit
Definition biosfont.h:228
@ BFONT_ICON_WHALE
Whale.
Definition biosfont.h:167
@ BFONT_ICON_X
X letter
Definition biosfont.h:259
@ BFONT_ICON_HELMET
Helmet.
Definition biosfont.h:186
@ BFONT_ICON_CLUB
Club.
Definition biosfont.h:220
@ BFONT_ICON_CHECKER_BOARD
Checker board.
Definition biosfont.h:262
@ BFONT_ICON_DIAMOND
Diamond.
Definition biosfont.h:218
@ BFONT_ICON_JACK
Jack.
Definition biosfont.h:221
@ BFONT_ICON_ISLAND
Island.
Definition biosfont.h:225
@ BFONT_ICON_APPLE
Apple.
Definition biosfont.h:177
@ BFONT_ICON_JOKER
Joker.
Definition biosfont.h:224
@ BFONT_ICON_DARK_GRAY
Dark gray.
Definition biosfont.h:267
@ BFONT_ICON_CAKE
cake
Definition biosfont.h:199
@ BFONT_ICON_VAN
Van.
Definition biosfont.h:188
@ BFONT_ICON_L
L letter
Definition biosfont.h:247
@ BFONT_ICON_CAR
Car.
Definition biosfont.h:185
@ BFONT_ICON_CASUAL_FACE
Casual face.
Definition biosfont.h:151
@ BFONT_ICON_CHICK
Chick.
Definition biosfont.h:157
@ BFONT_ICON_7
7 digit
Definition biosfont.h:233
@ BFONT_ICON_BELL
Bell.
Definition biosfont.h:196
@ BFONT_ICON_S
S letter
Definition biosfont.h:254
@ BFONT_ICON_PENGUIN
Penguin.
Definition biosfont.h:172
@ BFONT_ICON_DOG
Dog.
Definition biosfont.h:163
@ BFONT_ICON_LIGHT_GRAY
Light gray.
Definition biosfont.h:264
@ BFONT_ICON_BOW_ARROW
Bow and arrow.
Definition biosfont.h:207
@ BFONT_ICON_BOW_TIE
Bow tie.
Definition biosfont.h:206
@ BFONT_ICON_VMUICON
VMU.
Definition biosfont.h:145
@ BFONT_ICON_FOUR_STARS
Four stars.
Definition biosfont.h:216
@ BFONT_ICON_M
M letter
Definition biosfont.h:248
@ BFONT_ICON_OCTOPUS
Octopus.
Definition biosfont.h:165
@ BFONT_ICON_SNOWMAN
Snowman.
Definition biosfont.h:208
@ BFONT_ICON_FISH
Fish.
Definition biosfont.h:164
@ BFONT_ICON_SPADE
Spade.
Definition biosfont.h:219
@ BFONT_ICON_A
A letter
Definition biosfont.h:236
@ BFONT_ICON_LADYBUG
Ladybug.
Definition biosfont.h:170
@ BFONT_ICON_5
5 digit
Definition biosfont.h:231
@ BFONT_ICON_SUN
Sun.
Definition biosfont.h:210
@ BFONT_ICON_P
P letter
Definition biosfont.h:251
@ BFONT_ICON_SOCK
Sock.
Definition biosfont.h:198
@ BFONT_ICON_DIAG_GRID
Diagonal grid.
Definition biosfont.h:265
@ BFONT_ICON_D
D letter
Definition biosfont.h:239
@ BFONT_ICON_Y
Y letter
Definition biosfont.h:260
@ BFONT_ICON_E
E letter
Definition biosfont.h:240
@ BFONT_ICON_SOCCER
Soccer.
Definition biosfont.h:203
@ BFONT_ICON_RABBIT
Rabbit.
Definition biosfont.h:155
@ BFONT_ICON_EIGHTH_NOTE
Eighth note.
Definition biosfont.h:182
@ BFONT_ICON_ICECREAM
Ice cream.
Definition biosfont.h:178
@ BFONT_ICON_SILVERWARE
Silverware.
Definition biosfont.h:194
@ BFONT_ICON_LEAF
Leaf.
Definition biosfont.h:175
@ BFONT_ICON_HEART
Heart.
Definition biosfont.h:217
@ BFONT_ICON_PIG
Pig.
Definition biosfont.h:162
@ BFONT_ICON_COW
Cow.
Definition biosfont.h:153
@ BFONT_ICON_THREE_STARS
Three stars.
Definition biosfont.h:215
@ BFONT_ICON_O
O letter
Definition biosfont.h:250
@ BFONT_ICON_SMILING_FACE
Smiling face.
Definition biosfont.h:150
@ BFONT_ICON_T
T letter
Definition biosfont.h:255
@ BFONT_ICON_KEY
Key.
Definition biosfont.h:200
@ BFONT_ICON_GUITAR
Guitar.
Definition biosfont.h:181
@ BFONT_ICON_PACMAN_GRID
Pacman grid.
Definition biosfont.h:266
@ BFONT_ICON_QUEEN
Queen.
Definition biosfont.h:222
@ BFONT_ICON_CAT
Cat.
Definition biosfont.h:156
@ BFONT_ICON_EARTH
Earth.
Definition biosfont.h:146
@ BFONT_ICON_PENCIL
Pencil.
Definition biosfont.h:192
@ BFONT_ICON_ONE_STAR
One star.
Definition biosfont.h:213
@ BFONT_ICON_BUTTERFLY
Butterfly.
Definition biosfont.h:169
@ BFONT_ICON_TULIP
Tulip.
Definition biosfont.h:174
@ BFONT_ICON_HOUSE
House.
Definition biosfont.h:195
@ BFONT_ICON_SQUID
Squid.
Definition biosfont.h:166
@ BFONT_ICON_8
8 digit
Definition biosfont.h:234
@ BFONT_ICON_J
J letter
Definition biosfont.h:245
@ BFONT_ICON_Z
Z letter
Definition biosfont.h:261
@ BFONT_ICON_MOTORCYCLE
Motorcycle.
Definition biosfont.h:187
@ BFONT_ICON_N
N letter
Definition biosfont.h:249
@ BFONT_ICON_6
6 digit
Definition biosfont.h:232
@ BFONT_ICON_RIGHTARROW
Right arrow.
Definition biosfont.h:114
@ BFONT_ICON_ABUTTON
A button.
Definition biosfont.h:119
@ BFONT_ICON_XBUTTON
X button.
Definition biosfont.h:123
@ BFONT_ICON_VMU
VMU icon.
Definition biosfont.h:129
@ BFONT_ICON_LTRIGGER
L trigger.
Definition biosfont.h:126
@ BFONT_ICON_CBUTTON
C button.
Definition biosfont.h:121
@ BFONT_ICON_UPRIGHTARROW
Up right arrow.
Definition biosfont.h:115
@ BFONT_ICON_CIRCLECOPYRIGHT
Circle copyright.
Definition biosfont.h:108
@ BFONT_ICON_TRADEMARK
Trademark.
Definition biosfont.h:110
@ BFONT_ICON_STARTBUTTON
Start button.
Definition biosfont.h:128
@ BFONT_ICON_UPLEFTARROW
Up left arrow.
Definition biosfont.h:118
@ BFONT_ICON_ZBUTTON
Z button.
Definition biosfont.h:125
@ BFONT_ICON_YBUTTON
Y button.
Definition biosfont.h:124
@ BFONT_ICON_DOWNRIGHTARROW
Down right arrow.
Definition biosfont.h:116
@ BFONT_ICON_BBUTTON
B button.
Definition biosfont.h:120
@ BFONT_ICON_UPARROW
Up arrow.
Definition biosfont.h:111
@ BFONT_CIRCLER
Circle restricted.
Definition biosfont.h:109
@ BFONT_ICON_DOWNLEFTARROW
Down left arrow.
Definition biosfont.h:117
@ BFONT_ICON_DOWNARROW
Down arrow.
Definition biosfont.h:112
@ BFONT_ICON_LEFTARROW
Left arrow.
Definition biosfont.h:113
@ BFONT_ICON_RTRIGGER
R trigger.
Definition biosfont.h:127
@ BFONT_ICON_DBUTTON
D button.
Definition biosfont.h:122
void bfont_draw_str_vram_fmt(uint32_t x, uint32_t y, bool opaque, const char *fmt,...) __printflike(4
Draw a full string to video ram.
void bfont_draw_str_ex_fmt(void *buffer, uint32_t width, uint32_t fg, uint32_t bg, uint8_t bpp, bool opaque, const char *fmt,...) __printflike(7
Draw a full formatted string of any sort to any sort of buffer.
void bfont_draw_str_ex(void *buffer, uint32_t width, uint32_t fg, uint32_t bg, uint8_t bpp, bool opaque, const char *str)
Draw a full string of any sort to any sort of buffer.
void bfont_draw_str(void *buffer, uint32_t width, bool opaque, const char *str)
Draw a full string to a buffer.
void void bfont_draw_str_vram_vfmt(uint32_t x, uint32_t y, uint32_t fg, uint32_t bg, bool opaque, const char *fmt, va_list *var_args)
Draw a full formatted string to video ram (with va_args).
void bfont_draw_str_fmt(void *buffer, uint32_t width, bool opaque, const char *fmt,...) __printflike(4
Draw a full formatted string to a buffer.
void void bfont_draw_str_ex_vfmt(void *buffer, uint32_t width, uint32_t fg, uint32_t bg, uint8_t bpp, bool opaque, const char *fmt, va_list *var_args)
Draw formatted string of any sort to buffer (with va_args).
const uint8_t * bfont_find_char(uint32_t ch)
Find an ISO-8859-1 character in the font.
uint8_t * bfont_find_char_jp_half(uint32_t ch)
Find an half-width Japanese character in the font.
uint8_t * bfont_find_dc_icon(bfont_dc_icon_t icon)
Find a DC icon.
void bfont_set_encoding(bfont_code_t enc)
Set the font encoding.
uint32_t bfont_set_background_color(uint32_t c)
Set the font background color.
uint8_t * bfont_find_icon(bfont_vmu_icon_t icon)
Find a VMU icon.
uint32_t bfont_set_foreground_color(uint32_t c)
Set the font foreground color.
bfont_code_t
Definition biosfont.h:308
uint8_t * bfont_find_char_jp(uint32_t ch)
Find an full-width Japanese character in the font.
@ BFONT_CODE_ISO8859_1
ISO-8859-1 (western) charset.
Definition biosfont.h:309
@ BFONT_CODE_RAW
Raw indexing to the BFONT.
Definition biosfont.h:312
@ BFONT_CODE_SJIS
Shift-JIS charset.
Definition biosfont.h:311
@ BFONT_CODE_EUC
EUC-JP charset.
Definition biosfont.h:310
#define __printflike(fmtarg, firstvararg)
Identify a function as accepting formatting like printf().
Definition cdefs.h:132