1
0
mirror of https://github.com/vlang/v.git synced 2023-08-10 21:13:21 +03:00

vlib: add a TTF font loader and render in x.ttf (#7995)

This commit is contained in:
penguindark
2021-01-10 19:14:41 +01:00
committed by GitHub
parent a0b8191a94
commit c067cc0357
12 changed files with 3021 additions and 2 deletions

View File

@ -122,13 +122,16 @@ pub fn new_test_session(_vargs string) TestSession {
}
if github_job != 'ubuntu-tcc' {
skip_files << 'examples/wkhtmltopdf.v' // needs installation of wkhtmltopdf from https://github.com/wkhtmltopdf/packaging/releases
// the ttf_test.v is not interactive, but needs X11 headers to be installed, which is done only on ubuntu-tcc for now
skip_files << 'vlib/x/ttf/ttf_test.v'
}
vargs := _vargs.replace('-progress', '').replace('-progress', '')
vexe := pref.vexe_path()
vroot := os.dir(vexe)
new_vtmp_dir := setup_new_vtmp_folder()
return TestSession{
vexe: vexe
vroot: os.dir(vexe)
vroot: vroot
skip_files: skip_files
vargs: vargs
vtmp_dir: new_vtmp_dir