| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 1999 Lars Knoll (knoll@kde.org) | 2 * Copyright (C) 1999 Lars Knoll (knoll@kde.org) |
| 3 * (C) 1999 Antti Koivisto (koivisto@kde.org) | 3 * (C) 1999 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, 2006, 2010, 2011 Apple Inc. All rights reserved. | 5 * Copyright (C) 2003, 2006, 2010, 2011 Apple Inc. All rights reserved. |
| 6 * Copyright (c) 2007, 2008, 2010 Google Inc. All rights reserved. | 6 * Copyright (c) 2007, 2008, 2010 Google Inc. All rights reserved. |
| 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 24 matching lines...) Expand all Loading... |
| 35 #include "platform/fonts/shaping/CachingWordShaper.h" | 35 #include "platform/fonts/shaping/CachingWordShaper.h" |
| 36 #include "platform/fonts/shaping/ShapeResultBloberizer.h" | 36 #include "platform/fonts/shaping/ShapeResultBloberizer.h" |
| 37 #include "platform/geometry/FloatRect.h" | 37 #include "platform/geometry/FloatRect.h" |
| 38 #include "platform/graphics/paint/PaintCanvas.h" | 38 #include "platform/graphics/paint/PaintCanvas.h" |
| 39 #include "platform/graphics/paint/PaintFlags.h" | 39 #include "platform/graphics/paint/PaintFlags.h" |
| 40 #include "platform/text/BidiResolver.h" | 40 #include "platform/text/BidiResolver.h" |
| 41 #include "platform/text/Character.h" | 41 #include "platform/text/Character.h" |
| 42 #include "platform/text/TextRun.h" | 42 #include "platform/text/TextRun.h" |
| 43 #include "platform/text/TextRunIterator.h" | 43 #include "platform/text/TextRunIterator.h" |
| 44 #include "platform/transforms/AffineTransform.h" | 44 #include "platform/transforms/AffineTransform.h" |
| 45 #include "platform/wtf/StdLibExtras.h" |
| 46 #include "platform/wtf/text/CharacterNames.h" |
| 47 #include "platform/wtf/text/Unicode.h" |
| 45 #include "third_party/skia/include/core/SkTextBlob.h" | 48 #include "third_party/skia/include/core/SkTextBlob.h" |
| 46 #include "wtf/StdLibExtras.h" | |
| 47 #include "wtf/text/CharacterNames.h" | |
| 48 #include "wtf/text/Unicode.h" | |
| 49 | 49 |
| 50 using namespace WTF; | 50 using namespace WTF; |
| 51 using namespace Unicode; | 51 using namespace Unicode; |
| 52 | 52 |
| 53 namespace blink { | 53 namespace blink { |
| 54 | 54 |
| 55 Font::Font() : m_canShapeWordByWord(0), m_shapeWordByWordComputed(0) {} | 55 Font::Font() : m_canShapeWordByWord(0), m_shapeWordByWordComputed(0) {} |
| 56 | 56 |
| 57 Font::Font(const FontDescription& fd) | 57 Font::Font(const FontDescription& fd) |
| 58 : m_fontDescription(fd), | 58 : m_fontDescription(fd), |
| (...skipping 356 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 415 | 415 |
| 416 bool Font::loadingCustomFonts() const { | 416 bool Font::loadingCustomFonts() const { |
| 417 return m_fontFallbackList && m_fontFallbackList->loadingCustomFonts(); | 417 return m_fontFallbackList && m_fontFallbackList->loadingCustomFonts(); |
| 418 } | 418 } |
| 419 | 419 |
| 420 bool Font::isFallbackValid() const { | 420 bool Font::isFallbackValid() const { |
| 421 return !m_fontFallbackList || m_fontFallbackList->isValid(); | 421 return !m_fontFallbackList || m_fontFallbackList->isValid(); |
| 422 } | 422 } |
| 423 | 423 |
| 424 } // namespace blink | 424 } // namespace blink |
| OLD | NEW |