snowie2000/mactype

ClipBox problem with combining characters

Open

#282 opened on May 27, 2017

View on GitHub
 (33 comments) (0 reactions) (1 assignee)C++ (446 forks)batch import
bugfuture versionhelp wanted

Repository metrics

Stars
 (9,178 stars)
PR merge metrics
 (No merged PRs in 30d)

Description

The character is clipped if it is decorated by a combining character. Here is an example with IPA diacritics in Firefox (font: Segoe UI, backend: cairo):

example

Tried ClipBoxFix = 1, it doesn't work. I think this is caused by the combining character. Since its clipbox is smaller than the decorated character's, part of the decorated character is clipped.

Contributor guide