mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-05-29 20:47:38 +00:00
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:
parent
89e1bf0de7
commit
3e34f4a97b
2 changed files with 18 additions and 1 deletions
|
@ -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 */
|
||||
/* ----------------------------------------------------------------------- */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue