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 25 matching lines...) Expand all Loading... |
36 #include "platform/fonts/FontWidthVariant.h" | 36 #include "platform/fonts/FontWidthVariant.h" |
37 #include "platform/fonts/TextRenderingMode.h" | 37 #include "platform/fonts/TextRenderingMode.h" |
38 #include "platform/fonts/TypesettingFeatures.h" | 38 #include "platform/fonts/TypesettingFeatures.h" |
39 #include "platform/text/NonCJKGlyphOrientation.h" | 39 #include "platform/text/NonCJKGlyphOrientation.h" |
40 #include "wtf/MathExtras.h" | 40 #include "wtf/MathExtras.h" |
41 | 41 |
42 #include "wtf/RefPtr.h" | 42 #include "wtf/RefPtr.h" |
43 | 43 |
44 #include <unicode/uscript.h> | 44 #include <unicode/uscript.h> |
45 | 45 |
46 namespace WebCore { | 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 |
53 enum Kerning { AutoKerning, NormalKerning, NoneKerning }; | 53 enum Kerning { AutoKerning, NormalKerning, NoneKerning }; |
54 | 54 |
55 enum LigaturesState { NormalLigaturesState, DisabledLigaturesState, EnabledL
igaturesState }; | 55 enum LigaturesState { NormalLigaturesState, DisabledLigaturesState, EnabledL
igaturesState }; |
56 | 56 |
(...skipping 194 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
251 && m_script == other.m_script | 251 && m_script == other.m_script |
252 && m_syntheticBold == other.m_syntheticBold | 252 && m_syntheticBold == other.m_syntheticBold |
253 && m_syntheticItalic == other.m_syntheticItalic | 253 && m_syntheticItalic == other.m_syntheticItalic |
254 && m_featureSettings == other.m_featureSettings | 254 && m_featureSettings == other.m_featureSettings |
255 && m_subpixelTextPosition == other.m_subpixelTextPosition; | 255 && m_subpixelTextPosition == other.m_subpixelTextPosition; |
256 } | 256 } |
257 | 257 |
258 } | 258 } |
259 | 259 |
260 #endif | 260 #endif |
OLD | NEW |