Mercurial > vim
annotate pixmaps/tb_find.xpm @ 16582:9a7d98e11954 v8.1.1294
patch 8.1.1294: MS-Windows: Some fonts return wrong average char width
commit https://github.com/vim/vim/commit/93d77b2cbec08518ee426d0c44c50cf505732443
Author: Bram Moolenaar <Bram@vim.org>
Date: Tue May 7 22:52:50 2019 +0200
patch 8.1.1294: MS-Windows: Some fonts return wrong average char width
Problem: MS-Windows: Some fonts return wrong average char width.
Solution: Compute the average ourselves. (Ken Takata, closes https://github.com/vim/vim/issues/4356)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Tue, 07 May 2019 23:00:06 +0200 |
parents | 3fc0f57ecb91 |
children |
rev | line source |
---|---|
7 | 1 /* XPM */ |
2 static char * tb_find_xpm[] = { | |
3 /* width height ncolors cpp [x_hot y_hot] */ | |
4 "18 18 5 1 0 0", | |
5 /* colors */ | |
6 " s none m none c none", | |
7 ". s iconColor1 m black c #000000", | |
8 "X s iconColor2 m none c #FFFFFF", | |
9 "O s iconGray2 m none c #bdbdbd", | |
10 "+ s bottomShadowColor m black c #5D6069", | |
11 /* pixels */ | |
12 " ", | |
13 " ......... ", | |
14 " .XXXXXXX.. ", | |
15 " .XXXXXXX.O. ", | |
16 " .XXXXXXX.... ", | |
17 " .XXXXXXXXXX. ", | |
18 " .XXXXXXX.... ", | |
19 " .XXXXXX.OOOO. ", | |
20 " .XXXXX.OXXOOO. ", | |
21 " .XXXXX.OXOOOO. ", | |
22 " .XXXXX.OOOOOO. ", | |
23 " .XXXXX.OOOXOO. ", | |
24 " .XXXXXX.OOOO.+ ", | |
25 " .XXXXXXX....+.. ", | |
26 " .XXXXXXXXXX.+... ", | |
27 " ............+ .. ", | |
28 " ++++++++++ ", | |
29 " "}; |