Emacs won't start, complaining about font ending in a number
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
GNU Emacs |
Fix Released
|
Undecided
|
Unassigned | ||
Ubuntu Font Family |
Invalid
|
Undecided
|
Unassigned | ||
emacs23 (Ubuntu) |
Triaged
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: emacs23
I've installed the "Ubuntu Beta Mono 17" font from https:/
Font `Ubuntu Beta Mono 17 11' is not defined
Now starting emacs with "emacs --font monospace" will get the first frame up, but then C-x 5 2 fails with the same error message in the minibuffer. The font size doesn't matter, since if you use the default 12 point font, the '11' is replaced by '12' in the error message above. Note that you can still use the font if you reset your system font to monospace and then set Ubuntu Beta Mono 17 in your .emacs or via customize on the default face.
After confirmation by colleagues, we think it's a font parsing bug in Emacs. Using a system font of 'courier 10 pitch' does not cause the problem, nor does using a font with a number at the end but with no space between it and the preceding word. It appears as though ending the font name in "[space][number]" causes the problem.
Upstream bug report:
summary: |
- Emacs won't start, complaining about font + Emacs won't start, complaining about font ending in a number |
description: | updated |
Changed in ubuntu-font-family: | |
status: | New → Invalid |
Changed in emacs: | |
status: | New → Fix Committed |
Changed in emacs23 (Ubuntu): | |
status: | New → Triaged |
Changed in emacs: | |
status: | Fix Committed → Fix Released |
tags: | added: uff-emacs uff-metadata uff-monospace uff-stack uff-upstream |
Very interesting catch; ultimately this won't be a problem as the final name will be "Ubuntu Mono" once it has gone through all the way down the phased beta program (~ubuntu- typeface- interest people will be next).