diff options
| author | Geoff Voelker | 1998-05-02 02:06:41 +0000 |
|---|---|---|
| committer | Geoff Voelker | 1998-05-02 02:06:41 +0000 |
| commit | 779a69a822aa3c30df037eeb5c535ce24c78267b (patch) | |
| tree | 8b1b9ef7de6731ad77979a8d1af7119c759b043d /src | |
| parent | e1bd3c8dfcc8a2b8b5da7e4561d661fd2a70558d (diff) | |
| download | emacs-779a69a822aa3c30df037eeb5c535ce24c78267b.tar.gz emacs-779a69a822aa3c30df037eeb5c535ce24c78267b.zip | |
(enum_font_cb2): Only ignore raster fonts when
determining height and width.
Diffstat (limited to 'src')
| -rw-r--r-- | src/w32fns.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/w32fns.c b/src/w32fns.c index bf536f7203d..20833978926 100644 --- a/src/w32fns.c +++ b/src/w32fns.c | |||
| @@ -4808,7 +4808,7 @@ enum_font_cb2 (lplf, lptm, FontType, lpef) | |||
| 4808 | { | 4808 | { |
| 4809 | char buf[100]; | 4809 | char buf[100]; |
| 4810 | 4810 | ||
| 4811 | if (!NILP (*(lpef->pattern)) && FontType == TRUETYPE_FONTTYPE) | 4811 | if (!NILP (*(lpef->pattern)) && FontType != RASTER_FONTTYPE) |
| 4812 | { | 4812 | { |
| 4813 | lplf->elfLogFont.lfHeight = lpef->logfont.lfHeight; | 4813 | lplf->elfLogFont.lfHeight = lpef->logfont.lfHeight; |
| 4814 | lplf->elfLogFont.lfWidth = lpef->logfont.lfWidth; | 4814 | lplf->elfLogFont.lfWidth = lpef->logfont.lfWidth; |