mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-06-01 21:11:56 +00:00
* NSStringDrawing: fixed incorrect string drawing (shortened, misplaced)
in ART backend. It seems that third parameter to `cache_lookup` function (useScreenFonts) is valuable for ART but not for Cairo backend.
This commit is contained in:
parent
e1594a3105
commit
01ccd98752
2 changed files with 8 additions and 2 deletions
|
@ -1,3 +1,9 @@
|
||||||
|
2019-12-09 Sergii Stoian <stoyan255@gmail.com>
|
||||||
|
|
||||||
|
* Source/NSStringDrawing.m: fixed incorrect string drawing (shortened, misplaced)
|
||||||
|
in ART backend. It seems that third parameter to `cache_lookup` function
|
||||||
|
(BOOL useScreenFonts) is valuable for ART but not for Cairo backend.
|
||||||
|
|
||||||
2019-12-07 Fred Kiefer <FredKiefer@gmx.de>
|
2019-12-07 Fred Kiefer <FredKiefer@gmx.de>
|
||||||
|
|
||||||
* .travis.yml
|
* .travis.yml
|
||||||
|
|
|
@ -510,7 +510,7 @@ static void draw_in_rect(cache_t *c, NSRect rect)
|
||||||
NS_DURING
|
NS_DURING
|
||||||
{
|
{
|
||||||
prepare_attributed_string(self);
|
prepare_attributed_string(self);
|
||||||
c = cache_lookup(hasSize, size, NO);
|
c = cache_lookup(hasSize, size, YES);
|
||||||
result = c->usedRect;
|
result = c->usedRect;
|
||||||
}
|
}
|
||||||
NS_HANDLER
|
NS_HANDLER
|
||||||
|
@ -603,7 +603,7 @@ static void draw_in_rect(cache_t *c, NSRect rect)
|
||||||
NS_DURING
|
NS_DURING
|
||||||
{
|
{
|
||||||
prepare_string(self, attrs);
|
prepare_string(self, attrs);
|
||||||
c = cache_lookup(hasSize, size, NO);
|
c = cache_lookup(hasSize, size, YES);
|
||||||
result = c->usedRect;
|
result = c->usedRect;
|
||||||
}
|
}
|
||||||
NS_HANDLER
|
NS_HANDLER
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue