On Mon, Nov 04, 2002 at 02:42:44PM +0100, Olivier Chapuis wrote: > On Fri, Nov 01, 2002 at 09:20:17PM -0600, [EMAIL PROTECTED] wrote: > > FVWM Bug Tracking notification > > > > new message incoming/950 > > > > Message summary for PR#950 > > From: [EMAIL PROTECTED] > > Subject: xft font and TitleAtLeft or Right > > Date: Fri, 01 Nov 2002 21:20:16 -0600 > > 0 replies 0 followups > > > > > start fvwm with no fvwm2rc file. > > > > 1) open FvwmConsole > > 2) Style FvwmConsole TitleAtLeft > > or Style FvwmConsole TitleAtRight > > 3) Style FvwmConsole font xft:arial > > (or any other font) > > > > after this the titlebar font is not displayed properly. Only the lower half > > of the font is visible, and it sorta looks backwards. > > > > Can you send me your /etc/fonts/fonts.conf file and a screenshot of a > titlebar. Note that I can reproduce problems with pcf font displayed > with xft (no title at all with vertical titlebar). But I've no problem > with ttf or Type1 fonts. > > Olivier > --
hello, I was messing around with Fft.c and I kind of fixed my problem. I'm sure this isn't the proper fix, because the text is still upside down (style * TitleAtRight, RightTitleRotatedCCW is doing what RightTitleRotatedCW is supposed to do.) and the text is still not aligned properly by one or two pixels when there is no shadow defined... --- Fft.c 2002-11-05 02:40:44.000000000 -0700 +++ Fft.c.test 2002-11-05 02:40:04.000000000 -0700 @@ -344,8 +344,8 @@ fws->flags.text_rotation); } uf = fftf->fftfont_rotated_90; - y = fws->y; - x = fws->x - FLF_SHADOW_BOTTOM_SIZE(flf); + y = fws->y + FftTextWidth(flf, fws->e_str, len); + x = (fws->x * 2) - FLF_SHADOW_BOTTOM_SIZE(flf); } else if (fws->flags.text_rotation == ROTATION_180) { @@ -368,8 +368,8 @@ fws->flags.text_rotation); } uf = fftf->fftfont_rotated_270; - y = fws->y + FftTextWidth(flf, fws->e_str, len); - x = fws->x - FLF_SHADOW_UPPER_SIZE(flf); + y = fws->y; + x = (fws->x / 2) - FLF_SHADOW_UPPER_SIZE(flf); } else { If I figure out whats going on here, I'll let you know. hth, sa -- Visit the official FVWM web page at <URL:http://www.fvwm.org/>. To unsubscribe from the list, send "unsubscribe fvwm-workers" in the body of a message to [EMAIL PROTECTED] To report problems, send mail to [EMAIL PROTECTED]