Lines Matching defs:width
768 // GNOME Terminal) and Konsole don't consider them to be zero-width (see refs
774 // consonants are 0-width when combined with initial consonants; otherwise they
776 // VTE/GLib-based) implement all medials and finals as 0-width.
778 // Refs: https://eev.ee/blog/2015/09/12/dark-corners-of-unicode/#combining-characters-and-character-width
784 // codepoint as being full width, wide, ambiguous, neutral, narrow,
810 if (codepoint != 0x00AD && // SOFT HYPHEN is Cf but not zero-width
819 // Returns the column width for the given String.
835 uint32_t width = 0;
845 // individual emoji separately. When this happens, the width
852 n > 0 && p == 0x200d && // 0x200d == ZWJ (zero width joiner)
857 width += GetColumnWidth(c, ambiguous_as_full_width);
859 args.GetReturnValue().Set(width);