2020-06-04 18:52:01 +02:00
|
|
|
freetype_dep = dependency('freetype2')
|
|
|
|
|
2021-08-23 19:10:13 +02:00
|
|
|
libagg_dep = dependency('libagg', fallback: ['libagg', 'libagg_dep'])
|
2020-06-30 17:02:50 +02:00
|
|
|
|
2020-06-04 18:52:01 +02:00
|
|
|
font_renderer_sources = [
|
|
|
|
'agg_font_freetype.cpp',
|
|
|
|
'font_renderer.cpp',
|
|
|
|
]
|
|
|
|
|
|
|
|
font_renderer_cdefs = ['-DFONT_RENDERER_HEIGHT_HACK']
|
|
|
|
|
2021-10-08 22:10:17 +02:00
|
|
|
lite_includes += include_directories('.')
|
2020-06-04 18:52:01 +02:00
|
|
|
|
|
|
|
libfontrenderer = static_library('fontrenderer',
|
|
|
|
font_renderer_sources,
|
|
|
|
dependencies: [libagg_dep, freetype_dep],
|
|
|
|
cpp_args: font_renderer_cdefs,
|
|
|
|
)
|
|
|
|
|