| 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 | |
| 8 | #ifndef SkFontMgr_fontations_DEFINED |
| 9 | #define SkFontMgr_fontations_DEFINED |
| 10 | |
| 11 | #include "include/core/SkRefCnt.h" |
| 12 | |
| 13 | class SkFontMgr; |
| 14 | |
| 15 | /** Create a font manager instantiating fonts using the Rust Fontations backend. |
| 16 | * This font manager does not support matching fonts, only instantiation. |
| 17 | */ |
| 18 | SK_API sk_sp<SkFontMgr> SkFontMgr_New_Fontations_Empty(); |
| 19 | |
| 20 | #endif // #ifndef SkFontMgr_fontations_DEFINED |