• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 // Copyright 2016 PDFium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4 
5 // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com
6 
7 #ifndef CORE_FXGE_ANDROID_CFPF_SKIAFONTDESCRIPTOR_H_
8 #define CORE_FXGE_ANDROID_CFPF_SKIAFONTDESCRIPTOR_H_
9 
10 #include "core/fxcrt/fx_system.h"
11 
12 #define FPF_SKIAFONTTYPE_Unknown 0
13 
14 class CFPF_SkiaFontDescriptor {
15  public:
16   CFPF_SkiaFontDescriptor();
17   virtual ~CFPF_SkiaFontDescriptor();
18 
19   virtual int32_t GetType() const;
20 
21   void SetFamily(const char* pFamily);
22 
23   char* m_pFamily;
24   uint32_t m_dwStyle;
25   int32_t m_iFaceIndex;
26   uint32_t m_dwCharsets;
27   int32_t m_iGlyphNum;
28 };
29 
30 #endif  // CORE_FXGE_ANDROID_CFPF_SKIAFONTDESCRIPTOR_H_
31