Re: [dev] Potential bug in st fallback font code

From: Eric Pruitt <eric.pruitt_AT_gmail.com>
Date: Mon, 9 Mar 2015 22:01:13 -0700

On Mon, Mar 09, 2015 at 08:05:41PM -0700, Eric Pruitt wrote:
> I think your patch is buggy as I have noticed two strange behaviours. I
> recompiled st, launched my music player, and I had some Japanese
> characters that have normally rendered fine for me render as rectangles.

I just noticed something -- in the second screenshot, some Unicode
characters fail to render in the new st build that render correctly in
the old st build, and I'm sure it's related to the squares randomly
appearing in my music player. Here's the string encoded with xxd:

    0000000: 6173 6461 7364 2061 7364 20e4 baac e78e asdasd asd .....
    0000010: 8b36 3030 30e7 b3bb e99b bbe8 bb8a 2061 .6000......... a
    0000020: 6461 7364 2061 7364 2061 7364 20e4 baac dasd asd asd ...
    0000030: e78e 8b36 3030 30e7 b3bb e99b bbe8 bb8a ...6000.........
    0000040: 2073 6461 6420 e4ba ace7 8e8b 3630 3030 sdad ......6000
    0000050: e7b3 bbe9 9bbb e8bb 8a20 d580 d5a1 d5b5 ......... ......
    0000060: d5a5 d680 d5a5 d5b6 20e0 a4b9 e0a4 bfe0 ........ .......
    0000070: a4a8 e0a5 e0a4 a6e0 a580 20e2 80a2 20e1 .......... ... .
    0000080: 9e81 e19f 92e1 9e98 e19f 82e1 9e9a 2061 .............. a
    0000090: 7364 6173 640a sdasd.

This string is what I used when I used for testing and debugging when
implementing fallback fonts support in dwm, and provided you have
comparable set of fonts installed, it may help you debug the problems
introduced with your latest changes.

Eric
Received on Tue Mar 10 2015 - 06:01:13 CET

This archive was generated by hypermail 2.3.0 : Tue Mar 10 2015 - 06:12:07 CET