Go to file
Julian Hinxlage 8defbe8bfd Merge branch 'dev' into 'master'
Merge dev into master

See merge request link/projekte/ws19/vkvm-new/text-renderer!2
2019-11-02 11:03:17 +00:00
lib/toml + toml lib 2019-10-29 11:57:42 +01:00
main ~ fixed second font 2019-10-29 13:24:09 +01:00
res ~ fixed second font 2019-10-29 13:24:09 +01:00
src ~ fixed second font 2019-10-29 13:24:09 +01:00
test ~ fixed unit testing 2019-10-24 11:48:26 +02:00
.gitignore + toml lib 2019-10-29 11:57:42 +01:00
CHANGELOG.md + Unit test framework 2019-10-16 15:44:13 +02:00
CMakeLists.txt + Font Config File 2019-10-23 13:03:16 +02:00
LICENSE wrong filename for license 2019-10-16 16:46:08 +02:00
README.md readme update 0.4 2019-10-29 13:29:46 +01:00

README.md

vKVM TextRenderer

Installation

Use the installation script provided in the Scripts repository to install the full package.

Installing a single component is currently not supported.

Target

TextRender build exports an interface target TextRender::TextRender.

This means that if TextRender has been installed on the Project Path, it should be enough to do.

translate a string from terminal to the readable form of shared memory .

Usage

mkdir build
cd build
cmake ..
make

Description

TextRender has two class, Bitmap class and Font class.

res/font.bmp (bitmap data, used by Bitmap::load() function)

res/font.toml (configuration file, it configure how to read the font.bmp)

src/Bitmap class, it used to read the font.bmp file.

src/Font class, it read the font.bmp data by Bitmap class, translate a string to a bitmap.

test folder used to test.

main folder is only used to test now.