mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-04-24 18:31:20 +00:00
* Source/GSLayoutManager.m: Don't try to get the advancement for NSControlGlyph.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@40166 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
491707067f
commit
99929f0781
2 changed files with 13 additions and 1 deletions
|
@ -1,3 +1,8 @@
|
|||
2016-10-22 Fred Kiefer <FredKiefer@gmx.de>
|
||||
|
||||
* Source/GSLayoutManager.m: Don't try to get the advancement for
|
||||
NSControlGlyph.
|
||||
|
||||
2016-10-08 Fred Kiefer <FredKiefer@gmx.de>
|
||||
|
||||
* Headers/AppKit/NSOutlineView.h
|
||||
|
|
|
@ -3259,7 +3259,14 @@ forStartingGlyphAtIndex: (NSUInteger)glyph
|
|||
|
||||
for (i=0; i<length; i++)
|
||||
{
|
||||
advances[i] = [run->font advancementForGlyph: glyph_list[i]];
|
||||
if (glyph_list[i] != NSControlGlyph)
|
||||
{
|
||||
advances[i] = [run->font advancementForGlyph: glyph_list[i]];
|
||||
}
|
||||
else
|
||||
{
|
||||
advances[i] = NSZeroSize;
|
||||
}
|
||||
}
|
||||
|
||||
[self insertGlyphs: glyph_list
|
||||
|
|
Loading…
Reference in a new issue