When normalize coordinate, return instead of assert() when divide by 0
[pdfium.git] / core / include / fxcrt / fx_ucd.h
index 447d555..9e1862a 100644 (file)
@@ -88,20 +88,6 @@ enum FX_CHARTYPE {
     FX_CHARTYPE_ArabicForm                     = (11 << FX_CHARTYPEBITS),
     FX_CHARTYPE_Arabic                         = (12 << FX_CHARTYPEBITS),
 };
-typedef struct _FX_CHARPROPERTIES {
-    union {
-        struct {
-            FX_DWORD   dwBreakType             : 6;
-            FX_DWORD   dwBidiClass             : 5;
-            FX_DWORD   dwCharType              : 4;
-            FX_DWORD   dwRotation              : 1;
-            FX_DWORD   dwCJKSpecial    : 1;
-            FX_DWORD   dwVertIndex             : 6;
-            FX_DWORD   dwBidiIndex             : 9;
-        };
-        FX_DWORD       dwCharProps;
-    };
-} FX_CHARPROPERTIES;
 FX_DWORD FX_GetUnicodeProperties(FX_WCHAR wch);
 FX_BOOL        FX_IsCtrlCode(FX_WCHAR ch);
 FX_BOOL        FX_IsRotationCode(FX_WCHAR ch);