| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2011 Brent Fulgham | 2 * Copyright (C) 2011 Brent Fulgham |
| 3 * | 3 * |
| 4 * This library is free software; you can redistribute it and/or | 4 * This library is free software; you can redistribute it and/or |
| 5 * modify it under the terms of the GNU Library General Public | 5 * modify it under the terms of the GNU Library General Public |
| 6 * License as published by the Free Software Foundation; either | 6 * License as published by the Free Software Foundation; either |
| 7 * version 2 of the License, or (at your option) any later version. | 7 * version 2 of the License, or (at your option) any later version. |
| 8 * | 8 * |
| 9 * This library is distributed in the hope that it will be useful, | 9 * This library is distributed in the hope that it will be useful, |
| 10 * but WITHOUT ANY WARRANTY; without even the implied warranty of | 10 * but WITHOUT ANY WARRANTY; without even the implied warranty of |
| (...skipping 14 matching lines...) Expand all Loading... |
| 25 #include "wtf/text/StringHash.h" | 25 #include "wtf/text/StringHash.h" |
| 26 #include "wtf/text/WTFString.h" | 26 #include "wtf/text/WTFString.h" |
| 27 #include "wtf/Vector.h" | 27 #include "wtf/Vector.h" |
| 28 | 28 |
| 29 #if OS(MACOSX) | 29 #if OS(MACOSX) |
| 30 #include "platform/fonts/harfbuzz/HarfBuzzFace.h" | 30 #include "platform/fonts/harfbuzz/HarfBuzzFace.h" |
| 31 #endif | 31 #endif |
| 32 | 32 |
| 33 using namespace std; | 33 using namespace std; |
| 34 | 34 |
| 35 namespace WebCore { | 35 namespace blink { |
| 36 | 36 |
| 37 FontPlatformData::FontPlatformData(WTF::HashTableDeletedValueType) | 37 FontPlatformData::FontPlatformData(WTF::HashTableDeletedValueType) |
| 38 : m_syntheticBold(false) | 38 : m_syntheticBold(false) |
| 39 , m_syntheticOblique(false) | 39 , m_syntheticOblique(false) |
| 40 , m_orientation(Horizontal) | 40 , m_orientation(Horizontal) |
| 41 , m_size(0) | 41 , m_size(0) |
| 42 , m_widthVariant(RegularWidth) | 42 , m_widthVariant(RegularWidth) |
| 43 #if OS(MACOSX) | 43 #if OS(MACOSX) |
| 44 , m_font(hashTableDeletedFontValue()) | 44 , m_font(hashTableDeletedFontValue()) |
| 45 #endif | 45 #endif |
| (...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 114 m_orientation = other.m_orientation; | 114 m_orientation = other.m_orientation; |
| 115 m_size = other.m_size; | 115 m_size = other.m_size; |
| 116 m_widthVariant = other.m_widthVariant; | 116 m_widthVariant = other.m_widthVariant; |
| 117 m_isColorBitmapFont = other.m_isColorBitmapFont; | 117 m_isColorBitmapFont = other.m_isColorBitmapFont; |
| 118 m_isCompositeFontReference = other.m_isCompositeFontReference; | 118 m_isCompositeFontReference = other.m_isCompositeFontReference; |
| 119 | 119 |
| 120 return platformDataAssign(other); | 120 return platformDataAssign(other); |
| 121 } | 121 } |
| 122 | 122 |
| 123 } | 123 } |
| OLD | NEW |