OLD | NEW |
1 // Copyright 2014 PDFium Authors. All rights reserved. | 1 // Copyright 2014 PDFium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com | 5 // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com |
6 | 6 |
7 #include "core/include/fxcrt/fx_ucd.h" | 7 #include "core/include/fxcrt/fx_ucd.h" |
8 #include "fx_arabic.h" | 8 #include "core/src/fxcrt/fx_arabic.h" |
9 | 9 |
10 namespace { | 10 namespace { |
11 | 11 |
12 const FX_ARBFORMTABLE g_FX_ArabicFormTables[] = { | 12 const FX_ARBFORMTABLE g_FX_ArabicFormTables[] = { |
13 {0xFE81, 0xFE82, 0xFE81, 0xFE82}, | 13 {0xFE81, 0xFE82, 0xFE81, 0xFE82}, |
14 {0xFE83, 0xFE84, 0xFE83, 0xFE84}, | 14 {0xFE83, 0xFE84, 0xFE83, 0xFE84}, |
15 {0xFE85, 0xFE86, 0xFE85, 0xFE86}, | 15 {0xFE85, 0xFE86, 0xFE85, 0xFE86}, |
16 {0xFE87, 0xFE88, 0xFE87, 0xFE88}, | 16 {0xFE87, 0xFE88, 0xFE87, 0xFE88}, |
17 {0xFE89, 0xFE8A, 0xFE8B, 0xFE8C}, | 17 {0xFE89, 0xFE8A, 0xFE8B, 0xFE8C}, |
18 {0xFE8D, 0xFE8E, 0xFE8D, 0xFE8E}, | 18 {0xFE8D, 0xFE8E, 0xFE8D, 0xFE8E}, |
(...skipping 1122 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1141 } | 1141 } |
1142 }; | 1142 }; |
1143 void FX_BidiLine(CFX_TxtCharArray& chars, int32_t iCount, int32_t iBaseLevel) { | 1143 void FX_BidiLine(CFX_TxtCharArray& chars, int32_t iCount, int32_t iBaseLevel) { |
1144 CFX_BidiLineTemplate<CFX_TxtChar> blt; | 1144 CFX_BidiLineTemplate<CFX_TxtChar> blt; |
1145 blt.FX_BidiLine(chars, iCount, iBaseLevel); | 1145 blt.FX_BidiLine(chars, iCount, iBaseLevel); |
1146 } | 1146 } |
1147 void FX_BidiLine(CFX_RTFCharArray& chars, int32_t iCount, int32_t iBaseLevel) { | 1147 void FX_BidiLine(CFX_RTFCharArray& chars, int32_t iCount, int32_t iBaseLevel) { |
1148 CFX_BidiLineTemplate<CFX_RTFChar> blt; | 1148 CFX_BidiLineTemplate<CFX_RTFChar> blt; |
1149 blt.FX_BidiLine(chars, iCount, iBaseLevel); | 1149 blt.FX_BidiLine(chars, iCount, iBaseLevel); |
1150 } | 1150 } |
OLD | NEW |