#include "third_party/blink/renderer/core/css/resolver/font_builder.h"
#include "third_party/blink/renderer/core/css/css_font_selector.h"
#include "third_party/blink/renderer/core/css/style_engine.h"
#include "third_party/blink/renderer/core/css_value_keywords.h"
#include "third_party/blink/renderer/core/dom/document.h"
#include "third_party/blink/renderer/core/frame/local_frame.h"
#include "third_party/blink/renderer/core/frame/settings.h"
#include "third_party/blink/renderer/core/layout/text_autosizer.h"
#include "third_party/blink/renderer/core/style/computed_style.h"
#include "third_party/blink/renderer/platform/font_family_names.h"
#include "third_party/blink/renderer/platform/fonts/font_description.h"
namespace blink {
FontBuilder::FontBuilder(Document* document) : … { … }
void FontBuilder::DidChangeEffectiveZoom() { … }
void FontBuilder::DidChangeTextOrientation() { … }
void FontBuilder::DidChangeWritingMode() { … }
void FontBuilder::DidChangeTextSizeAdjust() { … }
FontFamily FontBuilder::StandardFontFamily() const { … }
AtomicString FontBuilder::StandardFontFamilyName() const { … }
AtomicString FontBuilder::GenericFontFamilyName(
FontDescription::GenericFamilyType generic_family) const { … }
float FontBuilder::FontSizeForKeyword(unsigned keyword,
bool is_monospace) const { … }
void FontBuilder::SetFamilyDescription(
const FontDescription::FamilyDescription& family_description) { … }
void FontBuilder::SetFamilyTreeScope(const TreeScope* tree_scope) { … }
void FontBuilder::SetWeight(FontSelectionValue weight) { … }
void FontBuilder::SetStyle(FontSelectionValue slope) { … }
void FontBuilder::SetStretch(FontSelectionValue stretch) { … }
void FontBuilder::SetSize(const FontDescription::Size& size) { … }
void FontBuilder::SetSizeAdjust(const FontSizeAdjust& size_adjust) { … }
void FontBuilder::SetLocale(scoped_refptr<const LayoutLocale> locale) { … }
void FontBuilder::SetVariantCaps(FontDescription::FontVariantCaps caps) { … }
void FontBuilder::SetVariantEastAsian(const FontVariantEastAsian east_asian) { … }
void FontBuilder::SetVariantLigatures(
const FontDescription::VariantLigatures& ligatures) { … }
void FontBuilder::SetVariantNumeric(const FontVariantNumeric& variant_numeric) { … }
void FontBuilder::SetFontSynthesisWeight(
FontDescription::FontSynthesisWeight font_synthesis_weight) { … }
void FontBuilder::SetFontSynthesisStyle(
FontDescription::FontSynthesisStyle font_synthesis_style) { … }
void FontBuilder::SetFontSynthesisSmallCaps(
FontDescription::FontSynthesisSmallCaps font_synthesis_small_caps) { … }
void FontBuilder::SetTextRendering(TextRenderingMode text_rendering_mode) { … }
void FontBuilder::SetKerning(FontDescription::Kerning kerning) { … }
void FontBuilder::SetTextSpacingTrim(TextSpacingTrim text_spacing_trim) { … }
void FontBuilder::SetFontOpticalSizing(OpticalSizing font_optical_sizing) { … }
void FontBuilder::SetFontPalette(scoped_refptr<const FontPalette> palette) { … }
void FontBuilder::SetFontVariantAlternates(
scoped_refptr<const FontVariantAlternates> variant_alternates) { … }
void FontBuilder::SetFontSmoothing(FontSmoothingMode font_smoothing_mode) { … }
void FontBuilder::SetFeatureSettings(
scoped_refptr<const FontFeatureSettings> settings) { … }
void FontBuilder::SetVariationSettings(
scoped_refptr<const FontVariationSettings> settings) { … }
void FontBuilder::SetFamilyDescription(
FontDescription& font_description,
const FontDescription::FamilyDescription& family_description) { … }
void FontBuilder::SetSize(FontDescription& font_description,
const FontDescription::Size& size) { … }
void FontBuilder::SetVariantPosition(
FontDescription::FontVariantPosition variant_position) { … }
void FontBuilder::SetVariantEmoji(FontVariantEmoji variant_emoji) { … }
float FontBuilder::GetComputedSizeFromSpecifiedSize(
const FontDescription& font_description,
const ComputedStyleBuilder& builder,
float specified_size) { … }
void FontBuilder::CheckForGenericFamilyChange(
const FontDescription& parent_description,
FontDescription& new_description) { … }
void FontBuilder::UpdateSpecifiedSize(
FontDescription& font_description,
const FontDescription& parent_description) { … }
void FontBuilder::UpdateAdjustedSize(FontDescription& font_description,
FontSelector* font_selector) { … }
void FontBuilder::UpdateComputedSize(FontDescription& font_description,
const ComputedStyleBuilder& builder) { … }
bool FontBuilder::UpdateFontDescription(FontDescription& description,
FontOrientation font_orientation) { … }
FontSelector* FontBuilder::FontSelectorFromTreeScope(
const TreeScope* tree_scope) { … }
FontSelector* FontBuilder::ComputeFontSelector(
const ComputedStyleBuilder& builder) { … }
void FontBuilder::CreateFont(ComputedStyleBuilder& builder,
const ComputedStyle* parent_style) { … }
void FontBuilder::CreateInitialFont(ComputedStyleBuilder& builder) { … }
}