mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-05-21 00:50:57 +00:00
NSLayoutManager: advancementbuf[0] was not being filled. Most backends, including cairo, ignore advancements, so the bug was not immediately apparent until opal backend started using the advancements.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@37100 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
61f497d174
commit
42f7c46547
2 changed files with 8 additions and 0 deletions
|
@ -1851,6 +1851,7 @@ attachmentSize(linefrag_t *lf, NSUInteger glyphIndex)
|
|||
if (!gbuf_len)
|
||||
{
|
||||
gbuf[0] = glyph->g;
|
||||
advancementbuf[0] = [f advancementForGlyph: glyph->g];
|
||||
gbuf_point = p;
|
||||
gbuf_len = 1;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue