Fix mingw build issue from Bug 377950 - Need to get real cmaps from fonts, r+sr=pavlov
git-svn-id: svn://10.0.0.236/trunk@227405 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
parent
f9843b3238
commit
0cb7edcd01
@ -212,7 +212,7 @@ ReadCMAPTableFormat4(PRUint8 *aBuf, PRInt32 aLength, FontEntry *aFontEntry)
|
||||
OffsetFormat = 0,
|
||||
OffsetLength = 2,
|
||||
OffsetLanguage = 4,
|
||||
OffsetSegCountX2 = 6,
|
||||
OffsetSegCountX2 = 6
|
||||
};
|
||||
|
||||
NS_ENSURE_TRUE(ReadShortAt(aBuf, OffsetFormat) == 4, NS_ERROR_FAILURE);
|
||||
@ -290,7 +290,7 @@ ReadCMAP(HDC hdc, FontEntry *aFontEntry)
|
||||
TableOffsetOffset = 4,
|
||||
SizeOfTable = 8,
|
||||
|
||||
SubtableOffsetFormat = 0,
|
||||
SubtableOffsetFormat = 0
|
||||
};
|
||||
enum {
|
||||
PlatformIDMicrosoft = 3
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user