mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-05-31 12:30:47 +00:00
* Source/GSHorizontalTypesetter.m (-layoutLineNewParagraph:):
Only adjust max_line_height to minimumLineHeight if it isn't zero. git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@37296 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
09ac2ff97f
commit
43b35bea00
2 changed files with 6 additions and 1 deletions
|
@ -1,3 +1,8 @@
|
||||||
|
2013-10-27 Fred Kiefer <FredKiefer@gmx.de>
|
||||||
|
|
||||||
|
* Source/GSHorizontalTypesetter.m (-layoutLineNewParagraph:): Only
|
||||||
|
adjust max_line_height to minimumLineHeight if it isn't zero.
|
||||||
|
|
||||||
2013-10-26 Fred Kiefer <FredKiefer@gmx.de>
|
2013-10-26 Fred Kiefer <FredKiefer@gmx.de>
|
||||||
|
|
||||||
* Source/NSTextView.m (-mouseDown:): Use container origin for
|
* Source/NSTextView.m (-mouseDown:): Use container origin for
|
||||||
|
|
|
@ -607,7 +607,7 @@ Return values 0, 1, 2 are mostly the same as from
|
||||||
max_line_height = [curParagraphStyle maximumLineHeight];
|
max_line_height = [curParagraphStyle maximumLineHeight];
|
||||||
|
|
||||||
/* sanity */
|
/* sanity */
|
||||||
if (max_line_height < min)
|
if (max_line_height > 0 && max_line_height < min)
|
||||||
max_line_height = min;
|
max_line_height = min;
|
||||||
|
|
||||||
line_height = [cache->font defaultLineHeightForFont];
|
line_height = [cache->font defaultLineHeightForFont];
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue