chromium/third_party/test_fonts/fontconfig/fontconfig_util_linux.h

// Copyright 2014 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#ifndef THIRD_PARTY_TEST_FONTS_FONTCONFIG_FONTCONFIG_UTIL_LINUX_H_
#define THIRD_PARTY_TEST_FONTS_FONTCONFIG_FONTCONFIG_UTIL_LINUX_H_

#include <string>

namespace test_fonts {

// Returns the path that contains the "test_fonts" directory.  The path will not
// have a trailing slash.
std::string GetSysrootDir();

// Prepares Fontconfig with a custom configuration suitable for tests.  FcInit()
// must still be called.
void SetUpFontconfig();

}  // namespace test_fonts

#endif  // THIRD_PARTY_TEST_FONTS_FONTCONFIG_FONTCONFIG_UTIL_LINUX_H_