OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2012 Google Inc. All rights reserved. | 2 * Copyright (C) 2012 Google Inc. All rights reserved. |
3 * | 3 * |
4 * Redistribution and use in source and binary forms, with or without | 4 * Redistribution and use in source and binary forms, with or without |
5 * modification, are permitted provided that the following conditions are | 5 * modification, are permitted provided that the following conditions are |
6 * met: | 6 * met: |
7 * | 7 * |
8 * * Redistributions of source code must retain the above copyright | 8 * * Redistributions of source code must retain the above copyright |
9 * notice, this list of conditions and the following disclaimer. | 9 * notice, this list of conditions and the following disclaimer. |
10 * * Redistributions in binary form must reproduce the above | 10 * * Redistributions in binary form must reproduce the above |
(...skipping 24 matching lines...) Expand all Loading... |
35 #include "platform/fonts/GlyphBuffer.h" | 35 #include "platform/fonts/GlyphBuffer.h" |
36 #include "platform/geometry/FloatBoxExtent.h" | 36 #include "platform/geometry/FloatBoxExtent.h" |
37 #include "platform/geometry/FloatPoint.h" | 37 #include "platform/geometry/FloatPoint.h" |
38 #include "platform/text/TextRun.h" | 38 #include "platform/text/TextRun.h" |
39 #include "wtf/HashSet.h" | 39 #include "wtf/HashSet.h" |
40 #include "wtf/OwnPtr.h" | 40 #include "wtf/OwnPtr.h" |
41 #include "wtf/PassOwnPtr.h" | 41 #include "wtf/PassOwnPtr.h" |
42 #include "wtf/unicode/CharacterNames.h" | 42 #include "wtf/unicode/CharacterNames.h" |
43 #include "wtf/Vector.h" | 43 #include "wtf/Vector.h" |
44 | 44 |
45 #include <unicode/uscript.h> | |
46 | |
47 namespace WebCore { | 45 namespace WebCore { |
48 | 46 |
49 class Font; | 47 class Font; |
50 class SimpleFontData; | 48 class SimpleFontData; |
51 class HarfBuzzShaper FINAL { | 49 class HarfBuzzShaper FINAL { |
52 public: | 50 public: |
53 enum ForTextEmphasisOrNot { | 51 enum ForTextEmphasisOrNot { |
54 NotForTextEmphasis, | 52 NotForTextEmphasis, |
55 ForTextEmphasis | 53 ForTextEmphasis |
56 }; | 54 }; |
(...skipping 106 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
163 | 161 |
164 float m_totalWidth; | 162 float m_totalWidth; |
165 FloatBoxExtent m_glyphBoundingBox; | 163 FloatBoxExtent m_glyphBoundingBox; |
166 | 164 |
167 friend struct CachedShapingResults; | 165 friend struct CachedShapingResults; |
168 }; | 166 }; |
169 | 167 |
170 } // namespace WebCore | 168 } // namespace WebCore |
171 | 169 |
172 #endif // HarfBuzzShaper_h | 170 #endif // HarfBuzzShaper_h |
OLD | NEW |