[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#56808: 29.0.50; Elusive display problem on macOS
From: |
Gerd Möllmann |
Subject: |
bug#56808: 29.0.50; Elusive display problem on macOS |
Date: |
Fri, 29 Jul 2022 16:32:03 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (darwin) |
YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> writes:
> On Fri, 29 Jul 2022 21:32:49 +0900,
> Gerd Möllmann wrote:
>>
>> Mabe I should initialize font->space_width to -3. With -2, it always
>> fails. ;-).
>
> Does initializing font->space_width to 0 work for you?
Yes it works. Thanks!
Can we be sure that other uses of space_width don't run into problems?
For instance:
case MACFONT_SPACING_MONO:
if (cache->width_frac)
bounds.origin.x += - ((cache->width_frac
/ (CGFloat) (WIDTH_FRAC_SCALE * 2))
* (cache->width_int / font->space_width));
break;
That would be an integer division by 0. And it's a bit strange because
of the integer division in a float expression...
I know you didn't change that. I'm just trying to get the maximum out
of having an expert on the line ;-).
- bug#56808: 29.0.50; Elusive display problem on macOS, (continued)
- bug#56808: 29.0.50; Elusive display problem on macOS, Gerd Möllmann, 2022/07/28
- bug#56808: 29.0.50; Elusive display problem on macOS, Gerd Möllmann, 2022/07/28
- bug#56808: 29.0.50; Elusive display problem on macOS, Gerd Möllmann, 2022/07/28
- bug#56808: 29.0.50; Elusive display problem on macOS, Gerd Möllmann, 2022/07/28
- bug#56808: 29.0.50; Elusive display problem on macOS, Eli Zaretskii, 2022/07/28
- bug#56808: 29.0.50; Elusive display problem on macOS, Gerd Möllmann, 2022/07/28
- bug#56808: 29.0.50; Elusive display problem on macOS, Eli Zaretskii, 2022/07/28
- bug#56808: 29.0.50; Elusive display problem on macOS, Gerd Möllmann, 2022/07/28
- bug#56808: 29.0.50; Elusive display problem on macOS, Gerd Möllmann, 2022/07/29
- bug#56808: 29.0.50; Elusive display problem on macOS, YAMAMOTO Mitsuharu, 2022/07/29
- bug#56808: 29.0.50; Elusive display problem on macOS,
Gerd Möllmann <=
- bug#56808: 29.0.50; Elusive display problem on macOS, YAMAMOTO Mitsuharu, 2022/07/30
- bug#56808: 29.0.50; Elusive display problem on macOS, Gerd Möllmann, 2022/07/30
- bug#56808: 29.0.50; Elusive display problem on macOS, Eli Zaretskii, 2022/07/30
- bug#56808: 29.0.50; Elusive display problem on macOS, YAMAMOTO Mitsuharu, 2022/07/30
bug#56808: 29.0.50; Elusive display problem on macOS, Alexander Adolf, 2022/07/29