Well, thanks for the thoughts ! I did some progress, but the situation is still tricky
On Thu, 19 Jun 2003 09:07:05 -0600, Adam Fedor wrote�: > Did you see any errors when the font cache was being made? Perhaps you > can remove the :0.0 file and try running it on it's own: > > font_cacher This I already tested, unsuccessfully. I got no error during the construction of the cache. > > Also see the FAQ entry for this and see if any of that might apply to > you: > > http://www.gnustep.org/information/userfaq_1.html#SEC30 I decided to follow the FAQ by using the art backend. I did a first attempt to do a configure --enable-graphics=art && make which failed because of some changes in libfreetype2 (I use version 2.1.3). I googled a little and learned that FTC_ImageDesc has been replaced by FTC_ImageTypeRec. I had to modify gnustep-back-0.8.6/Source/art/ftfont.m as a consequence ; you'll find a diff at the end of this message. Then I succeeded in compiling gnustep-back for the use of the art backend, removed the font cache once again and ran font_cacher. Now, when i launch my sample NSApplication, i get a *black* window (vs white before), still containing nothing but a grey button. The progress is in the fact that there's now 'OK' written in light grey (hardly unreadable) in the button... So any additional help would be nice ! Thanks in advance, Nicolas --------8<-----------8<--------------- ftfont.m.diff 82c82 < FTC_ImageDesc imgd; --- > FTC_ImageTypeRec imgd; 84c84 < FTC_ImageDesc fallback; --- > FTC_ImageTypeRec fallback; 751c751 < FTC_ImageDesc cur; --- > FTC_ImageTypeRec cur; 803c803 < cur.type = ftc_image_grays; --- > cur.flags = ftc_image_grays; 808c808 < cur.type = ftc_image_mono; --- > cur.flags = ftc_image_mono; 812c812 < cur.type |= ftc_image_flag_autohinted; --- > cur.flags |= ftc_image_flag_autohinted; 814c814 < cur.type |= ftc_image_flag_unhinted; --- > cur.flags |= ftc_image_flag_unhinted; 817c817 < cur.type = ftc_image_grays | ftc_image_flag_unhinted; --- > cur.flags = ftc_image_grays | ftc_image_flag_unhinted; 819c819 < cur.type = ftc_image_grays; --- > cur.flags = ftc_image_grays; 1166c1166 < FTC_ImageDesc cur; --- > FTC_ImageTypeRec cur; 1218c1218 < cur.type = ftc_image_grays; --- > cur.flags = ftc_image_grays; 1223c1223 < cur.type = ftc_image_mono; --- > cur.flags = ftc_image_mono; 1227c1227 < cur.type |= ftc_image_flag_autohinted; --- > cur.flags |= ftc_image_flag_autohinted; 1229c1229 < cur.type |= ftc_image_flag_unhinted; --- > cur.flags |= ftc_image_flag_unhinted; 1232c1232 < cur.type = ftc_image_grays | ftc_image_flag_unhinted; --- > cur.flags = ftc_image_grays | ftc_image_flag_unhinted; 1234c1234 < cur.type = ftc_image_grays; --- > cur.flags = ftc_image_grays; 1524c1524 < FTC_ImageDesc cur; --- > FTC_ImageTypeRec cur; 1537c1537 < cur.type = ftc_image_grays; --- > cur.flags = ftc_image_grays; 1542c1542 < cur.type = ftc_image_mono; --- > cur.flags = ftc_image_mono; 1546c1546 < cur.type |= ftc_image_flag_autohinted; --- > cur.flags |= ftc_image_flag_autohinted; 1548c1548 < cur.type |= ftc_image_flag_unhinted; --- > cur.flags |= ftc_image_flag_unhinted; 1551c1551 < cur.type = ftc_image_grays | ftc_image_flag_unhinted; --- > cur.flags = ftc_image_grays | ftc_image_flag_unhinted; 1553c1553 < cur.type = ftc_image_grays; --- > cur.flags = ftc_image_grays; 1608c1608 < FTC_ImageDesc *cur; --- > FTC_ImageTypeRec cur; 1615,1616c1615,1616 < cur = &imgd; < if ((error=FTC_ImageCache_Lookup(ftc_imagecache, cur, glyph, &g, NULL))) --- > cur = imgd; > if ((error=FTC_ImageCache_Lookup(ftc_imagecache, &cur, glyph, &g, NULL))) 1685c1685 < FTC_ImageDesc *cur; --- > FTC_ImageTypeRec cur; 1696c1696 < cur = &imgd; --- > cur = imgd; 1703c1703 < cur = &fallback; --- > cur = fallback; 1710c1710 < if (FTC_SBitCache_Lookup(ftc_sbitcache, cur, glyph, &sbit, NULL)) --- > if (FTC_SBitCache_Lookup(ftc_sbitcache, &cur, glyph, &sbit, NULL)) 1898c1898 < FTC_ImageDesc cur; --- > FTC_ImageTypeRec cur; 2068c2068 < FTC_ImageDesc cur; --- > FTC_ImageTypeRec cur; 2114c2114 < cur.type = ftc_image_mono; --- > cur.flags = ftc_image_mono; 2116,2117c2116,2117 < cur.type = ftc_image_grays, subpixel = YES, cur.font.pix_width *= 3, x *= 3; < // imgd.type|=|ftc_image_flag_unhinted; /* TODO? when? */ --- > cur.flags = ftc_image_grays, subpixel = YES, cur.font.pix_width *= 3, x *= 3; > // imgd.flags|=|ftc_image_flag_unhinted; /* TODO? when? */ ----== Posted via Newsfeed.Com - Unlimited-Uncensored-Secure Usenet News==---- http://www.newsfeed.com The #1 Newsgroup Service in the World! >100,000 Newsgroups ---= 19 East/West-Coast Specialized Servers - Total Privacy via Encryption =--- _______________________________________________ Help-gnustep mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/help-gnustep
