mirror of
https://git.planet-casio.com/Lephenixnoir/gint.git
synced 2025-01-01 06:23:35 +01:00
render-cg: make the 8x9 font the default
This commit is contained in:
parent
f8d69dd56a
commit
7798f276ae
3 changed files with 5 additions and 5 deletions
Binary file not shown.
Before Width: | Height: | Size: 17 KiB |
BIN
src/font8x9.png
BIN
src/font8x9.png
Binary file not shown.
Before Width: | Height: | Size: 17 KiB After Width: | Height: | Size: 17 KiB |
|
@ -6,14 +6,14 @@
|
||||||
#include "topti-asm.h"
|
#include "topti-asm.h"
|
||||||
|
|
||||||
/* Default font */
|
/* Default font */
|
||||||
extern font_t gint_font10x12;
|
extern font_t gint_font8x9;
|
||||||
font_t const * gint_default_font = &gint_font10x12;
|
font_t const * gint_default_font = &gint_font8x9;
|
||||||
font_t const * topti_font = &gint_font10x12;
|
font_t const * topti_font = &gint_font8x9;
|
||||||
|
|
||||||
/* topti_glyph(): Render a glyph on the VRAM
|
/* topti_glyph(): Render a glyph on the VRAM
|
||||||
Prints a glyph naively using word accesses, because for most fonts with a
|
Prints a glyph naively using word accesses, because for most fonts with a
|
||||||
small size (including gint's 10x12 font) this will be more efficient than
|
small size (including gint's 8x9 font) this will be more efficient than the
|
||||||
the complex logic for longword accesses.
|
complex logic for longword accesses.
|
||||||
|
|
||||||
This function assumes that at least one of [fg] and [bg] is not transparent.
|
This function assumes that at least one of [fg] and [bg] is not transparent.
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue