add comment
This commit is contained in:
parent
4af4adb3e2
commit
1d84d62c12
1 changed files with 2 additions and 0 deletions
|
@ -915,6 +915,8 @@ class Font {
|
||||||
bufferGlyph.start = static_cast <int32_t>(bufferCurves.size());
|
bufferGlyph.start = static_cast <int32_t>(bufferCurves.size());
|
||||||
|
|
||||||
bool autoFixOutline = true;
|
bool autoFixOutline = true;
|
||||||
|
// NOTE: this is a hack that should not be necessary if we use harfbuzz for textshaping
|
||||||
|
// and interpret font flags properly (we're attempting this, but it's not stable atm)
|
||||||
if(autoFixOutline){
|
if(autoFixOutline){
|
||||||
short start = 0;
|
short start = 0;
|
||||||
int n_contours = face->glyph->outline.n_contours;
|
int n_contours = face->glyph->outline.n_contours;
|
||||||
|
|
Loading…
Reference in a new issue