зеркало из https://github.com/mozilla/moz-skia.git
[PDF] Fix index calculation for Type1 advance retrieval.
This should fix http://crbug.com/154590 Review URL: https://codereview.appspot.com/6736064 git-svn-id: http://skia.googlecode.com/svn/trunk@6034 2bbb7eff-a529-9590-31e7-b0007b416f81
This commit is contained in:
Родитель
59bb919451
Коммит
ce8a195111
|
@ -588,7 +588,7 @@ SkAdvancedTypefaceMetrics* SkFontHost::GetAdvancedTypefaceMetrics(
|
|||
getAdvances(face, gID, advanceCount, FT_LOAD_NO_SCALE,
|
||||
advances);
|
||||
for (int i = 0; i < advanceCount; i++) {
|
||||
int16_t advance = advances[gID + i];
|
||||
int16_t advance = advances[i];
|
||||
info->fGlyphWidths->fAdvance.append(1, &advance);
|
||||
}
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче