New methods to set and use a font.

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@9927 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Fred Kiefer 2001-05-12 12:36:20 +00:00
parent 89e1bf0de7
commit 3e34f4a97b
2 changed files with 18 additions and 1 deletions

View file

@ -1104,6 +1104,21 @@ NSGraphicsContext *GSCurrentContext()
[self subclassResponsibility: _cmd];
}
- (void) setFont: (NSFont*) font
{
[self subclassResponsibility: _cmd];
}
- (void) useFont: (NSString*) name
{
/*
* Do nothing here, printing subclasses will have to register all
* the fonts used by the current print operation to be able to
* dump the %%DocumentFonts comment required by the Adobe Document
* Structuring Convention (see the red book).
*/
}
/* ----------------------------------------------------------------------- */
/* Gstate operations */
/* ----------------------------------------------------------------------- */