Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

font sizes wonky on Windows #2

Open
rolandwalker opened this issue Oct 17, 2012 · 5 comments
Open

font sizes wonky on Windows #2

rolandwalker opened this issue Oct 17, 2012 · 5 comments
Assignees

Comments

@rolandwalker
Copy link
Owner

Box-drawing characters are assigned here to DejaVu Sans Mono. The character widths are not consistent with other platforms. This is a problem if you actually want to draw a box.

@rneatherway
Copy link

I also find that the set braces and mathematical script letters from Cambria cause approximately two lines of whitespace above and below the current line. The braces are also about twice as tall as expected.

Example problem chars:
LEFT CURLY BRACKET MIDDLE PIECE
MATHEMATICAL BOLD SCRIPT CAPITAL V

@rolandwalker rolandwalker self-assigned this Mar 20, 2014
@rolandwalker
Copy link
Owner Author

I'll have to fire up a Windows VM to check on that, Cambria is looking good for me on OS X.

What font should be preferred for those characters?

@rneatherway
Copy link

Thanks for the reply. I am using Emacs 24.3.1 on Windows 7. I settled on Symbola in the end, which is quite pleasant, although Cambria was perhaps a bit clearer if it wasn't for the whitespace issue.

I am using the below for the moment. I think that this means for unicode to use Consolas, then fallback to DejaVu, and then Symbola where glyphs are missing.

(set-face-attribute 'default nil :font "DejaVu Sans Mono-12.0")
(set-fontset-font "fontset-default" 'unicode "Consolas" nil)
(set-fontset-font "fontset-default" 'unicode "DejaVu Sans Mono" nil 'append)
(set-fontset-font "fontset-default" 'unicode "Symbola" nil 'append)

@rolandwalker
Copy link
Owner Author

It turns out I have visited this issue before, though I mistakenly thought it was resolved after Vista.

You can suppress Cambria Math via customize: enter M-x unicode-fonts-tweaks, choose "Unicode Fonts Skip Font Groups", and unselect select item "Buggy Display Before Vista". I think I will change the settings so that skipping is off on by default on all Windows versions.

The Code2001 font is also quite good for the Mathematical Alphabetic Symbols block.

@rneatherway
Copy link

OK great, thanks for the update.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants