mirror of
https://github.com/gnustep/libs-back.git
synced 2025-05-30 08:51:03 +00:00
Aloow simple PS context to work.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@24728 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
55a530dfc0
commit
a9e7da9d4a
2 changed files with 6 additions and 2 deletions
|
@ -59,10 +59,9 @@
|
|||
{
|
||||
NSString *contextType;
|
||||
|
||||
[super initWithContextInfo:info];
|
||||
|
||||
contextType = [info objectForKey:
|
||||
NSGraphicsContextRepresentationFormatAttributeName];
|
||||
self = [super initWithContextInfo: info];
|
||||
if (contextType)
|
||||
{
|
||||
/* Most likely this is a PS or PDF context, so just return what
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue