unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* Where is the font for IPA phonetic symbol?
@ 2003-04-26  6:34 wang yin
  2003-04-26  9:18 ` Oliver Scholz
  0 siblings, 1 reply; 8+ messages in thread
From: wang yin @ 2003-04-26  6:34 UTC (permalink / raw)


Hi,

When I use a French-English dictionary, emacs can't display some of
the phonetic symbols.

For example:

1 definition found

>From eng-fra[eng-fra]:

example
	[igzɑːmpl] <-- I can't see the two characters after "igz"
	exemple

When Can I find the fonts for them?


-- 
Wang Yin
DA Lab, Tsinghua University,
100084
Beijing China

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

* Re: Where is the font for IPA phonetic symbol?
  2003-04-26  6:34 Where is the font for IPA phonetic symbol? wang yin
@ 2003-04-26  9:18 ` Oliver Scholz
  2003-04-26 13:33   ` Matthias Meulien
  0 siblings, 1 reply; 8+ messages in thread
From: Oliver Scholz @ 2003-04-26  9:18 UTC (permalink / raw)


wang yin <wy@wangyin.com> writes:

> Hi,
>
> When I use a French-English dictionary, emacs can't display some of
> the phonetic symbols.
>
> For example:
>
> 1 definition found
>
> From eng-fra[eng-fra]:
>
> example
> 	[igzɑːmpl] <-- I can't see the two characters after "igz"
> 	exemple
>
> When Can I find the fonts for them?

It depends on your operating system. You need an ISO 10646 font that
contains the IPA repertoire. On GNU/Linux I use misc-fixed and I can
see the IPA characters.

On X11 you can check the available fonts with the “xfontsel”
program. You can check whether a font contains a specific repertoire
by displaying it with “xfd -fn <font-specifier>” and then searching
for the requested code pages. For MS Windows there's an extension
available from Microsoft that gives a more usable “properties” dialog,
when you right-click on a font in the “fonts” folder.

When you have your font, you can use font-sets to use it only for a
specific charset.

    Oliver
-- 
7 Floréal an 211 de la Révolution
Liberté, Egalité, Fraternité!

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

* Re: Where is the font for IPA phonetic symbol?
  2003-04-26  9:18 ` Oliver Scholz
@ 2003-04-26 13:33   ` Matthias Meulien
  2003-04-26 13:47     ` Matthias Meulien
  2003-04-28  7:52     ` wang yin
  0 siblings, 2 replies; 8+ messages in thread
From: Matthias Meulien @ 2003-04-26 13:33 UTC (permalink / raw)


Oliver Scholz <alkibiades@gmx.de> wrote:

> (...) It depends on your operating system. You need an ISO 10646
> font that contains the IPA repertoire. On GNU/Linux I use misc-fixed
> and I can see the IPA characters.

On my system the intlfonts package is installed, Emacs display IPA
characters with the startup fontset (for example, when I ask for a
description of the IPA input method) BUT when I use the French-English
dictionary with this fontset there are box in place of IPA
characters !

The problem disappear when I use the following fontset (from intlfonts):

Emacs.Fontset-0: -etl-*-medium-r-normal-*-14-*-*-*-*-*-fontset-etl(small)

Do you have any explanation ?

For debugging purpose `fontset-startup' is defined by the following X
resources :

Emacs.Fontset-3: -Adobe-Courier-Medium-R-Normal-*-14-*-*-*-*-*-\
fontset-courier(small)

Emacs.Font: fontset-courier(small)

Thanks for your attention
-- 
Matthias

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

* Re: Where is the font for IPA phonetic symbol?
  2003-04-26 13:33   ` Matthias Meulien
@ 2003-04-26 13:47     ` Matthias Meulien
  2003-04-28  7:52     ` wang yin
  1 sibling, 0 replies; 8+ messages in thread
From: Matthias Meulien @ 2003-04-26 13:47 UTC (permalink / raw)


Matthias Meulien <cimosque@free.fr> wrote:

> (...) For debugging purpose `fontset-startup' is defined by the
> following X resources :
> 
> Emacs.Fontset-3: -Adobe-Courier-Medium-R-Normal-*-14-*-*-*-*-*-\
> fontset-courier(small)
> 
> Emacs.Font: fontset-courier(small)

I changed it to:

Emacs.Fontset-3: -Adobe-Courier-Medium-R-Normal-*-14-*-*-*-*-*-\
fontset-courier(small), mule-unicode-0100-24ff:-Misc-Fixed-Medium-R-\
Normal--14-130-75-75-C-70-ISO10646-1

And it works ! Thank you Oliver.
-- 
Matthias

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

* Re: Where is the font for IPA phonetic symbol?
  2003-04-26 13:33   ` Matthias Meulien
  2003-04-26 13:47     ` Matthias Meulien
@ 2003-04-28  7:52     ` wang yin
  2003-04-28  8:20       ` Oliver Scholz
                         ` (2 more replies)
  1 sibling, 3 replies; 8+ messages in thread
From: wang yin @ 2003-04-28  7:52 UTC (permalink / raw)


But, I did what you said. I've intlfonts installed and I can see
-etl-* fonts from xfontsel. I set Emacs.Fontset-0 ... in my
~/.Xdefaults

I can display all international characters in the HELLO file from C-h
h.

But I still can't display IPA characters in [igzɑːmpl], which comes
from dictionary.el.


-- 
Wang Yin
DA Lab, Tsinghua University,
100084
Beijing China

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

* Re: Where is the font for IPA phonetic symbol?
  2003-04-28  7:52     ` wang yin
@ 2003-04-28  8:20       ` Oliver Scholz
  2003-04-28  8:26       ` Kai Großjohann
  2003-04-28  9:04       ` Matthias Meulien
  2 siblings, 0 replies; 8+ messages in thread
From: Oliver Scholz @ 2003-04-28  8:20 UTC (permalink / raw)


[-- Attachment #1: Type: text/plain, Size: 466 bytes --]

wang yin <wy@wangyin.com> writes:

> But, I did what you said. I've intlfonts installed and I can see
> -etl-* fonts from xfontsel. I set Emacs.Fontset-0 ... in my
> ~/.Xdefaults
>
> I can display all international characters in the HELLO file from C-h
> h.
>
> But I still can't display IPA characters in [igzɑːmpl], which comes
> from dictionary.el.
[...]

What do you see, when you type `C-u C-x =' with point on such a
character? Please post the whole output.

[-- Attachment #2: Type: text/plain, Size: 85 bytes --]


    Oliver
-- 
9 Floréal an 211 de la Révolution
Liberté, Egalité, Fraternité!

[-- Attachment #3: Type: text/plain, Size: 151 bytes --]

_______________________________________________
Help-gnu-emacs mailing list
Help-gnu-emacs@gnu.org
http://mail.gnu.org/mailman/listinfo/help-gnu-emacs

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

* Re: Where is the font for IPA phonetic symbol?
  2003-04-28  7:52     ` wang yin
  2003-04-28  8:20       ` Oliver Scholz
@ 2003-04-28  8:26       ` Kai Großjohann
  2003-04-28  9:04       ` Matthias Meulien
  2 siblings, 0 replies; 8+ messages in thread
From: Kai Großjohann @ 2003-04-28  8:26 UTC (permalink / raw)


wang yin <wy@wangyin.com> writes:

> But, I did what you said. I've intlfonts installed and I can see
> -etl-* fonts from xfontsel. I set Emacs.Fontset-0 ... in my
> ~/.Xdefaults

It seems you also need unifont.

-- 
file-error; Data: (Opening input file no such file or directory ~/.signature)

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

* Re: Where is the font for IPA phonetic symbol?
  2003-04-28  7:52     ` wang yin
  2003-04-28  8:20       ` Oliver Scholz
  2003-04-28  8:26       ` Kai Großjohann
@ 2003-04-28  9:04       ` Matthias Meulien
  2 siblings, 0 replies; 8+ messages in thread
From: Matthias Meulien @ 2003-04-28  9:04 UTC (permalink / raw)


wang yin <wy@wangyin.com> wrote:

> (...) But I still can't display IPA characters in [igzɑːmpl], which
> comes from dictionary.el.

First, you should read Emacs documentation on fontsets.

Then find which fontset you are using. Make sure you have tried one
based on the fonts coming from the intlfonts package (`M-x
describe-fontset RET' should help) ? Use `C-uC-x=' to find the charset
your font lacks in a dictionary buffer (it was mule-unicode-0100-24ff
for me).

You can use the font/fontsets menu (bind on shift-mouse-1) to try
other fontsets (those defined after the intlfonts package installation
should work; look in emacs X resources to find their names).

Fix the Emacs.Font X resource when you have find the right fontset
(another solution is to use the -fn startup option). If you don't like
it, you can define your own fontset (see documentation) with the right
font for IPA characters. Something like the following (Adobe's Courier
with 14 dots for all charsets, except mule-unicode-0100-24ff that will
use -Mixed-Fixed-bla-bla):

        Emacs.Font: -Adobe-Courier-Medium-R-Normal-*-14-*-*-*-*-*-*-,\ 
        mule-unicode-0100-24ff:-Misc-Fixed-Medium-R-Normal--14-130-75\
        -75-C-70-ISO10646-1

I hope it will help...
-- 
Matthias

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

end of thread, other threads:[~2003-04-28  9:04 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-04-26  6:34 Where is the font for IPA phonetic symbol? wang yin
2003-04-26  9:18 ` Oliver Scholz
2003-04-26 13:33   ` Matthias Meulien
2003-04-26 13:47     ` Matthias Meulien
2003-04-28  7:52     ` wang yin
2003-04-28  8:20       ` Oliver Scholz
2003-04-28  8:26       ` Kai Großjohann
2003-04-28  9:04       ` Matthias Meulien

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).