Commit d052178 1 parent db9cb0d commit d052178 Copy full SHA for d052178
File tree 3 files changed +28
-8
lines changed
3 files changed +28
-8
lines changed Original file line number Diff line number Diff line change 1
1
// LAF Text Library
2
- // Copyright (c) 2019-2024 Igara Studio S.A.
2
+ // Copyright (c) 2019-2025 Igara Studio S.A.
3
3
// Copyright (c) 2012-2017 David Capello
4
4
//
5
5
// This file is released under the terms of the MIT license.
12
12
#include " base/ints.h"
13
13
#include " base/ref.h"
14
14
#include " gfx/fwd.h"
15
+ #include " text/font_type.h"
15
16
#include " text/fwd.h"
16
17
17
18
#include < string>
@@ -22,13 +23,6 @@ class Paint;
22
23
23
24
namespace text {
24
25
25
- enum class FontType {
26
- Unknown,
27
- SpriteSheet, // SpriteSheet
28
- FreeType, // FreeType
29
- Native, // Skia
30
- };
31
-
32
26
class Font : public base ::RefCount {
33
27
public:
34
28
Font () : m_fallback(nullptr ) {}
Original file line number Diff line number Diff line change
1
+ // LAF Text Library
2
+ // Copyright (c) 2025 Igara Studio S.A.
3
+ //
4
+ // This file is released under the terms of the MIT license.
5
+ // Read LICENSE.txt for more information.
6
+
7
+ #ifndef LAF_TEXT_FONT_TYPE_H_INCLUDED
8
+ #define LAF_TEXT_FONT_TYPE_H_INCLUDED
9
+ #pragma once
10
+
11
+ #include " base/ints.h"
12
+
13
+ namespace text {
14
+
15
+ enum class FontType : uint8_t {
16
+ Unknown,
17
+ SpriteSheet, // SpriteSheet
18
+ FreeType, // FreeType
19
+ Native, // Skia
20
+ };
21
+
22
+ } // namespace text
23
+
24
+ #endif
Original file line number Diff line number Diff line change @@ -22,6 +22,8 @@ class DrawTextDelegate;
22
22
class Font ;
23
23
using FontRef = base::Ref<Font>;
24
24
25
+ enum class FontType : uint8_t ;
26
+
25
27
struct FontMetrics ;
26
28
27
29
class FontMgr ;
You can’t perform that action at this time.
0 commit comments