genode-ehmry/repos/gems/lib/mk/vfs_ttf.mk
Norman Feske 81e55e8901 gems: TrueType VFS plugin
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
2018-04-10 11:09:20 +02:00

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