| 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 29 matching lines...) Expand all Loading... |
| 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" | 45 #include "platform/wtf/StdLibExtras.h" |
| 46 #include "platform/wtf/text/CharacterNames.h" | 46 #include "platform/wtf/text/CharacterNames.h" |
| 47 #include "platform/wtf/text/Unicode.h" | 47 #include "platform/wtf/text/Unicode.h" |
| 48 #include "third_party/skia/include/core/SkTextBlob.h" | 48 #include "third_party/skia/include/core/SkTextBlob.h" |
| 49 | 49 |
| 50 using namespace WTF; | |
| 51 using namespace Unicode; | |
| 52 | |
| 53 namespace blink { | 50 namespace blink { |
| 54 | 51 |
| 55 Font::Font() : can_shape_word_by_word_(0), shape_word_by_word_computed_(0) {} | 52 Font::Font() : can_shape_word_by_word_(0), shape_word_by_word_computed_(0) {} |
| 56 | 53 |
| 57 Font::Font(const FontDescription& fd) | 54 Font::Font(const FontDescription& fd) |
| 58 : font_description_(fd), | 55 : font_description_(fd), |
| 59 can_shape_word_by_word_(0), | 56 can_shape_word_by_word_(0), |
| 60 shape_word_by_word_computed_(0) {} | 57 shape_word_by_word_computed_(0) {} |
| 61 | 58 |
| 62 Font::Font(const Font& other) | 59 Font::Font(const Font& other) |
| (...skipping 356 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 419 | 416 |
| 420 bool Font::LoadingCustomFonts() const { | 417 bool Font::LoadingCustomFonts() const { |
| 421 return font_fallback_list_ && font_fallback_list_->LoadingCustomFonts(); | 418 return font_fallback_list_ && font_fallback_list_->LoadingCustomFonts(); |
| 422 } | 419 } |
| 423 | 420 |
| 424 bool Font::IsFallbackValid() const { | 421 bool Font::IsFallbackValid() const { |
| 425 return !font_fallback_list_ || font_fallback_list_->IsValid(); | 422 return !font_fallback_list_ || font_fallback_list_->IsValid(); |
| 426 } | 423 } |
| 427 | 424 |
| 428 } // namespace blink | 425 } // namespace blink |
| OLD | NEW |