New issue
Advanced search Search tips

Issue 589335 link

Starred by 1 user

Issue metadata

Status: Fixed
Closed: Jun 2016
EstimatedDays: ----
NextAction: ----
OS: All
Pri: 2
Type: Bug

Sign in to add a comment

Small-caps styled elements truncated when text contains ß

Project Member Reported by, Feb 24 2016

Issue description

<span style="font-variant: small-caps;">ßa</span>

Renders as "SS", the a is truncated. This is because we do not account for a potentially larger string length in addToHarfBuzzBufferInternal.

This will be addressed by the font-variant-caps implementation, see  issue 587094 , which has to touch and update this code anyway.

Project Member

Comment 1 by, Jun 29 2016

The following revision refers to this bug:

commit de2db20f1ddb41f0c8de88ab9d376cbf40769a0c
Author: drott <>
Date: Wed Jun 29 12:01:05 2016

Fix case mapping buffer length divergence for synthetic caps

And provide locale to case WTF::String's upper implementation, which is
based on ICU transliterators. This fix handles all cases of Unicode's
SpecialCasing.txt case mapping rules list where the base character is
extended to two or more characters after case mapping, except those
cases where context is required. The latter case is tracked in  and depends on ICU streaming uppercase API support.

Fix by adding multiple characters after case mapping to the same
HarfBuzz cluster index, which is nicely compatible with our previous
approaches for shaping result extraction, text selection, etc.

BUG= 589335 , 605067 

Cr-Commit-Position: refs/heads/master@{#402782}


Comment 2 by, Jun 29 2016

Status: Fixed (was: Assigned)
Project Member

Comment 3 by, Jun 29 2016

The following revision refers to this bug:

commit 255978b9f438b6e14982bf2beddae09c51e0ab07
Author: Rebaseline Bot <>
Date: Wed Jun 29 13:24:49 2016

Auto-rebaseline for r402782

BUG= 589335

Review URL: .

Cr-Commit-Position: refs/heads/master@{#402789}


Sign in to add a comment