[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#107769: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=107769



On Sun, Oct 26, 2003 at 07:06:59PM -0500, Thomas Dickey wrote:
>>                       Debian Bug report logs - #107769
>>                 xterm: bold font selection and redraw problem
>
>revisiting this - perhaps there is a problem, but the report doesn't
>show it.  (I suggest it be cancelled).
>
>>The following font aliases exist in the xfonts-base package:
>>
>>  8x13     -misc-fixed-medium-r-normal--13-120-75-75-c-80-iso8859-1
>>  7x14bold -misc-fixed-bold-r-normal--14-130-75-75-c-70-iso8859-1
>>  8x13bold -misc-fixed-bold-r-normal--13-120-75-75-c-80-iso8859-1
>>
>>When using the 8x13 font, the bold font selection is done with the
>>following pattern (I compiled xterm with --enable-trace):
>>
>>  -misc-fixed-medium-r-normal--13-120-75-75-c-*-iso8859-1
>>
>>which matches 7x14bold.  This looks fairly awful, and has some issues
>>with redraws.
>
>no, it matches 8x13bold.  Here's what fonts.alias shows:
>
>7x14         -misc-fixed-medium-r-normal--14-130-75-75-c-70-iso8859-1
>7x14bold     -misc-fixed-bold-r-normal--14-130-75-75-c-70-iso8859-1
>8x13         -misc-fixed-medium-r-normal--13-120-75-75-c-80-iso8859-1
>8x13bold     -misc-fixed-bold-r-normal--13-120-75-75-c-80-iso8859-1

Sorry Tom, the original report was perhaps unclear--ignore the
7x*14*bold fonts, the problem is matching 7x*13*bold.

Here's what matches the pattern generated by bold_font_name() on my
system when 8x13 is given:

  $ xlsfonts -fn '-misc-fixed-bold-r-normal--13-120-75-75-c-*-iso8859-1'
  -misc-fixed-bold-r-normal--13-120-75-75-c-0-iso8859-1
  -misc-fixed-bold-r-normal--13-120-75-75-c-0-iso8859-1
  -misc-fixed-bold-r-normal--13-120-75-75-c-70-iso8859-1
  -misc-fixed-bold-r-normal--13-120-75-75-c-80-iso8859-1

I'm not sure what the first two matches are (derived scalable fonts?)
although the two following entries match 7x13bold (average width 70) and
8x13bold (80).

The effect is as described, specifying only "-fn 8x13" is equivalent to
"-fn 8x13 -fb 7x13bold".

Some small screen captures attached, the first showing the initial
reversed bold font, the second after an expose event.

--bod

Attachment: xterm.1
Description: Binary data

Attachment: xterm.2
Description: Binary data


Reply to: