Subject: bug#49937: 28.0.50; feature/pgtk: tetris blocks are comparatively larger

From: Visuwesh <[email-masked]>
Date: Mon, 9 Aug 2021 18:48:00 +0200 (CEST)

9 Aug 2021, 21:42 by [email-masked]:

>>>>>> On Sun, 8 Aug 2021 05:01:29 +0200 (CEST), Visuwesh via "Bug reports for GNU Emacs, the Swiss army knife of text editors" <[email-masked]> said:
>>>>>>
>
> Visuwesh> In tetris, pong and friends, the size of each grid is much larger in
>  Visuwesh> the pgtk branch compared to master (see the attached files).  However,
>  Visuwesh> I'm not sure if this can be considered a bug since the physical size of
>  Visuwesh> each grid, measured using a ruler, is 7 mm in the pgtk branch as one
>  Visuwesh> would expect from the value of `gamegrid-glyph-height-mm'.
>
> Are they using the same font? You can check by putting point on one of
> the blocks and doing 'C-u C-x ='
>
> Robert
> --
>
Are you sure the font size affects the display?  Doing as you suggested, I get
the following.

what-cursor-position: Wrong type argument: arrayp, (image :type xpm :data "/* XPM */
static char *noname[] = {
/* width height ncolors chars_per_pixel */
\"24 24 3 1\",
/* colors */
\"+ s col1\",
\". s col2\",
\"- s col3\",
/* pixels */
\"-----------------------+\",
\"----------------------++\",
\"---------------------+++\",
\"---..................+++\",
\"---..................+++\",
\"---..................+++\",
\"---..................+++\",
\"---..................+++\",
\"---..................+++\",
\"---..................+++\",
\"---..................+++\",
\"---..................+++\",
\"---..................+++\",
\"---..................+++\",
\"---..................+++\",
\"---..................+++\",
\"---..................+++\",
\"---..................+++\",
\"---..................+++\",
\"---..................+++\",
\"---..................+++\",
\"--++++++++++++++++++++++\",
\"-+++++++++++++++++++++++\",
\"++++++++++++++++++++++++\"
};
" :ascent center :color-symbols (("col1" . "#4c4c4c") ("col2" . "#666666") ("col3" . "#7f7f7f")))