all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Installing Korean (etc) fonts
@ 2010-02-19 15:24 Scott
  0 siblings, 0 replies; 7+ messages in thread
From: Scott @ 2010-02-19 15:24 UTC (permalink / raw)
  To: help-gnu-emacs

Hi,

Hope this isn't too stupid a question.

I am using emacs 22.3.1 under mandriva 2009.0. In an earlier
incarnation, I was able to input and view Korean hangul chars. Now all
I see are boxes.

The info says to install GNUintlfonts. So I downloaded that as a
tarball. Somewhere else it said to do:

  xset fp+ /usr/local/share/emacs/fonts
  xset fp rehash

So I created that directory, which did not exist, moved the Korean
fonts from the unpacked tar to there (as a subdir). 

Then I tried the xset, but there is no such command on this distro.

Tried 'drakconf'; the only font manipulation tool I found there did
not seem to be able to find any fonts to install.

I'm growing more and more to detest mandrivel, but I hope that someone
can help me to figure out this situation. 

TIA,
Scott Swanson




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

* Re: Installing Korean (etc) fonts
       [not found] <mailman.1500.1266593010.14305.help-gnu-emacs@gnu.org>
@ 2010-02-19 15:32 ` Jason Rumney
  2010-02-20 15:29   ` Scott
  0 siblings, 1 reply; 7+ messages in thread
From: Jason Rumney @ 2010-02-19 15:32 UTC (permalink / raw)
  To: help-gnu-emacs

On Feb 19, 11:24 pm, Scott <harv...@montana.com> wrote:

> The info says to install GNUintlfonts. So I downloaded that as a
> tarball. Somewhere else it said to do:
>
>   xset fp+ /usr/local/share/emacs/fonts
>   xset fp rehash

That advice is quite old, and both Emacs and X have moved on since
then. Installing Emacs 23 with xft/fontconfig support then installing
Korean fonts using your distribution's package manager is probably an
easier option than continuing to try to get Emacs 22 working.


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

* Re: Installing Korean (etc) fonts
  2010-02-19 15:32 ` Installing Korean (etc) fonts Jason Rumney
@ 2010-02-20 15:29   ` Scott
  2010-02-20 17:50     ` Scott
  2010-02-20 19:43     ` Peter Dyballa
  0 siblings, 2 replies; 7+ messages in thread
From: Scott @ 2010-02-20 15:29 UTC (permalink / raw)
  To: help-gnu-emacs

On Fri, Feb 19, 2010 at 07:32:53AM -0800, Jason Rumney wrote:
> On Feb 19, 11:24 pm, Scott <harv...@montana.com> wrote:
> 
> > The info says to install GNUintlfonts. So I downloaded that as a
> > tarball. Somewhere else it said to do:
> >
> >   xset fp+ /usr/local/share/emacs/fonts
> >   xset fp rehash
> 
> That advice is quite old, and both Emacs and X have moved on since
> then. Installing Emacs 23 with xft/fontconfig support then installing
> Korean fonts using your distribution's package manager is probably an
> easier option than continuing to try to get Emacs 22 working.

Well thanks, but I don't think the advice is that old. Viz:

From the INSTALL file of emacs 23.1:

: * intlfonts-VERSION.tar.gz

: The intlfonts distribution contains X11 fonts in various encodings
: that Emacs can use to display international characters.  If you see a
: non-ASCII character appear as a hollow box, that means you don't have
: a font for it.  You might find one in the intlfonts distribution.  If
: you do have a font for a non-ASCII character, but some characters
: don't look right, or appear improperly aligned, a font from the
: intlfonts distribution might look better.

: The fonts in the intlfonts distribution are also used by the ps-print
: package for printing international characters.  The file
: lisp/ps-mule.el defines the *.bdf font files required for printing
: each character set.

: The intlfonts distribution contains its own installation instructions,
: in the intlfonts/README file.

From the README file of intlfonts-1.2.1:

: 1.2  Inform your X server about the new fonts

: The step 1.1 converts fonts to a format that X server can read (PCF
: format) and put them in proper directory.  But, you still have to
: inform your X server about the new fonts.

: If $INSTDIR is already in your font path (please check it by the
: command `xset q'), you can tell X server to update font hash table by:
: 	$ xset fp rehash

: If $INSTDIR is not yet in your font path, you can tell one X session
: to use the installed fonts with:
: 	% xset +fp $INSTDIR
: On some systems, you may have to give absolute pathname to the command
: `xset'.


Again, my system has no 'xset' command! I guess I will try compiling
the 23.1, but I have already installed all of the korean fonts
available through my package manager, and so I don't know why it would
suddenly start working with a slightly updated emacs. 

Scott Swanson





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

* Re: Installing Korean (etc) fonts
  2010-02-20 15:29   ` Scott
@ 2010-02-20 17:50     ` Scott
  2010-02-20 19:04       ` Peter Dyballa
  2010-02-20 19:43     ` Peter Dyballa
  1 sibling, 1 reply; 7+ messages in thread
From: Scott @ 2010-02-20 17:50 UTC (permalink / raw)
  To: help-gnu-emacs

On Sat, Feb 20, 2010 at 08:29:28AM -0700, Scott wrote:
> 
> Again, my system has no 'xset' command! I guess I will try compiling
> the 23.1, but I have already installed all of the korean fonts
> available through my package manager, and so I don't know why it would
> suddenly start working with a slightly updated emacs. 

Well, I stand corrected. I did manage to compile the 23.1, and it does
show korean and a few other languages on the 'hello' screen. However,
any text which I attempt to edit shows up with spurious spaces between
each c h a r a c t e r ,  w h i c h  i s  q u i t e  a n n o y i n g , and
so I have reverted to 22.

Anyone know a fix for this?

Scott.




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

* Re: Installing Korean (etc) fonts
  2010-02-20 17:50     ` Scott
@ 2010-02-20 19:04       ` Peter Dyballa
  2010-02-20 20:59         ` Scott
  0 siblings, 1 reply; 7+ messages in thread
From: Peter Dyballa @ 2010-02-20 19:04 UTC (permalink / raw)
  To: Scott; +Cc: help-gnu-emacs


Am 20.02.2010 um 18:50 schrieb Scott:

> Anyone know a fix for this?


Check the font used for this! (By positioning the cursor on some of  
these characters and type C-u C-x =, which will open a *Help* buffer  
with some information.)

--
Greetings

   Pete

Upgraded, adj.:
	Didn't work the first time.





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

* Re: Installing Korean (etc) fonts
  2010-02-20 15:29   ` Scott
  2010-02-20 17:50     ` Scott
@ 2010-02-20 19:43     ` Peter Dyballa
  1 sibling, 0 replies; 7+ messages in thread
From: Peter Dyballa @ 2010-02-20 19:43 UTC (permalink / raw)
  To: Scott; +Cc: help-gnu-emacs


Am 20.02.2010 um 16:29 schrieb Scott:

> From the INSTALL file of emacs 23.1:
>
> : * intlfonts-VERSION.tar.gz

This has historic reasons. Actually the fonts were built for GNU Emacs  
20. They come in as BDF files, with use only for X clients. Since they  
are pixel fonts they cannot be anti-aliased. And you can't use them  
for printing, except, maybe, for a (graphical) screen-dump.

Unicode encoded TrueType and OpenType fonts are the way, made  
available via (lib)fontconfig (fc-cache, fc-list, fc-match).

--
Greetings

   Pete

Hard Disk, n.:
	A device that allows users to delete vast quantities of data with  
simple mnemonic commands.





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

* Re: Installing Korean (etc) fonts
  2010-02-20 19:04       ` Peter Dyballa
@ 2010-02-20 20:59         ` Scott
  0 siblings, 0 replies; 7+ messages in thread
From: Scott @ 2010-02-20 20:59 UTC (permalink / raw)
  To: Peter Dyballa

On Sat, Feb 20, 2010 at 08:04:15PM +0100, Peter Dyballa wrote:
>
> Am 20.02.2010 um 18:50 schrieb Scott:
>
>> Anyone know a fix for this?
>
>
> Check the font used for this! (By positioning the cursor on some of  
> these characters and type C-u C-x =, which will open a *Help* buffer  
> with some information.)
>

Okay, this is part of what I get (the *Help* buffer, minibuffer,
*everything* is the same problem; but apparently saves fine...):

:  coding system utf-8-unix)
:           display:
: 		   by this font (glyph code)
:     xft:-Misc-Fixed-normal-normal-normal-ja-13-*-*-*-c-120-iso10646-1 (#x48)

: Character code properties: customize what to show
:   name: LATIN SMALL LETTER E
:   general-category: Ll (Letter, Lowercase)

Here is what I get on one of the above chars in emacs 22:

:   file code: #x6D (encoded by coding system undecided-unix)
:     display: by this font (glyph code)
:      -Misc-Fixed-Medium-R-SemiCondensed--13-120-75-75-C-60-ISO8859-1 (#x6D)

: There are text properties here:
:   fontified            t


I don't understand all I know about fonts, and would appreciate any
guidance here! Thanks!

Scott.




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

end of thread, other threads:[~2010-02-20 20:59 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <mailman.1500.1266593010.14305.help-gnu-emacs@gnu.org>
2010-02-19 15:32 ` Installing Korean (etc) fonts Jason Rumney
2010-02-20 15:29   ` Scott
2010-02-20 17:50     ` Scott
2010-02-20 19:04       ` Peter Dyballa
2010-02-20 20:59         ` Scott
2010-02-20 19:43     ` Peter Dyballa
2010-02-19 15:24 Scott

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.