OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2000 Lars Knoll (knoll@kde.org) | 2 * Copyright (C) 2000 Lars Knoll (knoll@kde.org) |
3 * (C) 2000 Antti Koivisto (koivisto@kde.org) | 3 * (C) 2000 Antti Koivisto (koivisto@kde.org) |
4 * (C) 2000 Dirk Mueller (mueller@kde.org) | 4 * (C) 2000 Dirk Mueller (mueller@kde.org) |
5 * Copyright (C) 2003, 2004, 2005, 2006, 2007, 2008 Apple Inc. All rights reserv
ed. | 5 * Copyright (C) 2003, 2004, 2005, 2006, 2007, 2008 Apple Inc. All rights reserv
ed. |
6 * Copyright (C) 2007 Nicholas Shanks <webkit@nickshanks.com> | 6 * Copyright (C) 2007 Nicholas Shanks <webkit@nickshanks.com> |
7 * | 7 * |
8 * This library is free software; you can redistribute it and/or | 8 * This library is free software; you can redistribute it and/or |
9 * modify it under the terms of the GNU Library General Public | 9 * modify it under the terms of the GNU Library General Public |
10 * License as published by the Free Software Foundation; either | 10 * License as published by the Free Software Foundation; either |
(...skipping 302 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
313 && m_computedSize == other.m_computedSize | 313 && m_computedSize == other.m_computedSize |
314 && m_adjustedSize == other.m_adjustedSize | 314 && m_adjustedSize == other.m_adjustedSize |
315 && m_sizeAdjust == other.m_sizeAdjust | 315 && m_sizeAdjust == other.m_sizeAdjust |
316 && m_letterSpacing == other.m_letterSpacing | 316 && m_letterSpacing == other.m_letterSpacing |
317 && m_wordSpacing == other.m_wordSpacing | 317 && m_wordSpacing == other.m_wordSpacing |
318 && m_fieldsAsUnsigned[0] == other.m_fieldsAsUnsigned[0] | 318 && m_fieldsAsUnsigned[0] == other.m_fieldsAsUnsigned[0] |
319 && m_fieldsAsUnsigned[1] == other.m_fieldsAsUnsigned[1] | 319 && m_fieldsAsUnsigned[1] == other.m_fieldsAsUnsigned[1] |
320 && (m_featureSettings == other.m_featureSettings || (m_featureSettings &
& other.m_featureSettings && *m_featureSettings == *other.m_featureSettings)); | 320 && (m_featureSettings == other.m_featureSettings || (m_featureSettings &
& other.m_featureSettings && *m_featureSettings == *other.m_featureSettings)); |
321 } | 321 } |
322 | 322 |
| 323 inline bool operator==(const FontDescription::FamilyDescription& a, const FontDe
scription::FamilyDescription& b) |
| 324 { |
| 325 return a.genericFamily == b.genericFamily && a.family == b.family; |
| 326 } |
| 327 |
| 328 inline bool operator==(const FontDescription::VariantLigatures& a, const FontDes
cription::VariantLigatures& b) |
| 329 { |
| 330 return a.common == b.common && a.discretionary == b.discretionary && a.histo
rical == b.historical && a.contextual == b.contextual; |
| 331 } |
| 332 |
| 333 inline bool operator==(const FontDescription::Size& a, const FontDescription::Si
ze& b) |
| 334 { |
| 335 return a.keyword == b.keyword && a.isAbsolute == b.isAbsolute && a.value ==
b.value; |
| 336 } |
| 337 |
323 } // namespace blink | 338 } // namespace blink |
324 | 339 |
325 #endif | 340 #endif |
OLD | NEW |