summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'gnustep-apps/graphos/files/graphos-0.2-remove_psDescription.patch')
-rw-r--r--gnustep-apps/graphos/files/graphos-0.2-remove_psDescription.patch38
1 files changed, 38 insertions, 0 deletions
diff --git a/gnustep-apps/graphos/files/graphos-0.2-remove_psDescription.patch b/gnustep-apps/graphos/files/graphos-0.2-remove_psDescription.patch
new file mode 100644
index 000000000000..21eddd32aa4f
--- /dev/null
+++ b/gnustep-apps/graphos/files/graphos-0.2-remove_psDescription.patch
@@ -0,0 +1,38 @@
+--- GRText.m 2010/12/07 08:43:36 1.27
++++ GRText.m 2011/04/06 09:56:16 1.28
+@@ -2,7 +2,7 @@
+ Project: Graphos
+ GRText.m
+
+- Copyright (C) 2000-2010 GNUstep Application Project
++ Copyright (C) 2000-2011 GNUstep Application Project
+
+ Author: Enrico Sersale (original GDraw implementation)
+ Author: Ing. Riccardo Mottola
+@@ -238,26 +238,6 @@
+ return dict;
+ }
+
+-- (NSString *)psDescription
+-{
+- NSString *pss;
+-
+- if(!visible)
+- return nil;
+-
+- pss = [NSString stringWithFormat:
+- @"\n/%@ %.3f sf\nn\n%.3f %.3f m\n(%@)show\n",
+- [font fontName], fsize, pos.x, pos.y, str];
+- if(stroked)
+- pss = [pss stringByAppendingFormat: @"%.3f %.3f %.3f %.3f k\nstroke\n",
+- strokeColor[0], strokeColor[1], strokeColor[2], strokeColor[3]];
+- if(filled)
+- pss = [pss stringByAppendingFormat: @"%.3f %.3f %.3f %.3f k\nfill\n",
+- fillColor[0], fillColor[1], fillColor[2], fillColor[3]];
+-
+- return pss;
+-}
+-
+ - (NSString *)fontName
+ {
+ return [font fontName];