1 // Copyright 2014 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 _FGAS_FONTUTIL_H_
8 #define _FGAS_FONTUTIL_H_
9 typedef struct _FGAS_FONTUSB {
10   FX_WCHAR wStartUnicode;
11   FX_WCHAR wEndUnicode;
12   FX_WORD wBitField;
13   FX_WORD wCodePage;
14 } FGAS_FONTUSB, *FGAS_LPFONTUSB;
15 typedef FGAS_FONTUSB const* FGAS_LPCFONTUSB;
16 FX_DWORD FGAS_GetFontHashCode(FX_WORD wCodePage, FX_DWORD dwFontStyles);
17 FX_DWORD FGAS_GetFontFamilyHash(const FX_WCHAR* pszFontFamily,
18                                 FX_DWORD dwFontStyles,
19                                 FX_WORD wCodePage);
20 FGAS_LPCFONTUSB FGAS_GetUnicodeBitField(FX_WCHAR wUnicode);
21 #endif
22