• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 /*
2  * Copyright 2024 Google Inc.
3  *
4  * Use of this source code is governed by a BSD-style license that can be
5  * found in the LICENSE file.
6  */
7 #include "src/core/SkWriteBuffer.h"
8 
9 #include "tests/FontScanner.h"
10 #include "tests/Test.h"
11 #include "tools/fonts/FontToolUtils.h"
12 
13 #include "include/ports/SkFontScanner_FreeType.h"
14 
DEF_TEST(FontScanner_FreeType_VariableFont,reporter)15 DEF_TEST(FontScanner_FreeType_VariableFont, reporter) {
16     FontScanner_VariableFont(reporter, SkFontScanner_Make_FreeType().get());
17 }
18 
DEF_TEST(FontScanner_FreeType__NamedInstances1,reporter)19 DEF_TEST(FontScanner_FreeType__NamedInstances1, reporter) {
20     FontScanner_NamedInstances1(reporter, SkFontScanner_Make_FreeType().get());
21 }
22 
DEF_TEST(FontScanner_FreeType__NamedInstances2,reporter)23 DEF_TEST(FontScanner_FreeType__NamedInstances2, reporter) {
24     FontScanner_NamedInstances2(reporter, SkFontScanner_Make_FreeType().get());
25 }
26 
DEF_TEST(FontScanner_FreeType_FontCollection,reporter)27 DEF_TEST(FontScanner_FreeType_FontCollection, reporter) {
28     FontScanner_FontCollection(reporter, SkFontScanner_Make_FreeType().get());
29 }
30