Compare commits
2 Commits
24815def3a
...
3a3bc69b8e
Author | SHA1 | Date |
---|---|---|
Pascal Abresch | 3a3bc69b8e | |
Adrien Destugues | 127d0aae57 |
|
@ -32,7 +32,11 @@
|
|||
#include <wtf/Vector.h>
|
||||
#include <wtf/text/WTFString.h>
|
||||
|
||||
#if USE(HAIKU)
|
||||
typedef unsigned int CGGlyph;
|
||||
#else
|
||||
typedef unsigned short CGGlyph;
|
||||
#endif
|
||||
|
||||
typedef const struct __CTRun * CTRunRef;
|
||||
typedef const struct __CTLine * CTLineRef;
|
||||
|
|
|
@ -32,7 +32,11 @@
|
|||
|
||||
namespace WebCore {
|
||||
|
||||
#if USE(HAIKU)
|
||||
typedef unsigned int Glyph;
|
||||
#else
|
||||
typedef unsigned short Glyph;
|
||||
#endif
|
||||
|
||||
} // namespace WebCore
|
||||
|
||||
|
|
|
@ -54,12 +54,8 @@ bool GlyphPage::fill(UChar* buffer, unsigned bufferLength)
|
|||
if (character == iterator.end())
|
||||
break;
|
||||
|
||||
if (!haveGlyphs[i])
|
||||
setGlyphForIndex(i, 0);
|
||||
else {
|
||||
hasOneGlyph = true;
|
||||
setGlyphForIndex(i, character);
|
||||
}
|
||||
hasOneGlyph = true;
|
||||
setGlyphForIndex(i, character);
|
||||
}
|
||||
|
||||
return hasOneGlyph;
|
||||
|
|
Loading…
Reference in New Issue