chromium/third_party/blink/renderer/platform/text/character_variation_sequences.cc

// Copyright 2024 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#include <unicode/uvernum.h>

#include "third_party/blink/renderer/platform/text/character.h"
#include "third_party/blink/renderer/platform/wtf/text/unicode.h"

namespace blink {

// Codepoints pair from unicode standardized variation sequences spec, compare:
// https://www.unicode.org/Public/UNIDATA/StandardizedVariants.txt
static const char kStandardizedVariationSequences[] =;

bool Character::IsStandardizedVariationSequence(UChar32 ch, UChar32 vs) {}

bool Character::IsEmojiVariationSequence(UChar32 ch, UChar32 vs) {}

// From UTS #37 (https://unicode.org/reports/tr37/): An Ideographic Variation
// Sequence (IVS) is a sequence of two coded characters, the first being a
// character with the Ideographic property that is not canonically nor
// compatibly decomposable, the second being a variation selector character in
// the range U+E0100 to U+E01EF.
bool Character::IsIdeographicVariationSequence(UChar32 ch, UChar32 vs) {}

bool Character::IsVariationSequence(UChar32 ch, UChar32 vs) {}

}  // namespace blink