diff options
Diffstat (limited to 'xfa')
-rw-r--r-- | xfa/fgas/layout/cfx_linebreak.cpp | 8 | ||||
-rw-r--r-- | xfa/fgas/layout/cfx_linebreak.h | 8 |
2 files changed, 8 insertions, 8 deletions
diff --git a/xfa/fgas/layout/cfx_linebreak.cpp b/xfa/fgas/layout/cfx_linebreak.cpp index 14352481bd..4c54c00742 100644 --- a/xfa/fgas/layout/cfx_linebreak.cpp +++ b/xfa/fgas/layout/cfx_linebreak.cpp @@ -8,6 +8,14 @@ #include "core/fxcrt/fx_unicode.h" +#define FX_LBUN FX_LBT_UNKNOWN +#define FX_LBDB FX_LBT_DIRECT_BRK +#define FX_LBIB FX_LBT_INDIRECT_BRK +#define FX_LBCB FX_LBT_COM_INDIRECT_BRK +#define FX_LBCP FX_LBT_COM_PROHIBITED_BRK +#define FX_LBPB FX_LBT_PROHIBITED_BRK +#define FX_LBHS FX_LBT_HANGUL_SPACE_BRK + const FX_LINEBREAKTYPE gs_FX_LineBreak_PairTable[64][32] = { {FX_LBPB, FX_LBPB, FX_LBPB, FX_LBPB, FX_LBPB, FX_LBPB, FX_LBPB, FX_LBPB, FX_LBPB, FX_LBPB, FX_LBPB, FX_LBPB, FX_LBPB, FX_LBPB, FX_LBPB, FX_LBPB, diff --git a/xfa/fgas/layout/cfx_linebreak.h b/xfa/fgas/layout/cfx_linebreak.h index 8ba022e71e..ca2e4b5618 100644 --- a/xfa/fgas/layout/cfx_linebreak.h +++ b/xfa/fgas/layout/cfx_linebreak.h @@ -19,14 +19,6 @@ enum FX_LINEBREAKTYPE : uint8_t { FX_LBT_HANGUL_SPACE_BRK = 0x6F, }; -#define FX_LBUN FX_LBT_UNKNOWN -#define FX_LBDB FX_LBT_DIRECT_BRK -#define FX_LBIB FX_LBT_INDIRECT_BRK -#define FX_LBCB FX_LBT_COM_INDIRECT_BRK -#define FX_LBCP FX_LBT_COM_PROHIBITED_BRK -#define FX_LBPB FX_LBT_PROHIBITED_BRK -#define FX_LBHS FX_LBT_HANGUL_SPACE_BRK - extern const FX_LINEBREAKTYPE gs_FX_LineBreak_PairTable[64][32]; #endif // XFA_FGAS_LAYOUT_CFX_LINEBREAK_H_ |