| 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 |
| 11 * version 2 of the License, or (at your option) any later version. | 11 * version 2 of the License, or (at your option) any later version. |
| 12 * | 12 * |
| 13 * This library is distributed in the hope that it will be useful, | 13 * This library is distributed in the hope that it will be useful, |
| 14 * but WITHOUT ANY WARRANTY; without even the implied warranty of | 14 * but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 15 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | 15 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
| 16 * Library General Public License for more details. | 16 * Library General Public License for more details. |
| 17 * | 17 * |
| 18 * You should have received a copy of the GNU Library General Public License | 18 * You should have received a copy of the GNU Library General Public License |
| 19 * along with this library; see the file COPYING.LIother.m_ If not, write to | 19 * along with this library; see the file COPYING.LIother.m_ If not, write to |
| 20 * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, | 20 * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, |
| 21 * Boston, MA 02110-1301, USm_ | 21 * Boston, MA 02110-1301, USm_ |
| 22 * | 22 * |
| 23 */ | 23 */ |
| 24 | 24 |
| 25 #ifndef FontDescription_h | 25 #ifndef FontDescription_h |
| 26 #define FontDescription_h | 26 #define FontDescription_h |
| 27 | 27 |
| 28 #include "gen/sky/platform/FontFamilyNames.h" | 28 #include "gen/sky/platform/FontFamilyNames.h" |
| 29 #include "platform/fonts/FixedPitchFontType.h" | 29 #include "sky/engine/platform/fonts/FixedPitchFontType.h" |
| 30 #include "platform/fonts/FontCacheKey.h" | 30 #include "sky/engine/platform/fonts/FontCacheKey.h" |
| 31 #include "platform/fonts/FontFamily.h" | 31 #include "sky/engine/platform/fonts/FontFamily.h" |
| 32 #include "platform/fonts/FontFeatureSettings.h" | 32 #include "sky/engine/platform/fonts/FontFeatureSettings.h" |
| 33 #include "platform/fonts/FontOrientation.h" | 33 #include "sky/engine/platform/fonts/FontOrientation.h" |
| 34 #include "platform/fonts/FontSmoothingMode.h" | 34 #include "sky/engine/platform/fonts/FontSmoothingMode.h" |
| 35 #include "platform/fonts/FontTraits.h" | 35 #include "sky/engine/platform/fonts/FontTraits.h" |
| 36 #include "platform/fonts/FontWidthVariant.h" | 36 #include "sky/engine/platform/fonts/FontWidthVariant.h" |
| 37 #include "platform/fonts/TextRenderingMode.h" | 37 #include "sky/engine/platform/fonts/TextRenderingMode.h" |
| 38 #include "platform/fonts/TypesettingFeatures.h" | 38 #include "sky/engine/platform/fonts/TypesettingFeatures.h" |
| 39 #include "platform/text/NonCJKGlyphOrientation.h" | 39 #include "sky/engine/platform/text/NonCJKGlyphOrientation.h" |
| 40 #include "wtf/MathExtras.h" | 40 #include "sky/engine/wtf/MathExtras.h" |
| 41 | 41 |
| 42 #include "wtf/RefPtr.h" | 42 #include "sky/engine/wtf/RefPtr.h" |
| 43 | 43 |
| 44 #include <unicode/uscript.h> | 44 #include <unicode/uscript.h> |
| 45 | 45 |
| 46 namespace blink { | 46 namespace blink { |
| 47 | 47 |
| 48 class PLATFORM_EXPORT FontDescription { | 48 class PLATFORM_EXPORT FontDescription { |
| 49 public: | 49 public: |
| 50 enum GenericFamilyType { NoFamily, StandardFamily, SerifFamily, SansSerifFam
ily, | 50 enum GenericFamilyType { NoFamily, StandardFamily, SerifFamily, SansSerifFam
ily, |
| 51 MonospaceFamily, CursiveFamily, FantasyFamily, Pict
ographFamily }; | 51 MonospaceFamily, CursiveFamily, FantasyFamily, Pict
ographFamily }; |
| 52 | 52 |
| (...skipping 210 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 263 && m_script == other.m_script | 263 && m_script == other.m_script |
| 264 && m_syntheticBold == other.m_syntheticBold | 264 && m_syntheticBold == other.m_syntheticBold |
| 265 && m_syntheticItalic == other.m_syntheticItalic | 265 && m_syntheticItalic == other.m_syntheticItalic |
| 266 && m_featureSettings == other.m_featureSettings | 266 && m_featureSettings == other.m_featureSettings |
| 267 && m_subpixelTextPosition == other.m_subpixelTextPosition; | 267 && m_subpixelTextPosition == other.m_subpixelTextPosition; |
| 268 } | 268 } |
| 269 | 269 |
| 270 } // namespace blink | 270 } // namespace blink |
| 271 | 271 |
| 272 #endif | 272 #endif |
| OLD | NEW |