Remove stale comment
Ugliness was fixed in 30eab97a00
But yeah, my smell detector was working. Ugliness was buggy.
This commit is contained in:
parent
e7400c0275
commit
7f5941e162
|
@ -222,7 +222,6 @@ handle_variation_selector_cluster (const hb_ot_shape_normalize_context_t *c,
|
||||||
hb_font_t * const font = c->font;
|
hb_font_t * const font = c->font;
|
||||||
for (; buffer->idx < end - 1 && buffer->successful;) {
|
for (; buffer->idx < end - 1 && buffer->successful;) {
|
||||||
if (unlikely (buffer->unicode->is_variation_selector (buffer->cur(+1).codepoint))) {
|
if (unlikely (buffer->unicode->is_variation_selector (buffer->cur(+1).codepoint))) {
|
||||||
/* The next two lines are some ugly lines... But work. */
|
|
||||||
if (font->get_variation_glyph (buffer->cur().codepoint, buffer->cur(+1).codepoint, &buffer->cur().glyph_index()))
|
if (font->get_variation_glyph (buffer->cur().codepoint, buffer->cur(+1).codepoint, &buffer->cur().glyph_index()))
|
||||||
{
|
{
|
||||||
hb_codepoint_t unicode = buffer->cur().codepoint;
|
hb_codepoint_t unicode = buffer->cur().codepoint;
|
||||||
|
|
Loading…
Reference in New Issue