• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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 XFA_FGAS_LAYOUT_FX_ARABIC_H_
8 #define XFA_FGAS_LAYOUT_FX_ARABIC_H_
9 
10 #include "core/fxcrt/fx_system.h"
11 #include "xfa/fgas/layout/cfx_char.h"
12 
13 namespace pdfium {
14 namespace arabic {
15 
16 wchar_t GetFormChar(wchar_t wch, wchar_t prev, wchar_t next);
17 wchar_t GetFormChar(const CFX_Char* cur,
18                     const CFX_Char* prev,
19                     const CFX_Char* next);
20 
21 }  // namespace arabic
22 }  // namespace pdfium
23 
24 wchar_t FX_GetArabicFromShaddaTable(wchar_t shadda);
25 
26 #endif  // XFA_FGAS_LAYOUT_FX_ARABIC_H_
27