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