Adam Fedor
7afdd32ac1
Revert library license version to 2 until applications can be converted
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@26619 72102866-910b-0410-8b05-ffd578937521
2008-06-10 04:01:49 +00:00
Fred Kiefer
e87446b5cb
Implement basic appendBezierPathWithPackedGlyphs: handling to forward to
...
the backend.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@26435 72102866-910b-0410-8b05-ffd578937521
2008-04-07 13:45:41 +00:00
Fred Kiefer
14176f6a78
New NSFont method for glyph generation.
...
Ligature and decompose handling in gsLayoutManager, moved here from the
art backend.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@26430 72102866-910b-0410-8b05-ffd578937521
2008-04-04 22:01:44 +00:00
Fred Kiefer
785ae61495
Add fallback for missing standard fonts (LucidaGrande).
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@26054 72102866-910b-0410-8b05-ffd578937521
2008-02-11 23:12:37 +00:00
Fred Kiefer
87e0d03c60
Add missing retain in keyed decoding case.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@25804 72102866-910b-0410-8b05-ffd578937521
2007-12-30 15:03:06 +00:00
Richard Frith-MacDonald
03a4a96a40
Update includes ... closer MacOS-X compatibility.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@25635 72102866-910b-0410-8b05-ffd578937521
2007-11-29 20:28:03 +00:00
Fred Kiefer
440d7532e2
Add fallback for missing standard fonts.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@25555 72102866-910b-0410-8b05-ffd578937521
2007-11-05 12:02:05 +00:00
Fred Kiefer
193e31e678
Change all files to use GPL 3 and LGPL 3.
...
Prepare for next release.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@25536 72102866-910b-0410-8b05-ffd578937521
2007-10-29 21:16:17 +00:00
Fred Kiefer
1778c7aef1
Clean up for font descriptor and missing MacOSX 10.4 methods for NSFont.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@25383 72102866-910b-0410-8b05-ffd578937521
2007-08-08 11:05:19 +00:00
Richard Frith-MacDonald
581bae3a8d
Fix error in last change
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@25180 72102866-910b-0410-8b05-ffd578937521
2007-05-17 05:26:09 +00:00
Richard Frith-MacDonald
d1ca91a7fa
Tidyups
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@25176 72102866-910b-0410-8b05-ffd578937521
2007-05-16 16:40:57 +00:00
Riccardo Mottola
63a7dfcef5
added NSFontDescriptor, implementation and related methods
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@25174 72102866-910b-0410-8b05-ffd578937521
2007-05-16 15:50:08 +00:00
Richard Frith-MacDonald
5dcabf4505
Add stubs for more font info.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@24443 72102866-910b-0410-8b05-ffd578937521
2007-01-31 14:36:42 +00:00
Gregory John Casamento
a2cc8db82d
* Source/NSFont.m: Apply slightly modified version of patch
...
from Jeff Teunissen deek@d2dc.net to setNSFont(). Setting
a font should set its size.
* Source/NSImage.m: Set the alpha on the background when printing.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@23894 72102866-910b-0410-8b05-ffd578937521
2006-10-17 01:00:47 +00:00
Gregory John Casamento
da7ae90539
* Source/GSNibLoader.m: loadModelData:... Remove TEST_RELEASE
...
from handler block.
* Source/NSColor.m: initWithCoder: retain autoreleased instances
of NSColor to prevent double release when the pool is cleared.
* Source/NSControl.m: initWithCoder: retain cell to prevent
double release when the pool is cleared.
* Source/NSFont.m: initWithCoder: retain autoreleased instances
of NSFont to prevent double release when the pool is cleared.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@23340 72102866-910b-0410-8b05-ffd578937521
2006-08-27 02:35:03 +00:00
Gregory John Casamento
78bbf9e972
Implement encoding for these objects and correct issue with font size encoding. It was encoded/decoded as an int when it should have been a float.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@23226 72102866-910b-0410-8b05-ffd578937521
2006-08-09 05:48:54 +00:00
Fabien Vallon
a88ec9bfa9
Improved documentation
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@22095 72102866-910b-0410-8b05-ffd578937521
2005-11-24 13:34:37 +00:00
Adrian Robert
1345d7506d
filled in various gsdoc
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@21287 72102866-910b-0410-8b05-ffd578937521
2005-06-06 04:05:05 +00:00
Adam Fedor
303dd1baf9
Update FSF Address.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@21259 72102866-910b-0410-8b05-ffd578937521
2005-05-26 02:52:46 +00:00
Adrian Robert
159eed5a6c
NSFont cache font for drawing in flipped views in manner analogous to cache of nonflipped screen font for drawing in regular views
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@21170 72102866-910b-0410-8b05-ffd578937521
2005-04-30 16:11:22 +00:00
Fred Kiefer
8524adaabf
Added keyed encoding for NSFont and NSColor.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@21078 72102866-910b-0410-8b05-ffd578937521
2005-04-09 12:01:32 +00:00
Fred Kiefer
7133a6a263
Added new methods to NSFont and moved NSControlSize into NSColor header.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@20868 72102866-910b-0410-8b05-ffd578937521
2005-03-07 13:25:29 +00:00
Adrian Robert
51256bbe12
NSBestDepth() checks outarg non-null (Functions.m); getNSFont() treats negative fontSize arg as 0 (NSFont.m); documented
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@20231 72102866-910b-0410-8b05-ffd578937521
2004-10-17 18:52:48 +00:00
Alexander Malmberg
6b59a4f9c8
Add cachedScreenFont ivar and use it. Use more efficient keys in the globalFontMap.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@18575 72102866-910b-0410-8b05-ffd578937521
2004-02-10 20:52:11 +00:00
Fred Kiefer
afabdddd55
Added keyed decoding.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@18530 72102866-910b-0410-8b05-ffd578937521
2004-02-02 21:40:00 +00:00
Fred Kiefer
df3b584a19
Added keyed decoding.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@18510 72102866-910b-0410-8b05-ffd578937521
2004-01-30 19:49:00 +00:00
Alexander Malmberg
c4788b1aa9
(getNSFont): Set the explicit-size bit in the role correctly.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@17631 72102866-910b-0410-8b05-ffd578937521
2003-09-06 20:54:34 +00:00
Alexander Malmberg
4cb2493b3c
Add new methods for getting the default defaults for fonts.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@17467 72102866-910b-0410-8b05-ffd578937521
2003-08-10 21:30:49 +00:00
David Ayers
b18f1c4ac4
Header reorganization - Please refer to ChangeLog
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@17408 72102866-910b-0410-8b05-ffd578937521
2003-07-31 23:52:10 +00:00
Richard Frith-Macdonald
daf5efadae
More documentation tidyups
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@17302 72102866-910b-0410-8b05-ffd578937521
2003-07-22 16:52:17 +00:00
Alexander Malmberg
ad33f29026
(getNSFont): Retain/autorelease when returning a cached instance.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@17135 72102866-910b-0410-8b05-ffd578937521
2003-07-05 15:23:54 +00:00
Alexander Malmberg
a8236e46af
(-initWithCoder:): Make sure the returned font has a correct retain count on all paths.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@17131 72102866-910b-0410-8b05-ffd578937521
2003-07-05 14:08:43 +00:00
Alexander Malmberg
82c83b3237
(getNSFont): Only update the cache when the font has the default size.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@17090 72102866-910b-0410-8b05-ffd578937521
2003-07-02 23:44:48 +00:00
Alexander Malmberg
d4fff8ae12
Rewrite handling of standard fonts to provide better behavior.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@17089 72102866-910b-0410-8b05-ffd578937521
2003-07-02 15:46:32 +00:00
Adam Fedor
8309f24bee
Use NSFont not isa to call class methods.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16978 72102866-910b-0410-8b05-ffd578937521
2003-06-21 03:21:33 +00:00
Adam Fedor
6be9174933
Include <> -> ""
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16917 72102866-910b-0410-8b05-ffd578937521
2003-06-13 15:01:12 +00:00
Alexander Malmberg
02ef01adc7
Remove debugging printf:s.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16900 72102866-910b-0410-8b05-ffd578937521
2003-06-10 10:43:26 +00:00
Gregory John Casamento
d10d57c53e
Committing Alex's font changes as well as my font panel changes and some
...
work I did on NSDataLink a while back (a few months ago).
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16898 72102866-910b-0410-8b05-ffd578937521
2003-06-10 01:26:56 +00:00
Fred Kiefer
1ef9efe907
Preliminary implemetation for NSConvertGlyphsToPackedGlyphs().
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16616 72102866-910b-0410-8b05-ffd578937521
2003-05-02 19:01:07 +00:00
Alexander Malmberg
c0587cf573
Release all memory if the fontInfo can't be created.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16386 72102866-910b-0410-8b05-ffd578937521
2003-04-07 11:07:57 +00:00
Adam Fedor
23049dde9e
Merge from 0.8.5 branch
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16250 72102866-910b-0410-8b05-ffd578937521
2003-03-24 18:15:56 +00:00
Alexander Malmberg
9407b0bfca
Merge in text-system-branch.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@15718 72102866-910b-0410-8b05-ffd578937521
2003-01-26 19:21:40 +00:00
Nicola Pero
0de6fb2b19
Return a nil font if such a font can't be found; try to find an appropriate
...
font when loading a default font.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@14711 72102866-910b-0410-8b05-ffd578937521
2002-10-10 23:27:51 +00:00
Adam Fedor
1323d17420
Add Quartz-like interface. Fix focus problems.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@14678 72102866-910b-0410-8b05-ffd578937521
2002-10-09 02:47:40 +00:00
Richard Frith-Macdonald
c8e91f6dc2
Fix stupid error in last mod.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@14591 72102866-910b-0410-8b05-ffd578937521
2002-09-27 13:37:29 +00:00
Richard Frith-Macdonald
7d660d52df
Font caching rewrite
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@14590 72102866-910b-0410-8b05-ffd578937521
2002-09-27 12:25:02 +00:00
Richard Frith-Macdonald
f73feaf4e9
Fix error in caching.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@14589 72102866-910b-0410-8b05-ffd578937521
2002-09-27 09:05:02 +00:00
Richard Frith-Macdonald
a5b46e92b7
Fix caching.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@14588 72102866-910b-0410-8b05-ffd578937521
2002-09-27 08:52:04 +00:00
Richard Frith-Macdonald
b566120f38
Minor tidyups ... nothing functional
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@14587 72102866-910b-0410-8b05-ffd578937521
2002-09-27 08:26:13 +00:00
Pierre-Yves Rivaille
f9bdd044b1
* Source/NSSplitView.m ([NSSplitView -initWithCoder:]):
...
set _never_displayed_before to YES.
* Source/NSFont.m: rearrange the last change to make
it look like other classes' initWithCoder/encodeWithCoder
* Source/NSTextView.m: do not call _blink directly
(suggested by Nicola Pero).
* Source/NSButtonCell.m
([NSButtonCell -drawInteriorWithFrame:inView:]):
if the button is NSImageOnly, draw the dotted frame at
the right location.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@14483 72102866-910b-0410-8b05-ffd578937521
2002-09-18 18:00:30 +00:00