doomemacs / doomemacs/core

Unicode characters truncated in Windows

Open
#6,357 2 comments 2 reactions 0 assignees View on GitHub
needs-triage
Dominant language
Emacs Lisp
Stars
22.7k
Forks
3.1k
Avg merge
10h 46m
Merged PRs (30d)
4

Description

### What did you expect to happen?

When I insert greek letters via `SPC i u` I want them to display correctly.

### What actually happened?

Only the left half of each greek letter is displayed. The cursor size changes to half the width when selecting greek letters.

### Describe your attempts to resolve the issue
- Tested on 2 different Windows machines: same problem
- Tested on Linux: no problem
- checked font used for unicode by placing the cursor on a greek letter character and applying `M-x describe-char`:
```
...
gdi:-outline-Weather Icons-regular-normal-normal-*-17-*-*-*-p-*-iso8859-1 (#x3C3)
...
```
- installed the fonts DejaVu Sans, Quivira and Symbola (cf [here](https://www.emacswiki.org/emacs/UnicodeFonts))
- edited config.el and added (any of these configurations solves the problem)
```
;; (setq doom-unicode-font (font-spec :family "symbola" :size 20))
;; (setq doom-unicode-font (font-spec :family "DejaVu Sans" :size 15))
(setq doom-unicode-font (font-spec :family "quivira" :size 20))
```
- it seems that the font chosen as default (Weather Icons) doesn't work well in Windows.

### Steps to reproduce

1. Open Emacs in Windows
2. M-x view-hello-file
3. Scroll down to "Greek"
4. inspect the greek letters
![greek letters](https://user-images.githubusercontent.com/30430574/166638947-530fefd5-3ccb-487b-ba9a-fd3a98272ee9.jpg)

### System Information

https://pastebin.com/VwJxpXu6

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.