| 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 |
| 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.LIB. If not, write to | 19 * along with this library; see the file COPYING.LIB. 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, USA. | 21 * Boston, MA 02110-1301, USA. |
| 22 * | 22 * |
| 23 */ | 23 */ |
| 24 | 24 |
| 25 #include "platform/fonts/Font.h" | 25 #include "platform/fonts/Font.h" |
| 26 | 26 |
| 27 #include "platform/LayoutTestSupport.h" | 27 #include "platform/LayoutTestSupport.h" |
| 28 #include "platform/LayoutUnit.h" | 28 #include "platform/LayoutUnit.h" |
| 29 #include "platform/RuntimeEnabledFeatures.h" | 29 #include "platform/RuntimeEnabledFeatures.h" |
| 30 #include "platform/fonts/Character.h" | |
| 31 #include "platform/fonts/CharacterRange.h" | 30 #include "platform/fonts/CharacterRange.h" |
| 32 #include "platform/fonts/FontCache.h" | 31 #include "platform/fonts/FontCache.h" |
| 33 #include "platform/fonts/FontFallbackIterator.h" | 32 #include "platform/fonts/FontFallbackIterator.h" |
| 34 #include "platform/fonts/FontFallbackList.h" | 33 #include "platform/fonts/FontFallbackList.h" |
| 35 #include "platform/fonts/GlyphBuffer.h" | 34 #include "platform/fonts/GlyphBuffer.h" |
| 36 #include "platform/fonts/GlyphPageTreeNode.h" | 35 #include "platform/fonts/GlyphPageTreeNode.h" |
| 37 #include "platform/fonts/SimpleFontData.h" | 36 #include "platform/fonts/SimpleFontData.h" |
| 38 #include "platform/fonts/shaping/CachingWordShaper.h" | 37 #include "platform/fonts/shaping/CachingWordShaper.h" |
| 39 #include "platform/fonts/shaping/HarfBuzzFace.h" | 38 #include "platform/fonts/shaping/HarfBuzzFace.h" |
| 40 #include "platform/fonts/shaping/HarfBuzzShaper.h" | 39 #include "platform/fonts/shaping/HarfBuzzShaper.h" |
| 41 #include "platform/fonts/shaping/SimpleShaper.h" | 40 #include "platform/fonts/shaping/SimpleShaper.h" |
| 42 #include "platform/geometry/FloatRect.h" | 41 #include "platform/geometry/FloatRect.h" |
| 43 #include "platform/text/BidiResolver.h" | 42 #include "platform/text/BidiResolver.h" |
| 43 #include "platform/text/Character.h" |
| 44 #include "platform/text/TextRun.h" | 44 #include "platform/text/TextRun.h" |
| 45 #include "platform/text/TextRunIterator.h" | 45 #include "platform/text/TextRunIterator.h" |
| 46 #include "platform/transforms/AffineTransform.h" | 46 #include "platform/transforms/AffineTransform.h" |
| 47 #include "third_party/skia/include/core/SkCanvas.h" | 47 #include "third_party/skia/include/core/SkCanvas.h" |
| 48 #include "third_party/skia/include/core/SkPaint.h" | 48 #include "third_party/skia/include/core/SkPaint.h" |
| 49 #include "third_party/skia/include/core/SkTextBlob.h" | 49 #include "third_party/skia/include/core/SkTextBlob.h" |
| 50 #include "wtf/StdLibExtras.h" | 50 #include "wtf/StdLibExtras.h" |
| 51 #include "wtf/text/CharacterNames.h" | 51 #include "wtf/text/CharacterNames.h" |
| 52 #include "wtf/text/Unicode.h" | 52 #include "wtf/text/Unicode.h" |
| 53 | 53 |
| (...skipping 786 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 840 { | 840 { |
| 841 return m_fontFallbackList && m_fontFallbackList->loadingCustomFonts(); | 841 return m_fontFallbackList && m_fontFallbackList->loadingCustomFonts(); |
| 842 } | 842 } |
| 843 | 843 |
| 844 bool Font::isFallbackValid() const | 844 bool Font::isFallbackValid() const |
| 845 { | 845 { |
| 846 return !m_fontFallbackList || m_fontFallbackList->isValid(); | 846 return !m_fontFallbackList || m_fontFallbackList->isValid(); |
| 847 } | 847 } |
| 848 | 848 |
| 849 } // namespace blink | 849 } // namespace blink |
| OLD | NEW |