summaryrefslogtreecommitdiff
path: root/x11-toolkits
diff options
context:
space:
mode:
authorDirk Meyer <dinoex@FreeBSD.org>2003-06-03 03:38:07 +0000
committerDirk Meyer <dinoex@FreeBSD.org>2003-06-03 03:38:07 +0000
commite33fa8a0f97d87090958d222255de1884e1d183e (patch)
treea616d199cafe284973574a3df6c6b12ab60371d1 /x11-toolkits
parentNew port irit version 8.0: Solid modelling system (diff)
- Update for Option WITH_GNUSTEP_LIBART
Notes
Notes: svn path=/head/; revision=82129
Diffstat (limited to 'x11-toolkits')
-rw-r--r--x11-toolkits/gnustep-back/files/patch-ftfont.m122
-rw-r--r--x11-toolkits/gnustep-back/pkg-plist2
2 files changed, 114 insertions, 10 deletions
diff --git a/x11-toolkits/gnustep-back/files/patch-ftfont.m b/x11-toolkits/gnustep-back/files/patch-ftfont.m
index 53ec254c8d8a..4af6073ac1a3 100644
--- a/x11-toolkits/gnustep-back/files/patch-ftfont.m
+++ b/x11-toolkits/gnustep-back/files/patch-ftfont.m
@@ -1,5 +1,5 @@
---- Source/art/ftfont.m.orig Mon Feb 10 18:46:06 2003
-+++ Source/art/ftfont.m Sun Mar 30 22:06:30 2003
+--- Source/art/ftfont.m.orig Sun May 11 19:23:43 2003
++++ Source/art/ftfont.m Tue Jun 3 05:25:16 2003
@@ -79,9 +79,9 @@
@interface FTFontInfo : GSFontInfo <FTFontInfo>
{
@@ -12,7 +12,7 @@
FTFaceInfo *face_info;
-@@ -743,7 +743,7 @@
+@@ -748,7 +748,7 @@
int use_sbit;
FTC_SBit sbit;
@@ -21,7 +21,37 @@
FT_Matrix ftmatrix;
FT_Vector ftdelta;
-@@ -1135,7 +1135,7 @@
+@@ -800,23 +800,23 @@
+ int rh = face_info->render_hints_hack;
+ if (rh & 0x10000)
+ {
+- cur.type = ftc_image_grays;
++ cur.image_type = ftc_image_grays;
+ rh = (rh >> 8) & 0xff;
+ }
+ else
+ {
+- cur.type = ftc_image_mono;
++ cur.image_type = ftc_image_mono;
+ rh = rh & 0xff;
+ }
+ if (rh & 1)
+- cur.type |= ftc_image_flag_autohinted;
++ cur.image_type |= ftc_image_flag_autohinted;
+ if (!(rh & 2))
+- cur.type |= ftc_image_flag_unhinted;
++ cur.image_type |= ftc_image_flag_unhinted;
+ }
+ else if (xx < 8)
+- cur.type = ftc_image_grays | ftc_image_flag_unhinted;
++ cur.image_type = ftc_image_grays | ftc_image_flag_unhinted;
+ else
+- cur.type = ftc_image_grays;
++ cur.image_type = ftc_image_grays;
+ }
+ else
+ {
+@@ -1163,7 +1163,7 @@
int use_sbit;
FTC_SBit sbit;
@@ -30,7 +60,37 @@
FT_Matrix ftmatrix;
FT_Vector ftdelta;
-@@ -1466,7 +1466,7 @@
+@@ -1215,23 +1215,23 @@
+ int rh = face_info->render_hints_hack;
+ if (rh & 0x10000)
+ {
+- cur.type = ftc_image_grays;
++ cur.image_type = ftc_image_grays;
+ rh = (rh >> 8) & 0xff;
+ }
+ else
+ {
+- cur.type = ftc_image_mono;
++ cur.image_type = ftc_image_mono;
+ rh = rh & 0xff;
+ }
+ if (rh & 1)
+- cur.type |= ftc_image_flag_autohinted;
++ cur.image_type |= ftc_image_flag_autohinted;
+ if (!(rh & 2))
+- cur.type |= ftc_image_flag_unhinted;
++ cur.image_type |= ftc_image_flag_unhinted;
+ }
+ else if (xx < 8)
+- cur.type = ftc_image_grays | ftc_image_flag_unhinted;
++ cur.image_type = ftc_image_grays | ftc_image_flag_unhinted;
+ else
+- cur.type = ftc_image_grays;
++ cur.image_type = ftc_image_grays;
+ }
+ else
+ {
+@@ -1521,7 +1521,7 @@
/* TODO: try to more efficiently? */
/* TODO: set up all this stuff in -init... for the raw metric case */
float xx, yy;
@@ -39,7 +99,37 @@
FTC_SBit sbit;
cur = imgd;
-@@ -1547,7 +1547,7 @@
+@@ -1534,23 +1534,23 @@
+ int rh = face_info->render_hints_hack;
+ if (rh & 0x10000)
+ {
+- cur.type = ftc_image_grays;
++ cur.image_type = ftc_image_grays;
+ rh = (rh >> 8) & 0xff;
+ }
+ else
+ {
+- cur.type = ftc_image_mono;
++ cur.image_type = ftc_image_mono;
+ rh = rh & 0xff;
+ }
+ if (rh & 1)
+- cur.type |= ftc_image_flag_autohinted;
++ cur.image_type |= ftc_image_flag_autohinted;
+ if (!(rh & 2))
+- cur.type |= ftc_image_flag_unhinted;
++ cur.image_type |= ftc_image_flag_unhinted;
+ }
+ else if (xx < 8)
+- cur.type = ftc_image_grays | ftc_image_flag_unhinted;
++ cur.image_type = ftc_image_grays | ftc_image_flag_unhinted;
+ else
+- cur.type = ftc_image_grays;
++ cur.image_type = ftc_image_grays;
+
+ if ((error=FTC_SBitCache_Lookup(ftc_sbitcache, &cur, glyph, &sbit, NULL)))
+ {
+@@ -1605,7 +1605,7 @@
- (NSRect) boundingRectForGlyph: (NSGlyph)glyph
{
@@ -47,8 +137,8 @@
+ FTC_Image_Desc *cur;
FT_BBox bbox;
FT_Glyph g;
-
-@@ -1618,7 +1618,7 @@
+ FT_Error error;
+@@ -1682,7 +1682,7 @@
FTC_SBit sbit;
@@ -57,7 +147,7 @@
cmap.face_id = imgd.font.face_id;
-@@ -1831,7 +1831,7 @@
+@@ -1895,7 +1895,7 @@
unichar *uch;
int ulen;
@@ -66,7 +156,7 @@
FT_Matrix ftmatrix;
-@@ -2003,7 +2003,7 @@
+@@ -2065,7 +2065,7 @@
int use_sbit;
FTC_SBit sbit;
@@ -75,3 +165,15 @@
FT_Matrix ftmatrix;
FT_Vector ftdelta;
+@@ -2111,9 +2111,9 @@
+
+ /* if (cur.font.pix_width < 16 && cur.font.pix_height < 16 &&
+ cur.font.pix_width > 6 && cur.font.pix_height > 6)
+- cur.type = ftc_image_mono;
++ cur.image_type = ftc_image_mono;
+ else*/
+- cur.type = ftc_image_grays, subpixel = YES, cur.font.pix_width *= 3, x *= 3;
++ cur.image_type = ftc_image_grays, subpixel = YES, cur.font.pix_width *= 3, x *= 3;
+ // imgd.type|=|ftc_image_flag_unhinted; /* TODO? when? */
+ }
+ else
diff --git a/x11-toolkits/gnustep-back/pkg-plist b/x11-toolkits/gnustep-back/pkg-plist
index 6b3c48805839..555e6b3a3afb 100644
--- a/x11-toolkits/gnustep-back/pkg-plist
+++ b/x11-toolkits/gnustep-back/pkg-plist
@@ -7,6 +7,7 @@ System/Library/Bundles/libgnustep-%%BACK%%.bundle/stamp.make
%%SYSTEMLIBRARY%%/Headers/gnustep/gsc/gscolors.h
%%SYSTEMLIBRARY%%/Headers/gnustep/x11/XGServer.h
%%SYSTEMLIBRARY%%/Headers/gnustep/x11/XGServerWindow.h
+%%USE_ART%%%%SYSTEMLIBRARY%%/Headers/gnustep/art/ARTContext.h
%%USE_XDPS%%%%SYSTEMLIBRARY%%/Headers/gnustep/xdps/NSDPSContext.h
%%USE_XLIB%%%%SYSTEMLIBRARY%%/Headers/gnustep/xlib/XGContext.h
%%USE_XLIB%%%%SYSTEMLIBRARY%%/Headers/gnustep/xlib/XGGState.h
@@ -15,6 +16,7 @@ System/Library/Bundles/libgnustep-%%BACK%%.bundle/stamp.make
%%USE_XLIB%%System/Tools/%%GNU_ARCH%%/%%OPSYS%%/gnu-gnu-gnu/font_cacher
System/Tools/%%GNU_ARCH%%/%%OPSYS%%/gnu-gnu-gnu/gpbs
@dirrm %%SYSTEMLIBRARY%%/Headers/gnustep/x11
+%%USE_ART%%@dirrm %%SYSTEMLIBRARY%%/Headers/gnustep/art
%%USE_XDPS%%@dirrm %%SYSTEMLIBRARY%%/Headers/gnustep/xdps
%%USE_XLIB%%@dirrm %%SYSTEMLIBRARY%%/Headers/gnustep/xlib
@dirrm %%SYSTEMLIBRARY%%/Headers/gnustep/gsc