OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2008 Nokia Corporation and/or its subsidiary(-ies) | 2 * Copyright (C) 2008 Nokia Corporation and/or its subsidiary(-ies) |
3 * | 3 * |
4 * This is part of HarfBuzz, an OpenType Layout engine library. | 4 * This is part of HarfBuzz, an OpenType Layout engine library. |
5 * | 5 * |
6 * Permission is hereby granted, without written agreement and without | 6 * Permission is hereby granted, without written agreement and without |
7 * license or royalty fees, to use, copy, modify, and distribute this | 7 * license or royalty fees, to use, copy, modify, and distribute this |
8 * software and its documentation for any purpose, provided that the | 8 * software and its documentation for any purpose, provided that the |
9 * above copyright notice and the following two paragraphs appear in | 9 * above copyright notice and the following two paragraphs appear in |
10 * all copies of this software. | 10 * all copies of this software. |
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
45 HB_LineBreak_EX, HB_LineBreak_SY, HB_LineBreak_IS, HB_LineBreak_PR, HB_LineB
reak_PO, | 45 HB_LineBreak_EX, HB_LineBreak_SY, HB_LineBreak_IS, HB_LineBreak_PR, HB_LineB
reak_PO, |
46 HB_LineBreak_NU, HB_LineBreak_AL, HB_LineBreak_ID, HB_LineBreak_IN, HB_LineB
reak_HY, | 46 HB_LineBreak_NU, HB_LineBreak_AL, HB_LineBreak_ID, HB_LineBreak_IN, HB_LineB
reak_HY, |
47 HB_LineBreak_BA, HB_LineBreak_BB, HB_LineBreak_B2, HB_LineBreak_ZW, HB_LineB
reak_CM, | 47 HB_LineBreak_BA, HB_LineBreak_BB, HB_LineBreak_B2, HB_LineBreak_ZW, HB_LineB
reak_CM, |
48 HB_LineBreak_WJ, HB_LineBreak_H2, HB_LineBreak_H3, HB_LineBreak_JL, HB_LineB
reak_JV, | 48 HB_LineBreak_WJ, HB_LineBreak_H2, HB_LineBreak_H3, HB_LineBreak_JL, HB_LineB
reak_JV, |
49 HB_LineBreak_JT, HB_LineBreak_SA, HB_LineBreak_SG, | 49 HB_LineBreak_JT, HB_LineBreak_SA, HB_LineBreak_SG, |
50 HB_LineBreak_SP, HB_LineBreak_CR, HB_LineBreak_LF, HB_LineBreak_BK | 50 HB_LineBreak_SP, HB_LineBreak_CR, HB_LineBreak_LF, HB_LineBreak_BK |
51 } HB_LineBreakClass; | 51 } HB_LineBreakClass; |
52 | 52 |
53 typedef enum | 53 typedef enum |
54 { | 54 { |
55 HB_NoCategory, | |
56 | |
57 HB_Mark_NonSpacing, /* Mn */ | 55 HB_Mark_NonSpacing, /* Mn */ |
58 HB_Mark_SpacingCombining, /* Mc */ | 56 HB_Mark_SpacingCombining, /* Mc */ |
59 HB_Mark_Enclosing, /* Me */ | 57 HB_Mark_Enclosing, /* Me */ |
60 | 58 |
61 HB_Number_DecimalDigit, /* Nd */ | 59 HB_Number_DecimalDigit, /* Nd */ |
62 HB_Number_Letter, /* Nl */ | 60 HB_Number_Letter, /* Nl */ |
63 HB_Number_Other, /* No */ | 61 HB_Number_Other, /* No */ |
64 | 62 |
65 HB_Separator_Space, /* Zs */ | 63 HB_Separator_Space, /* Zs */ |
66 HB_Separator_Line, /* Zl */ | 64 HB_Separator_Line, /* Zl */ |
(...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
139 HB_WordClass HB_GetWordClass(HB_UChar32 ch); | 137 HB_WordClass HB_GetWordClass(HB_UChar32 ch); |
140 HB_SentenceClass HB_GetSentenceClass(HB_UChar32 ch); | 138 HB_SentenceClass HB_GetSentenceClass(HB_UChar32 ch); |
141 HB_LineBreakClass HB_GetLineBreakClass(HB_UChar32 ch); | 139 HB_LineBreakClass HB_GetLineBreakClass(HB_UChar32 ch); |
142 | 140 |
143 void HB_GetGraphemeAndLineBreakClass(HB_UChar32 ch, HB_GraphemeClass *grapheme,
HB_LineBreakClass *lineBreak); | 141 void HB_GetGraphemeAndLineBreakClass(HB_UChar32 ch, HB_GraphemeClass *grapheme,
HB_LineBreakClass *lineBreak); |
144 void HB_GetUnicodeCharProperties(HB_UChar32 ch, HB_CharCategory *category, int *
combiningClass); | 142 void HB_GetUnicodeCharProperties(HB_UChar32 ch, HB_CharCategory *category, int *
combiningClass); |
145 HB_CharCategory HB_GetUnicodeCharCategory(HB_UChar32 ch); | 143 HB_CharCategory HB_GetUnicodeCharCategory(HB_UChar32 ch); |
146 int HB_GetUnicodeCharCombiningClass(HB_UChar32 ch); | 144 int HB_GetUnicodeCharCombiningClass(HB_UChar32 ch); |
147 HB_UChar16 HB_GetMirroredChar(HB_UChar16 ch); | 145 HB_UChar16 HB_GetMirroredChar(HB_UChar16 ch); |
148 | 146 |
149 void *HB_Library_Resolve(const char *library, const char *symbol); | 147 void *HB_Library_Resolve(const char *library, int version, const char *symbol); |
150 | |
151 void *HB_TextCodecForMib(int mib); | |
152 char *HB_TextCodec_ConvertFromUnicode(void *codec, const HB_UChar16 *unicode, hb
_uint32 length, hb_uint32 *outputLength); | |
153 void HB_TextCodec_FreeResult(char *); | |
154 | 148 |
155 HB_END_HEADER | 149 HB_END_HEADER |
156 | 150 |
157 #endif | 151 #endif |
OLD | NEW |