font: initial port from cairo scaled fonts to raw freetype + pixman

This commit is contained in:
Daniel Eklöf 2019-09-22 00:50:11 +02:00
parent 393e1909b7
commit b3a5e0b5d7
No known key found for this signature in database
GPG key ID: 5BBD4992C116573F
6 changed files with 659 additions and 191 deletions

View file

@ -36,7 +36,9 @@ endif
cc = meson.get_compiler('c')
dl = cc.find_library('dl')
threads = dependency('threads')
freetype = dependency('freetype2')
fontconfig = dependency('fontconfig')
pixman = dependency('pixman-1')
cairo = dependency('cairo')
cairo_ft = dependency('cairo-ft')
yaml = dependency('yaml-0.1')
@ -104,7 +106,7 @@ f00bar = executable(
'tag.c', 'tag.h',
'tllist.h',
'yml.c', 'yml.h',
dependencies: [bar, cairo, cairo_ft, fontconfig, yaml, threads, dl] +
dependencies: [bar, freetype, fontconfig, pixman, cairo, cairo_ft, yaml, threads, dl] +
decorations + particles + modules,
build_rpath: '$ORIGIN/modules:$ORIGIN/decorations:$ORIGIN/particles',
export_dynamic: true,
@ -122,6 +124,7 @@ install_headers(
'log.h',
'module.h',
'particle.h',
'stride.h',
'tag.h',
'tllist.h',
'yml.h',