mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2025-01-31 13:10:34 +00:00
5fcc743d1a
I'm not sure I like fontconfig (docs are...), but it is pretty standard, and I was able to find some reasonable examples on stackexchange (https://stackoverflow.com/questions/10542832/how-to-use-fontconfig-to-get-font-list-c-c). Currently, only the one font is handled, no font sets for fall backs etc. It's meant for the debug UI I'm working on, so that shouldn't be a big deal.
35 lines
786 B
Text
35 lines
786 B
Text
include libs/ui/test/Makemodule.am
|
|
|
|
lib_LTLIBRARIES += \
|
|
libs/ui/libQFui.la \
|
|
libs/ui/libQFgui.la
|
|
|
|
gui_deps = \
|
|
libs/ui/libQFui.la
|
|
|
|
gui_libadd = \
|
|
$(FONTCONFIG_LIBS) \
|
|
$(FREETYPE_LIBS) \
|
|
$(HARFBUZZ_LIBS)
|
|
|
|
ui_deps = \
|
|
libs/ecs/libQFecs.la \
|
|
libs/util/libQFutil.la
|
|
|
|
libs_ui_libQFgui_la_LDFLAGS= $(lib_ldflags)
|
|
libs_ui_libQFgui_la_LIBADD= $(gui_deps) $(ui_deps) $(gui_libadd)
|
|
libs_ui_libQFgui_la_DEPENDENCIES= $(gui_deps) $(ui_deps)
|
|
libs_ui_libQFgui_la_SOURCES= \
|
|
libs/ui/canvas.c \
|
|
libs/ui/font.c \
|
|
libs/ui/text.c
|
|
|
|
libs_ui_libQFui_la_LDFLAGS= $(lib_ldflags)
|
|
libs_ui_libQFui_la_LIBADD= $(ui_deps)
|
|
libs_ui_libQFui_la_DEPENDENCIES= $(ui_deps)
|
|
libs_ui_libQFui_la_SOURCES= \
|
|
libs/ui/inputline.c \
|
|
libs/ui/passage.c \
|
|
libs/ui/txtbuffer.c \
|
|
libs/ui/view.c \
|
|
libs/ui/vrect.c
|