blob: ca33aa5ad1af8a18bd0152608186c3c2c6a8fb01 [file] [log] [blame]
Haibo Huang49cc9302020-04-27 16:14:24 -07001// 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
13namespace pdfium {
14namespace arabic {
15
16wchar_t GetFormChar(wchar_t wch, wchar_t prev, wchar_t next);
17wchar_t GetFormChar(const CFX_Char* cur,
18 const CFX_Char* prev,
19 const CFX_Char* next);
20
21} // namespace arabic
22} // namespace pdfium
23
24wchar_t FX_GetArabicFromShaddaTable(wchar_t shadda);
25
26#endif // XFA_FGAS_LAYOUT_FX_ARABIC_H_