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 22 matching lines...) Expand all Loading... |
33 #include "platform/fonts/FontSmoothingMode.h" | 33 #include "platform/fonts/FontSmoothingMode.h" |
34 #include "platform/fonts/FontTraits.h" | 34 #include "platform/fonts/FontTraits.h" |
35 #include "platform/fonts/FontWidthVariant.h" | 35 #include "platform/fonts/FontWidthVariant.h" |
36 #include "platform/fonts/TextRenderingMode.h" | 36 #include "platform/fonts/TextRenderingMode.h" |
37 #include "platform/fonts/TypesettingFeatures.h" | 37 #include "platform/fonts/TypesettingFeatures.h" |
38 #include "platform/text/NonCJKGlyphOrientation.h" | 38 #include "platform/text/NonCJKGlyphOrientation.h" |
39 #include "wtf/MathExtras.h" | 39 #include "wtf/MathExtras.h" |
40 | 40 |
41 #include "wtf/RefPtr.h" | 41 #include "wtf/RefPtr.h" |
42 | 42 |
| 43 #include <unicode/uscript.h> |
| 44 |
43 namespace WebCore { | 45 namespace WebCore { |
44 | 46 |
45 class PLATFORM_EXPORT FontDescription { | 47 class PLATFORM_EXPORT FontDescription { |
46 public: | 48 public: |
47 enum GenericFamilyType { NoFamily, StandardFamily, SerifFamily, SansSerifFam
ily, | 49 enum GenericFamilyType { NoFamily, StandardFamily, SerifFamily, SansSerifFam
ily, |
48 MonospaceFamily, CursiveFamily, FantasyFamily, Pict
ographFamily }; | 50 MonospaceFamily, CursiveFamily, FantasyFamily, Pict
ographFamily }; |
49 | 51 |
50 enum Kerning { AutoKerning, NormalKerning, NoneKerning }; | 52 enum Kerning { AutoKerning, NormalKerning, NoneKerning }; |
51 | 53 |
52 enum LigaturesState { NormalLigaturesState, DisabledLigaturesState, EnabledL
igaturesState }; | 54 enum LigaturesState { NormalLigaturesState, DisabledLigaturesState, EnabledL
igaturesState }; |
(...skipping 195 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
248 && m_script == other.m_script | 250 && m_script == other.m_script |
249 && m_syntheticBold == other.m_syntheticBold | 251 && m_syntheticBold == other.m_syntheticBold |
250 && m_syntheticItalic == other.m_syntheticItalic | 252 && m_syntheticItalic == other.m_syntheticItalic |
251 && m_featureSettings == other.m_featureSettings | 253 && m_featureSettings == other.m_featureSettings |
252 && m_subpixelTextPosition == other.m_subpixelTextPosition; | 254 && m_subpixelTextPosition == other.m_subpixelTextPosition; |
253 } | 255 } |
254 | 256 |
255 } | 257 } |
256 | 258 |
257 #endif | 259 #endif |
OLD | NEW |