mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-01-29 17:40:42 +00:00
bug 1057330 pt 3 - provide character property accessor for Vertical_Orientation. r=smontagu
This commit is contained in:
parent
6901dfad4d
commit
e667e65c85
@ -49,6 +49,18 @@ inline nsCharType GetBidiCat(uint32_t aCh) {
|
||||
return nsCharType(GetCharProps2(aCh).mBidiCategory);
|
||||
}
|
||||
|
||||
/* This MUST match the values assigned by genUnicodePropertyData.pl! */
|
||||
enum VerticalOrientation {
|
||||
VERTICAL_ORIENTATION_U = 0,
|
||||
VERTICAL_ORIENTATION_R = 1,
|
||||
VERTICAL_ORIENTATION_Tu = 2,
|
||||
VERTICAL_ORIENTATION_Tr = 3
|
||||
};
|
||||
|
||||
inline VerticalOrientation GetVerticalOrientation(uint32_t aCh) {
|
||||
return VerticalOrientation(GetCharProps2(aCh).mVertOrient);
|
||||
}
|
||||
|
||||
enum XidmodType {
|
||||
XIDMOD_INCLUSION,
|
||||
XIDMOD_RECOMMENDED,
|
||||
|
Loading…
x
Reference in New Issue
Block a user