mirror of
https://github.com/genodelabs/genode.git
synced 2024-12-30 02:28:54 +00:00
81e55e8901
This commit introduces a VFS plugin that exposes the glyphs and metadata of a TrueType font as a pseudo file system. The TTF font data is obtained from the VFS. The resulting pseudo file system is a directory that contains the files 'glyphs', 'baseline', 'max_width', and 'max_height'. The counter part of the plugin is the 'Vfs_font' class that implements the 'Text_painter::Font' interface by accessing the pseudo file system as provided by the TTF VFS plugin. Fixes #2740
10 lines
131 B
Makefile
10 lines
131 B
Makefile
SRC_CC = vfs.cc
|
|
|
|
INC_DIR += $(REP_DIR)/src/lib/vfs/ttf
|
|
|
|
LIBS += ttf_font
|
|
|
|
vpath %.cc $(REP_DIR)/src/lib/vfs/ttf
|
|
|
|
SHARED_LIB = yes
|