unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* Windows: changing (bitmap) font causes set-face-attribute error
@ 2010-11-16 10:44 Elena
  2010-11-18 13:09 ` Elena
  0 siblings, 1 reply; 5+ messages in thread
From: Elena @ 2010-11-16 10:44 UTC (permalink / raw)
  To: help-gnu-emacs

Hello,

I'd like to use Terminus font on my GNU Emacs.  It is a bitmap font,
and works in other Windows applications.  However, whenever I try to
set it by means of font selection dialog, I get this error:

set-face-attribute: Font not available: #<font-spec nil nil ter-112n
nil nil nil nil nil 9.0 nil nil nil ((:name . "ter-112n-9") (user-
spec . "ter-112n-9"))>

Maybe I should fix the font itself?

Any help?  Thanks.


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Windows: changing (bitmap) font causes set-face-attribute error
  2010-11-16 10:44 Windows: changing (bitmap) font causes set-face-attribute error Elena
@ 2010-11-18 13:09 ` Elena
  2010-11-18 20:40   ` Haines Brown
  0 siblings, 1 reply; 5+ messages in thread
From: Elena @ 2010-11-18 13:09 UTC (permalink / raw)
  To: help-gnu-emacs

Running the font through FontForge (on Linux) fixed the issue.


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Windows: changing (bitmap) font causes set-face-attribute error
  2010-11-18 13:09 ` Elena
@ 2010-11-18 20:40   ` Haines Brown
       [not found]     ` <af6946b7-ab6d-493e-90e9-ee544cf02883@k13g2000vbq.googlegroups.com>
  0 siblings, 1 reply; 5+ messages in thread
From: Haines Brown @ 2010-11-18 20:40 UTC (permalink / raw)
  To: help-gnu-emacs

Elena <egarrulo@gmail.com> writes:

> Running the font through FontForge (on Linux) fixed the issue.

Elena, thanks, but I'm too ignorant to understand your suggestion.

First, what font? Are there certain fonts which emacs uses to display a
pdf file? How would I know what they are? Is emacs for some reason
converting TrueType fonts to bitmaps without anti-aliasing?

If this a single font like Times New Roman, or is a collection of fonts,
like all TrueType fonts?

Fontforge serves to convert font formats. What format do I need to
convert from and to?

If these were not questions enough, I'd still like to know what is going
on. your answer implies that my problem with PDF fonts is a known issue,
or at leat it is known to you. What is the cause of the problem? Is it
associated with the migration from emacs 22 to 23? Why does the initial
page of a PDF look fine, but the remaining pages are almost illegible?
Is my problem that the font used is not anti-aliased? If not, why isn't
it?

Haines Brown


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Windows: changing (bitmap) font causes set-face-attribute error
       [not found]     ` <af6946b7-ab6d-493e-90e9-ee544cf02883@k13g2000vbq.googlegroups.com>
@ 2010-11-19 12:17       ` Haines Brown
  2011-04-03 15:00       ` Dave Benjamin
  1 sibling, 0 replies; 5+ messages in thread
From: Haines Brown @ 2010-11-19 12:17 UTC (permalink / raw)
  To: help-gnu-emacs

Elena,

Thank you for the expansion of your comment. You are addressing a
Windows world, but your experience is at least helpful in raising my
question in a different forum.

Haines Brown


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Windows: changing (bitmap) font causes set-face-attribute error
       [not found]     ` <af6946b7-ab6d-493e-90e9-ee544cf02883@k13g2000vbq.googlegroups.com>
  2010-11-19 12:17       ` Haines Brown
@ 2011-04-03 15:00       ` Dave Benjamin
  1 sibling, 0 replies; 5+ messages in thread
From: Dave Benjamin @ 2011-04-03 15:00 UTC (permalink / raw)
  To: help-gnu-emacs

Thanks, Elena! This solved the exact problem I have been having, and I never would have guessed to try it otherwise. :)

Dave


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2011-04-03 15:00 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-11-16 10:44 Windows: changing (bitmap) font causes set-face-attribute error Elena
2010-11-18 13:09 ` Elena
2010-11-18 20:40   ` Haines Brown
     [not found]     ` <af6946b7-ab6d-493e-90e9-ee544cf02883@k13g2000vbq.googlegroups.com>
2010-11-19 12:17       ` Haines Brown
2011-04-03 15:00       ` Dave Benjamin

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).